-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
google_dns_record_set #232
Comments
Hi, Duplicate of #13463. The behavior of splitting on spaces and quoting each chunk comes from the GCloud API, not Terraform. See issue linked above for background. The work around is to add rrdatas = ["\"v=spf1 blah foo bar\""] I will update the documentation. Thank you! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Terraform Version
Terraform v0.9.11
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Creates a TXT record as a single string
"v=spf1 blah foo bar"
Actual Behavior
It is quoting everything in between the spaces which create an invalid SPF record
"v=spf1" "blah" "foo" "bar"
When I add the record via the Google Console it is created properly something in terraform is adding the quotes to everything separated by a space
Steps to Reproduce
terraform apply
References
This was fixed for another provider
hashicorp/terraform#13260
The text was updated successfully, but these errors were encountered: