Created
April 23, 2025 15:52
-
-
Save PI-Victor/13c8b59afc382dd3a1d9b0dd776674d6 to your computer and use it in GitHub Desktop.
cloudflare-applications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ cloudflare-tf TF_LOG=DEBUG terraform apply | |
2025-04-23T17:50:09.362+0200 [INFO] Terraform version: 1.11.3 | |
2025-04-23T17:50:09.362+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.70.0 | |
2025-04-23T17:50:09.362+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.23.0 | |
2025-04-23T17:50:09.362+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1 | |
2025-04-23T17:50:09.362+0200 [DEBUG] using github.com/zclconf/go-cty v1.16.0 | |
2025-04-23T17:50:09.362+0200 [INFO] Go runtime version: go1.24.1 | |
2025-04-23T17:50:09.362+0200 [INFO] CLI args: []string{"terraform", "apply"} | |
2025-04-23T17:50:09.362+0200 [DEBUG] Attempting to open CLI config file: /Users/vicp/.terraformrc | |
2025-04-23T17:50:09.362+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2025-04-23T17:50:09.362+0200 [INFO] Loading CLI configuration from /Users/vicp/.terraform.d/credentials.tfrc.json | |
2025-04-23T17:50:09.363+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2025-04-23T17:50:09.363+0200 [DEBUG] ignoring non-existing provider search directory /Users/vicp/.terraform.d/plugins | |
2025-04-23T17:50:09.363+0200 [DEBUG] ignoring non-existing provider search directory /Users/vicp/Library/Application Support/io.terraform/plugins | |
2025-04-23T17:50:09.363+0200 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins | |
2025-04-23T17:50:09.363+0200 [INFO] CLI command args: []string{"apply"} | |
2025-04-23T17:50:09.430+0200 [DEBUG] checking for provisioner in "." | |
2025-04-23T17:50:09.431+0200 [DEBUG] checking for provisioner in "/Users/vicp/.flox/run/aarch64-darwin.default.run/bin" | |
2025-04-23T17:50:09.431+0200 [INFO] backend/local: starting Apply operation | |
2025-04-23T17:50:09.432+0200 [DEBUG] created provider logger: level=debug | |
2025-04-23T17:50:09.432+0200 [INFO] provider: configuring client automatic mTLS | |
2025-04-23T17:50:09.436+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 args=[".terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0"] | |
2025-04-23T17:50:09.440+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 pid=28992 | |
2025-04-23T17:50:09.440+0200 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 | |
2025-04-23T17:50:09.454+0200 [INFO] provider.terraform-provider-cloudflare_v5.3.0: configuring server automatic mTLS: timestamp="2025-04-23T17:50:09.454+0200" | |
2025-04-23T17:50:09.458+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: plugin address: address=/var/folders/h9/hm3xj99138z9lg659bn8zbs80000gn/T/plugin2339624480 network=unix timestamp="2025-04-23T17:50:09.458+0200" | |
2025-04-23T17:50:09.458+0200 [DEBUG] provider: using plugin: version=6 | |
2025-04-23T17:50:09.494+0200 [DEBUG] No provider meta schema returned | |
2025-04-23T17:50:09.501+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2025-04-23T17:50:09.502+0200 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 id=28992 | |
2025-04-23T17:50:09.502+0200 [DEBUG] provider: plugin exited | |
2025-04-23T17:50:09.502+0200 [DEBUG] created provider logger: level=debug | |
2025-04-23T17:50:09.502+0200 [INFO] provider: configuring client automatic mTLS | |
2025-04-23T17:50:09.504+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.3/darwin_arm64/terraform-provider-random_v3.6.3_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/random/3.6.3/darwin_arm64/terraform-provider-random_v3.6.3_x5"] | |
2025-04-23T17:50:09.505+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.3/darwin_arm64/terraform-provider-random_v3.6.3_x5 pid=28993 | |
2025-04-23T17:50:09.505+0200 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.3/darwin_arm64/terraform-provider-random_v3.6.3_x5 | |
2025-04-23T17:50:09.510+0200 [INFO] provider.terraform-provider-random_v3.6.3_x5: configuring server automatic mTLS: timestamp="2025-04-23T17:50:09.510+0200" | |
2025-04-23T17:50:09.514+0200 [DEBUG] provider: using plugin: version=5 | |
2025-04-23T17:50:09.514+0200 [DEBUG] provider.terraform-provider-random_v3.6.3_x5: plugin address: address=/var/folders/h9/hm3xj99138z9lg659bn8zbs80000gn/T/plugin2878875458 network=unix timestamp="2025-04-23T17:50:09.514+0200" | |
2025-04-23T17:50:09.518+0200 [DEBUG] No provider meta schema returned | |
2025-04-23T17:50:09.519+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2025-04-23T17:50:09.519+0200 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/hashicorp/random/3.6.3/darwin_arm64/terraform-provider-random_v3.6.3_x5 id=28993 | |
2025-04-23T17:50:09.519+0200 [DEBUG] provider: plugin exited | |
2025-04-23T17:50:09.519+0200 [DEBUG] Building and walking validate graph | |
2025-04-23T17:50:09.519+0200 [DEBUG] ProviderTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"] | |
2025-04-23T17:50:09.519+0200 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/random"] | |
2025-04-23T17:50:09.519+0200 [DEBUG] ReferenceTransformer: "local.account_id (expand)" references: [var.sit_account_id] | |
2025-04-23T17:50:09.519+0200 [DEBUG] ReferenceTransformer: "local.zone_id (expand)" references: [var.sit_zone_id] | |
2025-04-23T17:50:09.519+0200 [DEBUG] ReferenceTransformer: "local.dlp_entries (expand)" references: [] | |
2025-04-23T17:50:09.519+0200 [DEBUG] ReferenceTransformer: "local.api_token (expand)" references: [var.sit_api_token] | |
2025-04-23T17:50:09.520+0200 [DEBUG] ReferenceTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application" references: [local.account_id (expand)] | |
2025-04-23T17:50:09.520+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: [local.api_token (expand)] | |
2025-04-23T17:50:09.520+0200 [DEBUG] ReferenceTransformer: "var.sit_zone_id" references: [] | |
2025-04-23T17:50:09.520+0200 [DEBUG] ReferenceTransformer: "var.sit_api_token" references: [] | |
2025-04-23T17:50:09.520+0200 [DEBUG] ReferenceTransformer: "var.sit_account_id" references: [] | |
2025-04-23T17:50:09.520+0200 [DEBUG] Starting graph walk: walkValidate | |
2025-04-23T17:50:09.520+0200 [DEBUG] created provider logger: level=debug | |
2025-04-23T17:50:09.520+0200 [INFO] provider: configuring client automatic mTLS | |
2025-04-23T17:50:09.522+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 args=[".terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0"] | |
2025-04-23T17:50:09.525+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 pid=28994 | |
2025-04-23T17:50:09.526+0200 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 | |
2025-04-23T17:50:09.540+0200 [INFO] provider.terraform-provider-cloudflare_v5.3.0: configuring server automatic mTLS: timestamp="2025-04-23T17:50:09.540+0200" | |
2025-04-23T17:50:09.545+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: plugin address: address=/var/folders/h9/hm3xj99138z9lg659bn8zbs80000gn/T/plugin2149878261 network=unix timestamp="2025-04-23T17:50:09.545+0200" | |
2025-04-23T17:50:09.545+0200 [DEBUG] provider: using plugin: version=6 | |
2025-04-23T17:50:09.550+0200 [DEBUG] skipping FixUpBlockAttrs | |
2025-04-23T17:50:09.553+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2025-04-23T17:50:09.553+0200 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 id=28994 | |
2025-04-23T17:50:09.553+0200 [DEBUG] provider: plugin exited | |
2025-04-23T17:50:09.554+0200 [INFO] backend/local: apply calling Plan | |
2025-04-23T17:50:09.554+0200 [DEBUG] Building and walking plan graph for NormalMode | |
2025-04-23T17:50:09.554+0200 [DEBUG] ProviderTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"] | |
2025-04-23T17:50:09.554+0200 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/random"] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "var.sit_account_id" references: [] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "local.account_id (expand)" references: [var.sit_account_id] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "local.zone_id (expand)" references: [var.sit_zone_id] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "local.dlp_entries (expand)" references: [] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "local.api_token (expand)" references: [var.sit_api_token] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: [local.api_token (expand)] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application (expand)" references: [local.account_id (expand)] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "var.sit_zone_id" references: [] | |
2025-04-23T17:50:09.554+0200 [DEBUG] ReferenceTransformer: "var.sit_api_token" references: [] | |
2025-04-23T17:50:09.554+0200 [DEBUG] Starting graph walk: walkPlan | |
2025-04-23T17:50:09.554+0200 [DEBUG] created provider logger: level=debug | |
2025-04-23T17:50:09.554+0200 [INFO] provider: configuring client automatic mTLS | |
2025-04-23T17:50:09.556+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 args=[".terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0"] | |
2025-04-23T17:50:09.560+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 pid=29035 | |
2025-04-23T17:50:09.560+0200 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 | |
2025-04-23T17:50:09.574+0200 [INFO] provider.terraform-provider-cloudflare_v5.3.0: configuring server automatic mTLS: timestamp="2025-04-23T17:50:09.574+0200" | |
2025-04-23T17:50:09.578+0200 [DEBUG] provider: using plugin: version=6 | |
2025-04-23T17:50:09.578+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: plugin address: network=unix address=/var/folders/h9/hm3xj99138z9lg659bn8zbs80000gn/T/plugin2629336299 timestamp="2025-04-23T17:50:09.578+0200" | |
2025-04-23T17:50:09.582+0200 [DEBUG] Resource instance state not found for node "cloudflare_zero_trust_access_application.example_zero_trust_access_application", instance cloudflare_zero_trust_access_application.example_zero_trust_access_application | |
2025-04-23T17:50:09.582+0200 [DEBUG] ReferenceTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application" references: [] | |
2025-04-23T17:50:09.583+0200 [DEBUG] refresh: cloudflare_zero_trust_access_application.example_zero_trust_access_application: no state, so not refreshing | |
2025-04-23T17:50:09.583+0200 [DEBUG] skipping FixUpBlockAttrs | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:229 @module=sdk.framework timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"saas_app\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_rpc=PlanResourceChange @module=sdk.framework tf_resource_type=cloudflare_zero_trust_access_application @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"updated_at\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_resource_type=cloudflare_zero_trust_access_application timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_attribute_path="AttributeName(\"aud\")" tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=PlanResourceChange timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path="AttributeName(\"policies\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_resource_type=cloudflare_zero_trust_access_application timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_resource_type=cloudflare_zero_trust_access_application tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_attribute_path="AttributeName(\"scim_config\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 @module=sdk.framework tf_attribute_path="AttributeName(\"footer_links\")" tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 tf_provider_addr=registry.terraform.io/cloudflare/cloudflare timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_provider_addr=registry.terraform.io/cloudflare/cloudflare @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_attribute_path="AttributeName(\"created_at\")" tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=PlanResourceChange timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path="AttributeName(\"target_criteria\")" @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_resource_type=cloudflare_zero_trust_access_application timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_resource_type=cloudflare_zero_trust_access_application @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"landing_page_design\")" timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.589+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"cors_headers\")" tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 tf_resource_type=cloudflare_zero_trust_access_application @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 timestamp="2025-04-23T17:50:09.589+0200" | |
2025-04-23T17:50:09.590+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_req_id=e04cb4e5-528b-2a1f-0cd3-65cd069b04f0 @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_attribute_path="AttributeName(\"id\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=PlanResourceChange timestamp="2025-04-23T17:50:09.590+0200" | |
2025-04-23T17:50:09.594+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2025-04-23T17:50:09.595+0200 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 id=29035 | |
2025-04-23T17:50:09.595+0200 [DEBUG] provider: plugin exited | |
2025-04-23T17:50:09.595+0200 [DEBUG] building apply graph to check for errors | |
2025-04-23T17:50:09.595+0200 [DEBUG] Resource state not found for node "cloudflare_zero_trust_access_application.example_zero_trust_access_application", instance cloudflare_zero_trust_access_application.example_zero_trust_access_application | |
2025-04-23T17:50:09.595+0200 [DEBUG] ProviderTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/cloudflare/cloudflare"] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ProviderTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"] | |
2025-04-23T17:50:09.595+0200 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/random"] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "local.dlp_entries (expand)" references: [] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "local.api_token (expand)" references: [var.sit_api_token] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "local.zone_id (expand)" references: [var.sit_zone_id] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "local.account_id (expand)" references: [var.sit_account_id] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application" references: [local.account_id (expand)] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: [local.api_token (expand)] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application (expand)" references: [local.account_id (expand)] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "var.sit_api_token" references: [] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "var.sit_account_id" references: [] | |
2025-04-23T17:50:09.595+0200 [DEBUG] ReferenceTransformer: "var.sit_zone_id" references: [] | |
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: | |
+ create | |
Terraform will perform the following actions: | |
# cloudflare_zero_trust_access_application.example_zero_trust_access_application will be created | |
+ resource "cloudflare_zero_trust_access_application" "example_zero_trust_access_application" { | |
+ account_id = "redacted" | |
+ app_launcher_visible = true | |
+ aud = (known after apply) | |
+ auto_redirect_to_identity = false | |
+ cors_headers = (known after apply) | |
+ created_at = (known after apply) | |
+ destinations = [ | |
+ { | |
+ cidr = "10.10.10.10/32" | |
+ port_range = "80" | |
}, | |
] | |
+ enable_binding_cookie = false | |
+ footer_links = (known after apply) | |
+ http_only_cookie_attribute = true | |
+ id = (known after apply) | |
+ landing_page_design = (known after apply) | |
+ name = "test" | |
+ path_cookie_attribute = false | |
+ policies = (known after apply) | |
+ saas_app = (known after apply) | |
+ scim_config = (known after apply) | |
+ session_duration = "24h" | |
+ skip_app_launcher_login_page = false | |
+ target_criteria = (known after apply) | |
+ type = "self_hosted" | |
+ updated_at = (known after apply) | |
} | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
2025-04-23T17:50:09.598+0200 [DEBUG] command: asking for input: "\nDo you want to perform these actions?" | |
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 | |
2025-04-23T17:50:10.904+0200 [INFO] backend/local: apply calling Apply | |
2025-04-23T17:50:10.904+0200 [DEBUG] Building and walking apply graph for NormalMode plan | |
2025-04-23T17:50:10.905+0200 [DEBUG] Resource state not found for node "cloudflare_zero_trust_access_application.example_zero_trust_access_application", instance cloudflare_zero_trust_access_application.example_zero_trust_access_application | |
2025-04-23T17:50:10.906+0200 [DEBUG] ProviderTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/cloudflare/cloudflare"] | |
2025-04-23T17:50:10.906+0200 [DEBUG] ProviderTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/cloudflare/cloudflare"] | |
2025-04-23T17:50:10.906+0200 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/random"] | |
2025-04-23T17:50:10.906+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/cloudflare/cloudflare\"]" references: [local.api_token (expand)] | |
2025-04-23T17:50:10.907+0200 [DEBUG] ReferenceTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application (expand)" references: [local.account_id (expand)] | |
2025-04-23T17:50:10.908+0200 [DEBUG] ReferenceTransformer: "var.sit_zone_id" references: [] | |
2025-04-23T17:50:10.908+0200 [DEBUG] ReferenceTransformer: "local.dlp_entries (expand)" references: [] | |
2025-04-23T17:50:10.908+0200 [DEBUG] ReferenceTransformer: "local.zone_id (expand)" references: [var.sit_zone_id] | |
2025-04-23T17:50:10.908+0200 [DEBUG] ReferenceTransformer: "var.sit_api_token" references: [] | |
2025-04-23T17:50:10.908+0200 [DEBUG] ReferenceTransformer: "var.sit_account_id" references: [] | |
2025-04-23T17:50:10.908+0200 [DEBUG] ReferenceTransformer: "local.api_token (expand)" references: [var.sit_api_token] | |
2025-04-23T17:50:10.908+0200 [DEBUG] ReferenceTransformer: "local.account_id (expand)" references: [var.sit_account_id] | |
2025-04-23T17:50:10.908+0200 [DEBUG] ReferenceTransformer: "cloudflare_zero_trust_access_application.example_zero_trust_access_application" references: [local.account_id (expand)] | |
2025-04-23T17:50:10.910+0200 [DEBUG] Starting graph walk: walkApply | |
2025-04-23T17:50:10.911+0200 [DEBUG] created provider logger: level=debug | |
2025-04-23T17:50:10.911+0200 [INFO] provider: configuring client automatic mTLS | |
2025-04-23T17:50:10.917+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 args=[".terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0"] | |
2025-04-23T17:50:10.927+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 pid=29070 | |
2025-04-23T17:50:10.927+0200 [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 | |
2025-04-23T17:50:10.954+0200 [INFO] provider.terraform-provider-cloudflare_v5.3.0: configuring server automatic mTLS: timestamp="2025-04-23T17:50:10.954+0200" | |
2025-04-23T17:50:10.960+0200 [DEBUG] provider: using plugin: version=6 | |
2025-04-23T17:50:10.960+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: plugin address: address=/var/folders/h9/hm3xj99138z9lg659bn8zbs80000gn/T/plugin3008346483 network=unix timestamp="2025-04-23T17:50:10.960+0200" | |
2025-04-23T17:50:10.966+0200 [DEBUG] skipping FixUpBlockAttrs | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:229 @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_rpc=PlanResourceChange timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_provider_addr=registry.terraform.io/cloudflare/cloudflare @module=sdk.framework tf_attribute_path="AttributeName(\"scim_config\")" tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"updated_at\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_attribute_path="AttributeName(\"target_criteria\")" tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=PlanResourceChange timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application @module=sdk.framework tf_attribute_path="AttributeName(\"footer_links\")" tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_rpc=PlanResourceChange timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"policies\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_rpc=PlanResourceChange tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_resource_type=cloudflare_zero_trust_access_application @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 tf_attribute_path="AttributeName(\"id\")" tf_resource_type=cloudflare_zero_trust_access_application @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"landing_page_design\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_rpc=PlanResourceChange timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_attribute_path="AttributeName(\"saas_app\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_attribute_path="AttributeName(\"created_at\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_rpc=PlanResourceChange tf_resource_type=cloudflare_zero_trust_access_application timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"aud\")" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_resource_type=cloudflare_zero_trust_access_application timestamp="2025-04-23T17:50:10.973+0200" | |
2025-04-23T17:50:10.973+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"cors_headers\")" tf_req_id=57322d70-9215-1718-b932-2d70a44280d7 tf_rpc=PlanResourceChange @caller=github.com/hashicorp/[email protected]/internal/fwserver/server_planresourcechange.go:480 @module=sdk.framework tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application timestamp="2025-04-23T17:50:10.973+0200" | |
cloudflare_zero_trust_access_application.example_zero_trust_access_application: Creating... | |
2025-04-23T17:50:10.979+0200 [INFO] Starting apply for cloudflare_zero_trust_access_application.example_zero_trust_access_application | |
2025-04-23T17:50:10.980+0200 [DEBUG] skipping FixUpBlockAttrs | |
2025-04-23T17:50:10.980+0200 [DEBUG] cloudflare_zero_trust_access_application.example_zero_trust_access_application: applying the planned Create change | |
2025-04-23T17:50:10.982+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: | |
POST /client/v4/accounts/redacted/access/apps HTTP/1.1 | |
> user-agent: terraform-provider-cloudflare/5.3.0 terraform-plugin-framework/1.14.1 terraform/1.11.3 | |
> x-stainless-arch: arm64 | |
> x-stainless-retry-count: 0 | |
> x-stainless-runtime-version: 1.14.1 | |
> x-stainless-lang: Terraform | |
> x-stainless-package-version: 5.3.0 | |
> content-type: application/json | |
> accept: application/json | |
> x-stainless-runtime: terraform-plugin-framework | |
> x-stainless-os: MacOS | |
> authorization: [redacted] | |
> x-auth-email: [redacted] | |
> | |
{"app_launcher_visible":true,"auto_redirect_to_identity":false,"destinations":[{"cidr":"10.10.10.10/32","port_range":"80"}],"enable_binding_cookie":false,"http_only_cookie_attribute":true,"name":"test","path_cookie_attribute":false,"session_duration":"24h","skip_app_launcher_login_page":false,"type":"self_hosted"} | |
: @caller=github.com/cloudflare/terraform-provider-cloudflare/internal/logging/logging.go:64 tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application @module=cloudflare tf_req_id=eaf0f931-c685-ebff-1913-5359bdd6958b tf_rpc=ApplyResourceChange timestamp="2025-04-23T17:50:10.982+0200" | |
2025-04-23T17:50:11.875+0200 [DEBUG] provider.terraform-provider-cloudflare_v5.3.0: | |
< HTTP/2.0 400 Bad Request | |
< content-type: application/json; charset=UTF-8 | |
< content-security-policy: frame-ancestors 'none'; default-src https: 'unsafe-inline' | |
< x-xss-protection: 1; mode=block | |
< server: cloudflare | |
< cf-cache-status: DYNAMIC | |
< date: Wed, 23 Apr 2025 15:50:11 GMT | |
< set-cookie: __cflb=0H28vgHxwvgAQtjUGU4yFBDJQfw1pfzuPMRKy9jMbpR; SameSite=Lax; path=/; expires=Wed, 23-Apr-25 18:20:12 GMT; HttpOnly | |
< set-cookie: __cf_bm=f7uR5P1zXGcw8dLn14RVLi.LpKkQhSXX7vKh5_xsnTM-1745423411-1.0.1.1-acyvzwx8XFFIWJFJzpVQiBQBSJqvvypniYNHYO47SbqLZafnu_TMW3VFxyuIfHLhJ4hkR0qFfbeUJIlHees6QRU.SrG5fdfCRLdfNJbmVY0; path=/; expires=Wed, 23-Apr-25 16:20:11 GMT; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None | |
< set-cookie: _cfuvid=MQvmAGXFUxkKAvUq11VHw1jELNi8Pu14pkyo8HwdgwM-1745423411926-0.0.1.1-604800000; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None | |
< cf-ray: 934e83df5ec32680-ZRH | |
< strict-transport-security: max-age=31536000; includeSubDomains | |
< vary: Accept-Encoding | |
< api-version: 2025-04-23 | |
< cf-auditlog-id: 01966357-a7a9-7073-95f6-8a4d5171d15c | |
< x-content-type-options: nosniff | |
< x-frame-options: DENY | |
< | |
{ | |
"result": null, | |
"success": false, | |
"errors": [ | |
{ | |
"code": 12130, | |
"message": "access.api.error.invalid_request: domain is invalid" | |
} | |
], | |
"messages": [] | |
} | |
: @caller=github.com/cloudflare/terraform-provider-cloudflare/internal/logging/logging.go:92 @module=cloudflare tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_req_id=eaf0f931-c685-ebff-1913-5359bdd6958b tf_resource_type=cloudflare_zero_trust_access_application tf_rpc=ApplyResourceChange timestamp="2025-04-23T17:50:11.874+0200" | |
2025-04-23T17:50:11.875+0200 [ERROR] provider.terraform-provider-cloudflare_v5.3.0: Response contains error diagnostic: tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/[email protected]/tfprotov6/internal/diag/diagnostics.go:58 | |
diagnostic_detail= | |
| POST "https://api.cloudflare.com/client/v4/accounts/redacted/access/apps": 400 Bad Request { | |
| "result": null, | |
| "success": false, | |
| "errors": [ | |
| { | |
| "code": 12130, | |
| "message": "access.api.error.invalid_request: domain is invalid" | |
| } | |
| ], | |
| "messages": [] | |
| } | |
diagnostic_summary="failed to make http request" tf_provider_addr=registry.terraform.io/cloudflare/cloudflare tf_resource_type=cloudflare_zero_trust_access_application @module=sdk.proto diagnostic_severity=ERROR tf_proto_version=6.8 tf_req_id=eaf0f931-c685-ebff-1913-5359bdd6958b timestamp="2025-04-23T17:50:11.875+0200" | |
2025-04-23T17:50:11.878+0200 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot | |
2025-04-23T17:50:11.878+0200 [ERROR] vertex "cloudflare_zero_trust_access_application.example_zero_trust_access_application" error: failed to make http request | |
╷ | |
│ Error: failed to make http request | |
│ | |
│ with cloudflare_zero_trust_access_application.example_zero_trust_access_application, | |
│ on application.tf line 1, in resource "cloudflare_zero_trust_access_application" "example_zero_trust_access_application": | |
│ 1: resource "cloudflare_zero_trust_access_application" "example_zero_trust_access_application" { | |
│ | |
│ POST "https://api.cloudflare.com/client/v4/accounts/redacted/access/apps": 400 Bad Request { | |
│ "result": null, | |
│ "success": false, | |
│ "errors": [ | |
│ { | |
│ "code": 12130, | |
│ "message": "access.api.error.invalid_request: domain is invalid" | |
│ } | |
│ ], | |
│ "messages": [] | |
│ } | |
│ | |
╵ | |
2025-04-23T17:50:11.881+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" | |
2025-04-23T17:50:11.883+0200 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/cloudflare/cloudflare/5.3.0/darwin_arm64/terraform-provider-cloudflare_v5.3.0 id=29070 | |
2025-04-23T17:50:11.883+0200 [DEBUG] provider: plugin exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment