phillbaker / terraform-provider-mailgunv3

mailgun provider for terraform based on v3 of the api
MIT License
10 stars 3 forks source link

Document exposed DNS records for domain #6

Open invidian opened 5 years ago

invidian commented 5 years ago

If we have an ability to register a domain via Terraform, it would be great as well to be able to obtain DNS records (TXT, MX), which could be then passed to DNS provider.

invidian commented 5 years ago

Ah, it seems that records are exposed, it's just not documented: https://github.com/phillbaker/terraform-provider-mailgunv3/blob/master/resource_mailgun_domain.go#L52-L106.