-
Notifications
You must be signed in to change notification settings - Fork 101
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
DXE-3797 Order of targets in akamai_dns_record can cause problems. #541
Comments
Hello @tmccombs , Thank you for reporting this ticket. Thanks, |
In my real application, the value of target in tfstate after first apply was:
The config was in the order:
If I changed the order of config to match what was in state, then it worked fine. Interestingly, this behavior seems to be specific to TXT records. For MX records, akamai preserves the order of the inputs. |
Hi @tmccombs, this issue should be fixed in the recent release. |
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
If I change the "zzz" record to something else, like sy "yyz", then it will update that one record.
Actual Behavior
First of all, the diff shows up really strange, something like:
Which is really weird.
And secondly, if you assume this is just a bug in the diff engine and try to apply the change, you get an error like:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1.terraform apply the original config
2. change the "zzz" target to "yyz"
3. run
terraform plan
4. try to apply the plan
The text was updated successfully, but these errors were encountered: