Open muya opened 3 years ago
Update: Noticed that the resource_record
value becomes available in the response if the query is ran a few seconds later (possible because AWS takes some time to create the DNS record required for validation?)
We may only need to update the documentation for this module to:
resource_record
field may not be available immediately after creating a certificateHi @muya,
Would you like to push a PR to improve the documentation as you suggested? Otherwise can we close the issue?
Hi @muya,
Would you like to push a PR to improve the documentation as you suggested? Otherwise can we close the issue?
@goneri I'm definitely up for doing this when I get some time ✅
SUMMARY
When requesting for a certificate using the acm AWS module, there's an option to use either email validation or DNS validation.
When the DNS option is chosen, the
describe certificate
response is expected to have aResourceRecord
field, which has details of what to configure to allow domain validation (see "ResourceRecord" in the official AWS documentation).However, this field is not available in the response from the
community.aws.aws_acm_info
module.ISSUE TYPE
COMPONENT NAME
community.aws.aws_acm_info
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
aws
CLI.community.aws.aws_acm_info
module, and output itEXPECTED RESULTS
Resource Record
field (similar to what's there for theaws describe-certificate
command. (Seeaws describe-certificate
response in screenshot below):ACTUAL RESULTS