Comments (5)
I can repro, so we should be able to figure out what the issue is. Thanks for the report
from terraform-provider-cloudflare.
It works fine for me. Could you send a trace log? https://www.terraform.io/docs/internals/debugging.html
from terraform-provider-cloudflare.
@patryk Sure, here you are:
- I created following record:
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:
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ cloudflare_record.blubber-a
id: <computed>
created_on: <computed>
domain: "gameswelt.de"
hostname: <computed>
metadata.%: <computed>
modified_on: <computed>
name: "blubber"
proxiable: <computed>
proxied: "true"
ttl: "1"
type: "A"
value: "1.1.1.1"
zone_id: <computed>
Plan: 1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
cloudflare_record.blubber-a: Creating...
created_on: "" => "<computed>"
domain: "" => "gameswelt.de"
hostname: "" => "<computed>"
metadata.%: "" => "<computed>"
modified_on: "" => "<computed>"
name: "" => "blubber"
proxiable: "" => "<computed>"
proxied: "" => "true"
ttl: "" => "1"
type: "" => "A"
value: "" => "1.1.1.1"
zone_id: "" => "<computed>"
cloudflare_record.blubber-a: Creation complete after 1s (ID: 0793c4efc5643411bf63bc01ef5f60fb)
Corresponding trace:
terraform-cloudflare-create.log
- Changed proxied from true to false
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:
cloudflare_record.blubber-a: Refreshing state... (ID: 0793c4efc5643411bf63bc01ef5f60fb)
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ cloudflare_record.blubber-a
proxied: "true" => "false"
Plan: 0 to add, 1 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
cloudflare_record.blubber-a: Modifying... (ID: 0793c4efc5643411bf63bc01ef5f60fb)
proxied: "true" => "false"
cloudflare_record.blubber-a: Modifications complete after 1s (ID: 0793c4efc5643411bf63bc01ef5f60fb)
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
And following trace: terraform-cloudflare-update.log
The record stayed as proxied in Cloudflare.
from terraform-provider-cloudflare.
Thanks for report Matthias! The commit cloudflare/cloudflare-go@a467673 has fixed it. Will prepare a release soon.
from terraform-provider-cloudflare.
cool, thx!
from terraform-provider-cloudflare.
Related Issues (20)
- cloudflare_web_analytics_site error 10000 HOT 2
- Provider doesn't support the replay_protection value when creating a cloudflare_ipsec_tunnel HOT 4
- Limitations of `cloudflare_access_application`: Inability to Support Multiple Domains Per Application HOT 6
- Configure allowed_idps in "Warp Login App" HOT 3
- cloudflare_ruleset rule action_parameters bic invalid JSON: unknown field "bic" HOT 3
- Importing a cloudflare_list is not possible without the inline items HOT 4
- Unclear from repository/documentation that this provider does not follow semver HOT 4
- cloudflare_ruleset resource does not support Cache Reserve Eligibility parameter for Cache Rules HOT 3
- cloudflare_custom_ssl no idempotent HOT 2
- Terraform created ACMs are deleted on activation patch curl request and created new ones HOT 3
- Updating existing/imported Hyperdrive fails as no ID passed through on Update HOT 4
- cloudflare_zone data source doesn't include verification_key for partial zones. HOT 3
- The cloudflare_static_route resource validation checker is incorrectly flagging 169.254.245.1 and 169.254.244.1 addresses as Invalid HOT 2
- No way to enable the default `<worker_name>.<account_name>.workers.dev` route in `cloudflare_worker_script` HOT 6
- Error for cloudflare_list_item when same hostname but different path HOT 1
- Cloudflare Notification Policy - magic_tunnel_health_check_event not working. HOT 2
- customer_endpoint (String) IP address assigned to the customer side of the IPsec tunnel. < This is not a required field. HOT 3
- data source pull incorrect account id HOT 4
- Terraform `plan` should detect invalid CNAME record values, like `https://some.domain` HOT 8
- Ruleset error with v4.30 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-cloudflare.