terraform-provider-mailgun
terraform-provider-mailgun copied to clipboard
Add the retrieval of "dkim_selector" for "mailgun_domain"
Terraform Version
v1.4.4
Affected Resource(s)
- mailgun_domain
Expected Behavior
No change should be shown in the last terraform plan
after importing a Mailgun domain which matches the Terraform configuration.
Actual Behavior
Terraform wants to recreate the mailgun_domain
resource.
Steps to Reproduce
- Set up a domain in Mailgun with the DKIM selector being MX. No need to verify the domain.
- Write the corresponding configuration in Terraform with
dkim_selector = "mx"
. - Import the Mailgun domain.
- Run
terraform plan
.
Note
It seems like that resource_mailgun_domain.go
's resourceMailgunDomainRetrieve function doesn't support the retrieval of the dkim_selector
property.