d-velop / dvelop-app-template-cs

This template contains everything you need to write an app for d.velop cloud in C#
Apache License 2.0
16 stars 7 forks source link

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

Closed mtestrot closed 4 years ago

mtestrot commented 5 years ago

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 commented 5 years ago

Already fixed in the dvelop-apptemplate-go. Cf. https://github.com/d-velop/dvelop-app-template-go/issues/13