aptible / terraform-provider-aptible

The official Terraform provider for Aptible Deploy
https://registry.terraform.io/providers/aptible/aptible/latest
10 stars 13 forks source link

Endpoint using a custom domain with a custom certificate #39

Open jeremiahbowen opened 3 years ago

jeremiahbowen commented 3 years ago

When creating an aptible endpoint, the aptible_endpoint resources do not have an argument allowing you to provide a custom certificate. This makes it impossible to manage the endpoints across multiple services without manually deploying the certificate to each app's internal endpoint (currently 106 apps). We're using the current v0.1.3. Can you update the resource to provide the hostname associated with the endpoint?

robertfairhead commented 3 years ago

The provider does not currently support providing a custom certificate. Custom certificate support is a larger feature request because we have to design and implement new resources and account for the fact that Terraform (would store the private key in plain text locally)[https://www.terraform.io/docs/language/state/sensitive-data.html]. Addressing that is beyond the scope of our next planned update to provide the necessary information to automate creating DNS records for endpoint validation. But, custom certificate support is on the long-term roadmap.

Jrc356 commented 2 years ago

It's been over a year since this was last updated, has there been any movement on this? Current aptible provider is in version ~v0.2.2~ 0.3.0. I'm not seeing anything mentioned in the docs about it