Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the retrieval of "dkim_selector" for "mailgun_domain" #46

Open
Szasza opened this issue Apr 13, 2023 · 0 comments
Open

Add the retrieval of "dkim_selector" for "mailgun_domain" #46

Szasza opened this issue Apr 13, 2023 · 0 comments

Comments

@Szasza
Copy link
Collaborator

Szasza commented Apr 13, 2023

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

  1. Set up a domain in Mailgun with the DKIM selector being MX. No need to verify the domain.
  2. Write the corresponding configuration in Terraform with dkim_selector = "mx".
  3. Import the Mailgun domain.
  4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant