Skip to content
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

Error: Resource 'aws_acm_certificate.cert' does not have attribute 'domain_validation_options.0.resource_record_name' #13

Closed
mtestrot opened this issue Aug 15, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@mtestrot
Copy link
Member

mtestrot commented Aug 15, 2019

The first invocation of the optional API Custom Domain module fails with the following error:

Error: Error applying plan:

2 error(s) occurred:

* module.api_custom_domains.aws_route53_record.cert_name_validation: Resource 'aws_acm_certificate.cert' does not have attribute 'domain_validation_options.0.resource_record_name' for variable 'aws_acm_certificate.cert.domain_validation_options.0.resource_record_name'
* module.api_custom_domains.aws_route53_record.cert_alt_name_validation: Resource 'aws_acm_certificate.cert' does not have attribute 'domain_validation_options.1.resource_record_value' for variable 'aws_acm_certificate.cert.domain_validation_options.1.resource_record_value'

Subsequent invocations of docker-build deploy succeed.

@mtestrot
Copy link
Member Author

mtestrot commented Aug 15, 2019

This is due to a an API change in AWS. See hashicorp/terraform-provider-aws#9596 and requires a newer version of the aws terraform plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant