terraform-provider-digitalocean
terraform-provider-digitalocean copied to clipboard
Add possibility to add CNAME or multiple entries to domain so that we can instantly reference a Space Bucket
After terraforming my cluster, i still have to manually point my domain to the S3 spaces.
I would like to automate this bij setting a CNAME (bucket endpoint) instead of ip address in my domain block.
Is it possible to add this?
Would even be better if you were able to add a list of entries
type (A/CNAME/etc) hostname (prefix) value ttl
Describe alternatives you've considered
Doing it manually after terraforming
Hi! Thanks for the write up.
Would it be possible to share the terraform config you're working from?
https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs/resources/domain
resource "digitalocean_domain" "example" { name = "github.com" }
Thank you, the API currently doesn't support this but I've relayed your request to the internal engineers and will check back here if they have any insight/updates on this feature request.
I think you can do this already with digitalocean_record.