Closed jeremiahbowen closed 3 years ago
Yes, I'll be adding that in the forthcoming PR as well per https://github.com/aptible/terraform-provider-aptible/issues/37
Terraform provider v0.1.4 is released at https://registry.terraform.io/providers/aptible/aptible/latest and includes the change to address this.
When creating an aptible endpoint, the aptible_endpoint resources doesn't have an attribute providing the _acme-challenge record that needs to be created to generate a new SSL certificate. This makes it impossible to terraform that DNS record and ensure that it isn't removed in the future (causing an outage when the certificate expires). Can you update the resource to provide the CNAME and acme host necessary to generate the certificate?