-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
provider/ns1/record SPF record creation misbehavior #12758
Labels
Comments
Closed via #13260 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
ghost
locked and limited conversation to collaborators
Apr 14, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.9.0
same with v0.8.8
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
https://gist.github.com/parky/f2f1c9491c459ff87c168441e843d5d9
Panic Output
No
Expected Behavior
host -t SPF terraform.example dns1.p03.nsone.net
should returnterraform.example has SPF record "v=DKIM1; k=rsa; p=XXXXXXXX"
Actual Behavior
host -t SPF terraform.example dns1.p03.nsone.net
returnsterraform.example has SPF record "v=DKIM1;" "k=rsa;" "p=XXXXXXXX"
Steps to Reproduce
terraform apply
host -t SPF terraform.example dns1.p03.nsone.net
Important Factoids
Inserting SPF record lead to response where there are quotes between all parts delimited with space instead of an answer which has quotes only at the beginning and at the end.
This does not happen when the record is inserted via the web interface or via the API like:
curl -X PUT -H 'X-NSONE-Key: myNS1apikey' -d '{"zone":"terraform.example", "domain":"terraform.example", "type":"SPF", "answers":[{"answer":["v=DKIM1; k=rsa; p=XXXXXXXX"]}]}' https://api.nsone.net/v1/zones/terraform.example/terraform.example/SPF
References
The text was updated successfully, but these errors were encountered: