Skip to content

Commit

Permalink
Fixing parameter name in example. (#1092)
Browse files Browse the repository at this point in the history
Fixing parameter name in example.

SUMMARY
Fixing parameter used in example.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
aws_acm
ADDITIONAL INFORMATION
Using the example as is gives in an error -
fatal: [localhost]: FAILED! => changed=false 
  msg: 'state is present but all of the following are missing: private_key'

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Mark Chappell <None>
  • Loading branch information
psharkey authored Apr 26, 2022
1 parent 6aab321 commit 2ea42db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/aws_acm.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
- name: create/update a certificate with a chain
community.aws.aws_acm:
certificate: "{{ lookup('file', 'cert.pem' ) }}"
privateKey: "{{ lookup('file', 'key.pem' ) }}"
private_key: "{{ lookup('file', 'key.pem' ) }}"
name_tag: my_cert
certificate_chain: "{{ lookup('file', 'chain.pem' ) }}"
state: present
Expand Down

0 comments on commit 2ea42db

Please sign in to comment.