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.
The first invocation of the optional API Custom Domain module fails with the following error:
Subsequent invocations of
docker-build deploy
succeed.