-
Notifications
You must be signed in to change notification settings - Fork 626
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
Setting a DNS record's proxied flag to false stopped working in 1.1.0 #103
Comments
It works fine for me. Could you send a trace log? https://www.terraform.io/docs/internals/debugging.html |
@patryk Sure, here you are:
provider "cloudflare" {
api_client_logging = true
version = "~> 1.1.0"
}
resource "cloudflare_record" "blubber-a" {
domain = "gameswelt.de"
name = "blubber"
type = "A"
value = "1.1.1.1"
ttl = 1
proxied = "true"
} With following apply output:
Corresponding trace:
provider "cloudflare" {
api_client_logging = true
version = "~> 1.1.0"
}
resource "cloudflare_record" "blubber-a" {
domain = "gameswelt.de"
name = "blubber"
type = "A"
value = "1.1.1.1"
ttl = 1
proxied = "false"
} with following apply output:
And following trace: terraform-cloudflare-update.log |
I can repro, so we should be able to figure out what the issue is. Thanks for the report |
Thanks for report Matthias! The commit cloudflare/cloudflare-go@a467673 has fixed it. Will prepare a release soon. |
cool, thx! |
Terraform Version
v0.11.7
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Toggling
proxied
from true to false should disable the proxied state of the DNS record.Actual Behavior
The changes are reported to be applied successfully, but the record stays proxied at Cloudflare, running terraform again also tries to apply changes again. Setting an unproxied record to proxied works, disabling it does not. Both work with provider version 1.0.0, but setting to false doesn't with 1.1.0.
The text was updated successfully, but these errors were encountered: