-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACM Certificates have validation method set to NONE #12075
Comments
Reference: #3855 Reference: #6082 Reference: #8755 Reference: #12075 Reference: #13053 Notable changes: ``` ENHANCEMENTS: * resource/aws_acm_certificate: Add `status` attribute BUG FIXES: * resource/aws_acm_certificate: Detect `AMAZON_ISSUED` type `validation_method` value directly from API response instead of custom logic * resource/aws_acm_certificate: Increase deletion retries from 10 minutes to 20 minutes (better support API Gateway Custom Domain deletion) ``` Other changes: - Documents `subject_alternative_names` argument removal procedures - Improves potentially confusing error message during asynchronous ACM validation assignment Output from acceptance testing: ``` --- PASS: TestAccAWSAcmCertificate_imported_IpAddress (36.64s) --- PASS: TestAccAWSAcmCertificate_root_TrailingPeriod (37.74s) --- PASS: TestAccAWSAcmCertificate_wildcard (38.86s) --- PASS: TestAccAWSAcmCertificate_wildcardAndRootSan (39.08s) --- PASS: TestAccAWSAcmCertificate_emailValidation (39.11s) --- PASS: TestAccAWSAcmCertificate_dnsValidation (39.35s) --- PASS: TestAccAWSAcmCertificate_rootAndWildcardSan (39.62s) --- PASS: TestAccAWSAcmCertificate_disableCTLogging (41.62s) --- PASS: TestAccAWSAcmCertificate_san_single (41.93s) --- PASS: TestAccAWSAcmCertificate_san_TrailingPeriod (42.00s) --- PASS: TestAccAWSAcmCertificate_san_multiple (42.05s) --- PASS: TestAccAWSAcmCertificate_root (42.07s) --- PASS: TestAccAWSAcmCertificate_privateCert (47.46s) --- PASS: TestAccAWSAcmCertificate_imported_DomainName (54.51s) --- PASS: TestAccAWSAcmCertificate_tags (85.67s) ```
…13513) Reference: #3855 Reference: #6082 Reference: #8755 Reference: #12075 Reference: #13053 Notable changes: ``` ENHANCEMENTS: * resource/aws_acm_certificate: Add `status` attribute BUG FIXES: * resource/aws_acm_certificate: Detect `AMAZON_ISSUED` type `validation_method` value directly from API response instead of custom logic * resource/aws_acm_certificate: Increase deletion retries from 10 minutes to 20 minutes (better support API Gateway Custom Domain deletion) ``` Other changes: - Documents `subject_alternative_names` argument removal procedures - Improves potentially confusing error message during asynchronous ACM validation assignment Output from acceptance testing: ``` --- PASS: TestAccAWSAcmCertificate_imported_IpAddress (36.64s) --- PASS: TestAccAWSAcmCertificate_root_TrailingPeriod (37.74s) --- PASS: TestAccAWSAcmCertificate_wildcard (38.86s) --- PASS: TestAccAWSAcmCertificate_wildcardAndRootSan (39.08s) --- PASS: TestAccAWSAcmCertificate_emailValidation (39.11s) --- PASS: TestAccAWSAcmCertificate_dnsValidation (39.35s) --- PASS: TestAccAWSAcmCertificate_rootAndWildcardSan (39.62s) --- PASS: TestAccAWSAcmCertificate_disableCTLogging (41.62s) --- PASS: TestAccAWSAcmCertificate_san_single (41.93s) --- PASS: TestAccAWSAcmCertificate_san_TrailingPeriod (42.00s) --- PASS: TestAccAWSAcmCertificate_san_multiple (42.05s) --- PASS: TestAccAWSAcmCertificate_root (42.07s) --- PASS: TestAccAWSAcmCertificate_privateCert (47.46s) --- PASS: TestAccAWSAcmCertificate_imported_DomainName (54.51s) --- PASS: TestAccAWSAcmCertificate_tags (85.67s) ```
The resource has been updated to directly lookup the |
This has been released in version 2.65.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Need to add some details when I have time but it looks like aws_acm_certificate isn't correctly parsing the AWS response to determine the validation method
Community Note
Terraform Version
0.12.3
Affected Resource(s)
Terraform Configuration Files
TODO
Debug Output
Panic Output
Expected Behavior
Certificate response is parsed correctly
Actual Behavior
EMAIL validation isn't successfully parsed from the response
Steps to Reproduce
terraform plan
Important Factoids
References
AWS response
aws_acm_certificate.go
It is looking for
ValidationEmails
andResourceRecord
keys but my response contains aValidationMethod
key that provides the correct information. Need to validate with AWS docs, as wellThe text was updated successfully, but these errors were encountered: