Skip to content

Instantly share code, notes, and snippets.

@razum90
Last active May 22, 2024 22:49
Show Gist options
  • Save razum90/780047c0f021b02832b8a67e6be84490 to your computer and use it in GitHub Desktop.
Save razum90/780047c0f021b02832b8a67e6be84490 to your computer and use it in GitHub Desktop.
DO apply log
2024-05-23T00:39:17.188+0200 [INFO] Terraform version: 1.8.4
2024-05-23T00:39:17.188+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.51.0
2024-05-23T00:39:17.188+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.20.0
2024-05-23T00:39:17.188+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-05-23T00:39:17.188+0200 [DEBUG] using github.com/zclconf/go-cty v1.14.3
2024-05-23T00:39:17.188+0200 [INFO] Go runtime version: go1.22.1
2024-05-23T00:39:17.188+0200 [INFO] CLI args: []string{"terraform", "apply"}
2024-05-23T00:39:17.188+0200 [DEBUG] Attempting to open CLI config file: /Users/rasmus/.terraformrc
2024-05-23T00:39:17.188+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2024-05-23T00:39:17.188+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2024-05-23T00:39:17.188+0200 [DEBUG] ignoring non-existing provider search directory /Users/rasmus/.terraform.d/plugins
2024-05-23T00:39:17.188+0200 [DEBUG] ignoring non-existing provider search directory /Users/rasmus/Library/Application Support/io.terraform/plugins
2024-05-23T00:39:17.188+0200 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2024-05-23T00:39:17.189+0200 [INFO] CLI command args: []string{"apply"}
2024-05-23T00:39:17.190+0200 [DEBUG] New state was assigned lineage "c5f4c63c-c3f3-9053-25db-1c7f81407aa5"
2024-05-23T00:39:17.214+0200 [DEBUG] checking for provisioner in "."
2024-05-23T00:39:17.214+0200 [DEBUG] checking for provisioner in "/opt/homebrew/bin"
2024-05-23T00:39:17.215+0200 [INFO] backend/local: starting Apply operation
2024-05-23T00:39:17.217+0200 [DEBUG] created provider logger: level=debug
2024-05-23T00:39:17.217+0200 [INFO] provider: configuring client automatic mTLS
2024-05-23T00:39:17.223+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 args=[".terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0"]
2024-05-23T00:39:17.225+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 pid=90747
2024-05-23T00:39:17.225+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0
2024-05-23T00:39:17.233+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: configuring server automatic mTLS: timestamp="2024-05-23T00:39:17.233+0200"
2024-05-23T00:39:17.238+0200 [DEBUG] provider: using plugin: version=5
2024-05-23T00:39:17.239+0200 [DEBUG] provider.terraform-provider-digitalocean_v2.38.0: plugin address: address=/var/folders/91/35rl5xqd5f9_zwkb_mzk8hgm0000gn/T/plugin1818327857 network=unix timestamp="2024-05-23T00:39:17.238+0200"
2024-05-23T00:39:17.251+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-23T00:39:17.251+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 pid=90747
2024-05-23T00:39:17.251+0200 [DEBUG] provider: plugin exited
2024-05-23T00:39:17.251+0200 [DEBUG] created provider logger: level=debug
2024-05-23T00:39:17.251+0200 [INFO] provider: configuring client automatic mTLS
2024-05-23T00:39:17.254+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5"]
2024-05-23T00:39:17.255+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 pid=90748
2024-05-23T00:39:17.255+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5
2024-05-23T00:39:17.262+0200 [INFO] provider.terraform-provider-null_v3.1.1_x5: configuring server automatic mTLS: timestamp="2024-05-23T00:39:17.262+0200"
2024-05-23T00:39:17.283+0200 [DEBUG] provider: using plugin: version=5
2024-05-23T00:39:17.283+0200 [DEBUG] provider.terraform-provider-null_v3.1.1_x5: plugin address: address=/var/folders/91/35rl5xqd5f9_zwkb_mzk8hgm0000gn/T/plugin480366779 network=unix timestamp="2024-05-23T00:39:17.283+0200"
2024-05-23T00:39:17.299+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Getting provider schema\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.299198+02:00\"}"
2024-05-23T00:39:17.299+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Found resource type\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.299212+02:00\",\"tf_resource_type\":\"null_resource\"}"
2024-05-23T00:39:17.299+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Found data source type\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.299228+02:00\",\"tf_data_source_type\":\"null_data_source\"}"
2024-05-23T00:39:17.299+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-23T00:39:17.300+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 pid=90748
2024-05-23T00:39:17.300+0200 [DEBUG] provider: plugin exited
2024-05-23T00:39:17.300+0200 [DEBUG] Building and walking validate graph
2024-05-23T00:39:17.300+0200 [DEBUG] ProviderTransformer: "null_resource.grant_permissions" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/null"]
2024-05-23T00:39:17.300+0200 [DEBUG] ProviderTransformer: "digitalocean_app.do-app" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.300+0200 [DEBUG] ProviderTransformer: "digitalocean_database_cluster.db-cluster" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.300+0200 [DEBUG] ProviderTransformer: "digitalocean_database_user.api-user" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.300+0200 [DEBUG] ProviderTransformer: "digitalocean_database_db.api-db" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.300+0200 [DEBUG] ProviderTransformer: "digitalocean_database_firewall.db-cluster-fw" (*terraform.NodeValidatableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.300+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: []
2024-05-23T00:39:17.300+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_db.api-db" references: [var.environments var.services_names digitalocean_database_cluster.db-cluster]
2024-05-23T00:39:17.300+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_firewall.db-cluster-fw" references: [null_resource.grant_permissions var.environments digitalocean_database_cluster.db-cluster digitalocean_app.do-app]
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_cluster.db-cluster" references: [var.environments var.region var.environments var.environments]
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_user.api-user" references: [var.environments digitalocean_database_cluster.db-cluster var.services_names]
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "var.do_token" references: []
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "var.app_name" references: []
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "null_resource.grant_permissions" references: [digitalocean_database_cluster.db-cluster digitalocean_database_user.api-user digitalocean_database_db.api-db var.environments digitalocean_database_cluster.db-cluster digitalocean_database_cluster.db-cluster digitalocean_database_cluster.db-cluster digitalocean_database_cluster.db-cluster digitalocean_database_db.api-db digitalocean_database_db.api-db digitalocean_database_user.api-user digitalocean_database_cluster.db-cluster]
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "digitalocean_app.do-app" references: [var.environments var.app_name var.region var.environments var.environments var.environments var.environments var.services_names digitalocean_database_user.api-user digitalocean_database_cluster.db-cluster digitalocean_database_cluster.db-cluster digitalocean_database_db.api-db digitalocean_database_user.api-user var.environments var.services_names var.environments var.environments digitalocean_database_db.api-db var.environments digitalocean_database_cluster.db-cluster digitalocean_database_db.api-db var.services_names var.services_names]
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "var.region" references: []
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "var.services_names" references: []
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "var.environments" references: []
2024-05-23T00:39:17.301+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" references: [var.do_token]
2024-05-23T00:39:17.302+0200 [DEBUG] Starting graph walk: walkValidate
2024-05-23T00:39:17.302+0200 [DEBUG] created provider logger: level=debug
2024-05-23T00:39:17.302+0200 [INFO] provider: configuring client automatic mTLS
2024-05-23T00:39:17.304+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5"]
2024-05-23T00:39:17.305+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 pid=90750
2024-05-23T00:39:17.306+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5
2024-05-23T00:39:17.313+0200 [INFO] provider.terraform-provider-null_v3.1.1_x5: configuring server automatic mTLS: timestamp="2024-05-23T00:39:17.313+0200"
2024-05-23T00:39:17.334+0200 [DEBUG] provider: using plugin: version=5
2024-05-23T00:39:17.334+0200 [DEBUG] provider.terraform-provider-null_v3.1.1_x5: plugin address: address=/var/folders/91/35rl5xqd5f9_zwkb_mzk8hgm0000gn/T/plugin517277909 network=unix timestamp="2024-05-23T00:39:17.333+0200"
2024-05-23T00:39:17.349+0200 [DEBUG] created provider logger: level=debug
2024-05-23T00:39:17.349+0200 [INFO] provider: configuring client automatic mTLS
2024-05-23T00:39:17.351+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 args=[".terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0"]
2024-05-23T00:39:17.352+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 pid=90751
2024-05-23T00:39:17.352+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0
2024-05-23T00:39:17.359+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: configuring server automatic mTLS: timestamp="2024-05-23T00:39:17.359+0200"
2024-05-23T00:39:17.365+0200 [DEBUG] provider: using plugin: version=5
2024-05-23T00:39:17.365+0200 [DEBUG] provider.terraform-provider-digitalocean_v2.38.0: plugin address: network=unix address=/var/folders/91/35rl5xqd5f9_zwkb_mzk8hgm0000gn/T/plugin1941666953 timestamp="2024-05-23T00:39:17.365+0200"
2024-05-23T00:39:17.378+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Getting provider schema\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.378302+02:00\"}"
2024-05-23T00:39:17.378+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Found resource type\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.378322+02:00\",\"tf_resource_type\":\"null_resource\"}"
2024-05-23T00:39:17.378+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Found data source type\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.378337+02:00\",\"tf_data_source_type\":\"null_data_source\"}"
2024-05-23T00:39:17.378+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Calling downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.378699+02:00\"}"
2024-05-23T00:39:17.378+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Called downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.378715+02:00\"}"
2024-05-23T00:39:17.379+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-23T00:39:17.379+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 pid=90750
2024-05-23T00:39:17.379+0200 [DEBUG] provider: plugin exited
2024-05-23T00:39:17.380+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-23T00:39:17.380+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 pid=90751
2024-05-23T00:39:17.381+0200 [DEBUG] provider: plugin exited
2024-05-23T00:39:17.381+0200 [INFO] backend/local: apply calling Plan
2024-05-23T00:39:17.381+0200 [DEBUG] Building and walking plan graph for NormalMode
2024-05-23T00:39:17.381+0200 [DEBUG] ProviderTransformer: "null_resource.grant_permissions (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/hashicorp/null"]
2024-05-23T00:39:17.381+0200 [DEBUG] ProviderTransformer: "digitalocean_database_firewall.db-cluster-fw (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.381+0200 [DEBUG] ProviderTransformer: "digitalocean_app.do-app (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.381+0200 [DEBUG] ProviderTransformer: "digitalocean_database_cluster.db-cluster (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.381+0200 [DEBUG] ProviderTransformer: "digitalocean_database_db.api-db (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.381+0200 [DEBUG] ProviderTransformer: "digitalocean_database_user.api-user (expand)" (*terraform.nodeExpandPlannableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "var.services_names" references: []
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" references: [var.do_token]
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_user.api-user (expand)" references: [var.environments digitalocean_database_cluster.db-cluster (expand) var.services_names]
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_db.api-db (expand)" references: [var.environments digitalocean_database_cluster.db-cluster (expand) var.services_names]
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_firewall.db-cluster-fw (expand)" references: [null_resource.grant_permissions (expand) var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_app.do-app (expand)]
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "digitalocean_app.do-app (expand)" references: [var.environments var.app_name var.region var.environments var.environments var.environments var.environments var.services_names digitalocean_database_user.api-user (expand) digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster (expand) digitalocean_database_db.api-db (expand) digitalocean_database_user.api-user (expand) var.environments var.environments var.environments var.services_names digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db (expand) var.environments digitalocean_database_cluster.db-cluster (expand) var.services_names var.services_names]
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "var.environments" references: []
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "var.do_token" references: []
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "var.region" references: []
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "var.app_name" references: []
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_cluster.db-cluster (expand)" references: [var.environments var.region var.environments var.environments]
2024-05-23T00:39:17.381+0200 [DEBUG] ReferenceTransformer: "null_resource.grant_permissions (expand)" references: [digitalocean_database_cluster.db-cluster (expand) digitalocean_database_user.api-user (expand) digitalocean_database_db.api-db (expand) var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster (expand) digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db (expand) digitalocean_database_user.api-user (expand)]
2024-05-23T00:39:17.382+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: []
2024-05-23T00:39:17.382+0200 [DEBUG] Starting graph walk: walkPlan
2024-05-23T00:39:17.382+0200 [DEBUG] created provider logger: level=debug
2024-05-23T00:39:17.382+0200 [INFO] provider: configuring client automatic mTLS
2024-05-23T00:39:17.384+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5"]
2024-05-23T00:39:17.385+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 pid=90752
2024-05-23T00:39:17.385+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5
2024-05-23T00:39:17.392+0200 [INFO] provider.terraform-provider-null_v3.1.1_x5: configuring server automatic mTLS: timestamp="2024-05-23T00:39:17.391+0200"
2024-05-23T00:39:17.412+0200 [DEBUG] provider.terraform-provider-null_v3.1.1_x5: plugin address: network=unix address=/var/folders/91/35rl5xqd5f9_zwkb_mzk8hgm0000gn/T/plugin547871127 timestamp="2024-05-23T00:39:17.411+0200"
2024-05-23T00:39:17.412+0200 [DEBUG] provider: using plugin: version=5
2024-05-23T00:39:17.426+0200 [DEBUG] created provider logger: level=debug
2024-05-23T00:39:17.426+0200 [INFO] provider: configuring client automatic mTLS
2024-05-23T00:39:17.426+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Getting provider schema\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.426826+02:00\"}"
2024-05-23T00:39:17.427+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Found resource type\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.426840+02:00\",\"tf_resource_type\":\"null_resource\"}"
2024-05-23T00:39:17.427+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Found data source type\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.426858+02:00\",\"tf_data_source_type\":\"null_data_source\"}"
2024-05-23T00:39:17.427+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Preparing provider configuration\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.427379+02:00\"}"
2024-05-23T00:39:17.427+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Calling downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.427398+02:00\"}"
2024-05-23T00:39:17.427+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Called downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.427437+02:00\"}"
2024-05-23T00:39:17.429+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 args=[".terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0"]
2024-05-23T00:39:17.430+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 pid=90753
2024-05-23T00:39:17.430+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0
2024-05-23T00:39:17.437+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: configuring server automatic mTLS: timestamp="2024-05-23T00:39:17.437+0200"
2024-05-23T00:39:17.442+0200 [DEBUG] provider: using plugin: version=5
2024-05-23T00:39:17.442+0200 [DEBUG] provider.terraform-provider-digitalocean_v2.38.0: plugin address: address=/var/folders/91/35rl5xqd5f9_zwkb_mzk8hgm0000gn/T/plugin1246156117 network=unix timestamp="2024-05-23T00:39:17.442+0200"
2024-05-23T00:39:17.447+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Calling downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.447054+02:00\"}"
2024-05-23T00:39:17.447+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Called downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.447076+02:00\"}"
2024-05-23T00:39:17.455+0200 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" changed the config value, but that value is unused
2024-05-23T00:39:17.455+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:17 [INFO] DigitalOcean Client configured for URL: https://api.digitalocean.com: timestamp="2024-05-23T00:39:17.455+0200"
2024-05-23T00:39:17.455+0200 [DEBUG] Resource instance state not found for node "digitalocean_database_cluster.db-cluster[\"prod\"]", instance digitalocean_database_cluster.db-cluster["prod"]
2024-05-23T00:39:17.455+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_cluster.db-cluster[\"prod\"]" references: []
2024-05-23T00:39:17.455+0200 [DEBUG] refresh: digitalocean_database_cluster.db-cluster["prod"]: no state, so not refreshing
2024-05-23T00:39:17.458+0200 [DEBUG] Resource instance state not found for node "digitalocean_database_db.api-db[\"prod\"]", instance digitalocean_database_db.api-db["prod"]
2024-05-23T00:39:17.458+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_db.api-db[\"prod\"]" references: []
2024-05-23T00:39:17.458+0200 [DEBUG] Resource instance state not found for node "digitalocean_database_user.api-user[\"prod\"]", instance digitalocean_database_user.api-user["prod"]
2024-05-23T00:39:17.458+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_user.api-user[\"prod\"]" references: []
2024-05-23T00:39:17.458+0200 [DEBUG] refresh: digitalocean_database_db.api-db["prod"]: no state, so not refreshing
2024-05-23T00:39:17.458+0200 [DEBUG] refresh: digitalocean_database_user.api-user["prod"]: no state, so not refreshing
2024-05-23T00:39:17.459+0200 [DEBUG] Resource instance state not found for node "digitalocean_app.do-app[\"prod\"]", instance digitalocean_app.do-app["prod"]
2024-05-23T00:39:17.460+0200 [DEBUG] ReferenceTransformer: "digitalocean_app.do-app[\"prod\"]" references: []
2024-05-23T00:39:17.460+0200 [DEBUG] Resource instance state not found for node "null_resource.grant_permissions[\"prod\"]", instance null_resource.grant_permissions["prod"]
2024-05-23T00:39:17.460+0200 [DEBUG] ReferenceTransformer: "null_resource.grant_permissions[\"prod\"]" references: []
2024-05-23T00:39:17.460+0200 [DEBUG] refresh: null_resource.grant_permissions["prod"]: no state, so not refreshing
2024-05-23T00:39:17.460+0200 [DEBUG] refresh: digitalocean_app.do-app["prod"]: no state, so not refreshing
2024-05-23T00:39:17.460+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Calling downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.460798+02:00\"}"
2024-05-23T00:39:17.460+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Called downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:17.460811+02:00\"}"
2024-05-23T00:39:17.461+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-23T00:39:17.462+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 pid=90752
2024-05-23T00:39:17.462+0200 [DEBUG] provider: plugin exited
2024-05-23T00:39:17.467+0200 [WARN] Provider "registry.terraform.io/digitalocean/digitalocean" produced an invalid plan for digitalocean_app.do-app["prod"], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .spec[0].service[0].image[0].deploy_on_push: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].service[0].routes: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].service[1].routes: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].service[1].image[0].deploy_on_push: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].ingress[0].rule[0].cors: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].ingress[0].rule[1].cors: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
2024-05-23T00:39:17.468+0200 [DEBUG] Resource instance state not found for node "digitalocean_database_firewall.db-cluster-fw[\"prod\"]", instance digitalocean_database_firewall.db-cluster-fw["prod"]
2024-05-23T00:39:17.468+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_firewall.db-cluster-fw[\"prod\"]" references: []
2024-05-23T00:39:17.468+0200 [DEBUG] refresh: digitalocean_database_firewall.db-cluster-fw["prod"]: no state, so not refreshing
2024-05-23T00:39:17.470+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-23T00:39:17.470+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 pid=90753
2024-05-23T00:39:17.471+0200 [DEBUG] provider: plugin exited
2024-05-23T00:39:17.471+0200 [DEBUG] building apply graph to check for errors
2024-05-23T00:39:17.471+0200 [DEBUG] Resource state not found for node "digitalocean_app.do-app[\"prod\"]", instance digitalocean_app.do-app["prod"]
2024-05-23T00:39:17.471+0200 [DEBUG] Resource state not found for node "digitalocean_database_user.api-user[\"prod\"]", instance digitalocean_database_user.api-user["prod"]
2024-05-23T00:39:17.471+0200 [DEBUG] Resource state not found for node "digitalocean_database_firewall.db-cluster-fw[\"prod\"]", instance digitalocean_database_firewall.db-cluster-fw["prod"]
2024-05-23T00:39:17.471+0200 [DEBUG] Resource state not found for node "digitalocean_database_db.api-db[\"prod\"]", instance digitalocean_database_db.api-db["prod"]
2024-05-23T00:39:17.471+0200 [DEBUG] Resource state not found for node "digitalocean_database_cluster.db-cluster[\"prod\"]", instance digitalocean_database_cluster.db-cluster["prod"]
2024-05-23T00:39:17.471+0200 [DEBUG] Resource state not found for node "null_resource.grant_permissions[\"prod\"]", instance null_resource.grant_permissions["prod"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "null_resource.grant_permissions (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/null"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_database_db.api-db[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_database_firewall.db-cluster-fw (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_app.do-app (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_database_db.api-db (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_database_user.api-user[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_app.do-app[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_database_firewall.db-cluster-fw[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_database_cluster.db-cluster (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_database_user.api-user (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "digitalocean_database_cluster.db-cluster[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:17.471+0200 [DEBUG] ProviderTransformer: "null_resource.grant_permissions[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/null"]
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "null_resource.grant_permissions (expand)" references: [digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"]]
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_firewall.db-cluster-fw[\"prod\"]" references: [null_resource.grant_permissions (expand) null_resource.grant_permissions["prod"] var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_app.do-app["prod"] digitalocean_app.do-app (expand)]
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_db.api-db[\"prod\"]" references: [var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] var.services_names]
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" references: [var.do_token]
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_cluster.db-cluster (expand)" references: [var.environments var.region var.environments var.environments]
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_user.api-user (expand)" references: [var.environments var.services_names digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"]]
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "var.region" references: []
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "var.environments" references: []
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_cluster.db-cluster[\"prod\"]" references: [var.environments var.region var.environments var.environments]
2024-05-23T00:39:17.472+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_firewall.db-cluster-fw (expand)" references: [null_resource.grant_permissions (expand) null_resource.grant_permissions["prod"] var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_app.do-app["prod"] digitalocean_app.do-app (expand)]
2024-05-23T00:39:17.473+0200 [DEBUG] ReferenceTransformer: "var.do_token" references: []
2024-05-23T00:39:17.473+0200 [DEBUG] ReferenceTransformer: "null_resource.grant_permissions[\"prod\"]" references: [digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"]]
2024-05-23T00:39:17.473+0200 [DEBUG] ReferenceTransformer: "digitalocean_app.do-app[\"prod\"]" references: [var.environments var.app_name var.region var.environments var.services_names var.environments var.environments var.environments digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] var.environments var.services_names var.environments var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) var.environments var.services_names var.services_names]
2024-05-23T00:39:17.474+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: []
2024-05-23T00:39:17.474+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_db.api-db (expand)" references: [var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] var.services_names]
2024-05-23T00:39:17.474+0200 [DEBUG] ReferenceTransformer: "digitalocean_app.do-app (expand)" references: [var.environments var.app_name var.region var.environments var.environments var.services_names var.environments var.environments digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] var.environments var.environments var.services_names var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) var.environments var.services_names var.services_names]
2024-05-23T00:39:17.474+0200 [DEBUG] ReferenceTransformer: "var.services_names" references: []
2024-05-23T00:39:17.474+0200 [DEBUG] ReferenceTransformer: "var.app_name" references: []
2024-05-23T00:39:17.474+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_user.api-user[\"prod\"]" references: [var.environments digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] var.services_names]
2024-05-23T00:39:17.479+0200 [DEBUG] command: asking for input: "\nDo you want to perform these actions?"
yes
2024-05-23T00:39:22.246+0200 [INFO] backend/local: apply calling Apply
2024-05-23T00:39:22.246+0200 [DEBUG] Building and walking apply graph for NormalMode plan
2024-05-23T00:39:22.247+0200 [DEBUG] Resource state not found for node "digitalocean_database_user.api-user[\"prod\"]", instance digitalocean_database_user.api-user["prod"]
2024-05-23T00:39:22.247+0200 [DEBUG] Resource state not found for node "digitalocean_database_db.api-db[\"prod\"]", instance digitalocean_database_db.api-db["prod"]
2024-05-23T00:39:22.247+0200 [DEBUG] Resource state not found for node "digitalocean_database_cluster.db-cluster[\"prod\"]", instance digitalocean_database_cluster.db-cluster["prod"]
2024-05-23T00:39:22.247+0200 [DEBUG] Resource state not found for node "null_resource.grant_permissions[\"prod\"]", instance null_resource.grant_permissions["prod"]
2024-05-23T00:39:22.247+0200 [DEBUG] Resource state not found for node "digitalocean_app.do-app[\"prod\"]", instance digitalocean_app.do-app["prod"]
2024-05-23T00:39:22.247+0200 [DEBUG] Resource state not found for node "digitalocean_database_firewall.db-cluster-fw[\"prod\"]", instance digitalocean_database_firewall.db-cluster-fw["prod"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "digitalocean_app.do-app (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "digitalocean_database_db.api-db[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "null_resource.grant_permissions (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/null"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "null_resource.grant_permissions[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/null"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "digitalocean_database_firewall.db-cluster-fw (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "digitalocean_database_cluster.db-cluster (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "digitalocean_database_firewall.db-cluster-fw[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "digitalocean_database_user.api-user[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "digitalocean_database_cluster.db-cluster[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.248+0200 [DEBUG] ProviderTransformer: "digitalocean_app.do-app[\"prod\"]" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.249+0200 [DEBUG] ProviderTransformer: "digitalocean_database_user.api-user (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.249+0200 [DEBUG] ProviderTransformer: "digitalocean_database_db.api-db (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/digitalocean/digitalocean"]
2024-05-23T00:39:22.249+0200 [DEBUG] ReferenceTransformer: "var.region" references: []
2024-05-23T00:39:22.249+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_cluster.db-cluster[\"prod\"]" references: [var.environments var.environments var.environments var.region]
2024-05-23T00:39:22.249+0200 [DEBUG] ReferenceTransformer: "null_resource.grant_permissions[\"prod\"]" references: [digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"]]
2024-05-23T00:39:22.250+0200 [DEBUG] ReferenceTransformer: "digitalocean_app.do-app[\"prod\"]" references: [var.environments var.region var.app_name var.environments var.environments var.services_names var.environments var.environments digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] var.services_names var.environments var.environments var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] var.environments var.services_names var.services_names]
2024-05-23T00:39:22.250+0200 [DEBUG] ReferenceTransformer: "null_resource.grant_permissions (expand)" references: [digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand)]
2024-05-23T00:39:22.251+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_user.api-user (expand)" references: [var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) var.services_names]
2024-05-23T00:39:22.251+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_db.api-db (expand)" references: [var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) var.services_names]
2024-05-23T00:39:22.251+0200 [DEBUG] ReferenceTransformer: "var.services_names" references: []
2024-05-23T00:39:22.251+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_firewall.db-cluster-fw[\"prod\"]" references: [null_resource.grant_permissions["prod"] null_resource.grant_permissions (expand) var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_app.do-app["prod"] digitalocean_app.do-app (expand)]
2024-05-23T00:39:22.252+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_firewall.db-cluster-fw (expand)" references: [null_resource.grant_permissions["prod"] null_resource.grant_permissions (expand) var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_app.do-app["prod"] digitalocean_app.do-app (expand)]
2024-05-23T00:39:22.252+0200 [DEBUG] ReferenceTransformer: "var.app_name" references: []
2024-05-23T00:39:22.252+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_user.api-user[\"prod\"]" references: [var.environments var.services_names digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand)]
2024-05-23T00:39:22.252+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_cluster.db-cluster (expand)" references: [var.environments var.environments var.environments var.region]
2024-05-23T00:39:22.253+0200 [DEBUG] ReferenceTransformer: "var.do_token" references: []
2024-05-23T00:39:22.253+0200 [DEBUG] ReferenceTransformer: "var.environments" references: []
2024-05-23T00:39:22.253+0200 [DEBUG] ReferenceTransformer: "digitalocean_database_db.api-db[\"prod\"]" references: [var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) var.services_names]
2024-05-23T00:39:22.253+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: []
2024-05-23T00:39:22.253+0200 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" references: [var.do_token]
2024-05-23T00:39:22.253+0200 [DEBUG] ReferenceTransformer: "digitalocean_app.do-app (expand)" references: [var.environments var.app_name var.region var.environments var.environments var.services_names var.environments var.environments digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] digitalocean_database_user.api-user (expand) digitalocean_database_user.api-user["prod"] var.environments var.environments var.environments var.services_names digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] var.environments digitalocean_database_cluster.db-cluster["prod"] digitalocean_database_cluster.db-cluster (expand) digitalocean_database_db.api-db (expand) digitalocean_database_db.api-db["prod"] var.services_names var.services_names]
2024-05-23T00:39:22.254+0200 [DEBUG] Starting graph walk: walkApply
2024-05-23T00:39:22.255+0200 [DEBUG] created provider logger: level=debug
2024-05-23T00:39:22.255+0200 [INFO] provider: configuring client automatic mTLS
2024-05-23T00:39:22.257+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5"]
2024-05-23T00:39:22.260+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 pid=90761
2024-05-23T00:39:22.260+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5
2024-05-23T00:39:22.268+0200 [INFO] provider.terraform-provider-null_v3.1.1_x5: configuring server automatic mTLS: timestamp="2024-05-23T00:39:22.268+0200"
2024-05-23T00:39:22.295+0200 [DEBUG] provider: using plugin: version=5
2024-05-23T00:39:22.295+0200 [DEBUG] provider.terraform-provider-null_v3.1.1_x5: plugin address: address=/var/folders/91/35rl5xqd5f9_zwkb_mzk8hgm0000gn/T/plugin993796876 network=unix timestamp="2024-05-23T00:39:22.295+0200"
2024-05-23T00:39:22.312+0200 [DEBUG] created provider logger: level=debug
2024-05-23T00:39:22.312+0200 [INFO] provider: configuring client automatic mTLS
2024-05-23T00:39:22.312+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Getting provider schema\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:22.312284+02:00\"}"
2024-05-23T00:39:22.312+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Found resource type\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:22.312323+02:00\",\"tf_resource_type\":\"null_resource\"}"
2024-05-23T00:39:22.312+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Found data source type\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:22.312368+02:00\",\"tf_data_source_type\":\"null_data_source\"}"
2024-05-23T00:39:22.313+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Preparing provider configuration\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:22.312966+02:00\"}"
2024-05-23T00:39:22.313+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Calling downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:22.312989+02:00\"}"
2024-05-23T00:39:22.313+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Called downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:39:22.313030+02:00\"}"
2024-05-23T00:39:22.314+0200 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 args=[".terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0"]
2024-05-23T00:39:22.316+0200 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 pid=90762
2024-05-23T00:39:22.316+0200 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0
2024-05-23T00:39:22.324+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: configuring server automatic mTLS: timestamp="2024-05-23T00:39:22.324+0200"
2024-05-23T00:39:22.329+0200 [DEBUG] provider: using plugin: version=5
2024-05-23T00:39:22.330+0200 [DEBUG] provider.terraform-provider-digitalocean_v2.38.0: plugin address: address=/var/folders/91/35rl5xqd5f9_zwkb_mzk8hgm0000gn/T/plugin2027929900 network=unix timestamp="2024-05-23T00:39:22.329+0200"
2024-05-23T00:39:22.334+0200 [WARN] unexpected data:
registry.terraform.io/hashicorp/null:stderr=
| {"@caller":"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21","@level":"trace","@message":"Calling downstream","@module":"sdk.helper_schema","@timestamp":"2024-05-23T00:39:22.334756+02:00"}
| {"@caller":"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21","@level":"trace","@message":"Called downstream","@module":"sdk.helper_schema","@timestamp":"2024-05-23T00:39:22.334768+02:00"}
2024-05-23T00:39:22.341+0200 [WARN] ValidateProviderConfig from "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" changed the config value, but that value is unused
2024-05-23T00:39:22.342+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:22 [INFO] DigitalOcean Client configured for URL: https://api.digitalocean.com: timestamp="2024-05-23T00:39:22.342+0200"
2024-05-23T00:39:22.344+0200 [INFO] Starting apply for digitalocean_database_cluster.db-cluster["prod"]
2024-05-23T00:39:22.344+0200 [DEBUG] digitalocean_database_cluster.db-cluster["prod"]: applying the planned Create change
2024-05-23T00:39:22.345+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:22 [DEBUG] database cluster create configuration: &godo.DatabaseCreateRequest{Name:"prod-cluster", EngineSlug:"pg", Version:"15", SizeSlug:"db-s-1vcpu-1gb", Region:"fra1", NumNodes:1, PrivateNetworkUUID:"", Tags:[]string{}, BackupRestore:(*godo.DatabaseBackupRestore)(nil), ProjectID:"", StorageSizeMib:0x0}: timestamp="2024-05-23T00:39:22.345+0200"
2024-05-23T00:39:22.345+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:22 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
POST /v2/databases HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Content-Length: 149
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip
{
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"size": "db-s-1vcpu-1gb",
"region": "fra1",
"num_nodes": 1,
"private_network_uuid": "",
"project_id": ""
}
-----------------------------------------------------: timestamp="2024-05-23T00:39:22.345+0200"
2024-05-23T00:39:22.345+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:22 [DEBUG] POST https://api.digitalocean.com/v2/databases: timestamp="2024-05-23T00:39:22.345+0200"
2024-05-23T00:39:24.788+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:24 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 201 Created
Content-Length: 1197
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88804d44ea610d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:39:24 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4991
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=drx513HigR5DC5DcFoRQ0MrEOwEng8Q6NWO5zUbPZzA-1716417564-1.0.1.1-iBOqgA5e8ROpzIp7RJwldsMp30FdFFd.FU_o2a92R5AN0BVW.kiw7hsRC86ILKhspfrSQVBmDJ22zT0o4WbN8rT7OkXgaQIU0aGdcQlkEMQ; path=/; expires=Wed, 22-May-24 23:09:24 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 1d0e0724-e768-48b1-912a-1f46eb79dbd0
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15.0",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:AVNS_YZ381V0xjDCWJn-VjYh@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"password": "AVNS_YZ381V0xjDCWJn-VjYh",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:AVNS_YZ381V0xjDCWJn-VjYh@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"password": "AVNS_YZ381V0xjDCWJn-VjYh",
"ssl": true
},
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": false
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "",
"read_only": false,
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:39:24.788+0200"
2024-05-23T00:39:24.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:24 [INFO] database cluster Name: prod-cluster: timestamp="2024-05-23T00:39:24.789+0200"
2024-05-23T00:39:39.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:39 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:39:39.790+0200"
2024-05-23T00:39:39.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:39 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:39:39.790+0200"
2024-05-23T00:39:40.267+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:40 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88804db1c87a0d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:39:40 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4990
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=XUqn0DGRTSgTXOf5zf4mHBUTxO9D6IIZvSLbFxIj3DM-1716417580-1.0.1.1-aUwsy0EK8.nQ83WF7KsikubnXfDLQNdgARLfJBEgzgtcYky_lue54vFnf_IS3WwLx9UGl9BV2FBAGM_mzqwDqcMsw4rSZ8vG68bnnhca_Gs; path=/; expires=Wed, 22-May-24 23:09:40 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 4fe6dee3-ae4b-44d5-828a-da3b52ff0b14
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:39:40.267+0200"
2024-05-23T00:39:54.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:54 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:39:54.790+0200"
2024-05-23T00:39:54.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:54 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:39:54.790+0200"
2024-05-23T00:39:55.199+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:39:55 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88804e0f9a950d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:39:55 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4989
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=T90eH1oP270C8nBuFFRa3_jsV4q5tnIEMtQ_y91uObM-1716417595-1.0.1.1-XjP.2VfQEzqMlMzqtwIoR2U82MacJh63A1NWT4EvpuuCQ2AU63nFg.NebRdKGHhsD4gR8WbWO60JMSF.pkTloZ.d0XtpW4Oymv0tv1TE7tk; path=/; expires=Wed, 22-May-24 23:09:55 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 9bd734f7-cfdc-4e8c-9cf7-7e8f3a8778b4
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:39:55.199+0200"
2024-05-23T00:40:09.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:09 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:40:09.790+0200"
2024-05-23T00:40:09.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:09 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:40:09.790+0200"
2024-05-23T00:40:10.351+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:10 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88804e6d4d860d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:40:10 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4988
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=0agtnPHRMIdKuwPjNtTCXtG9tzquDOvhsz6BuQ_hRkc-1716417610-1.0.1.1-2cW.uIddhLmYVZtiExvwYupQKTxGUrQbNxY1qTse.LklK_djuR788_u9umdU7uB3JlB2WSqR4l9gV2yDpEjbkAXH4lktOrJuLJ23nNp8HDI; path=/; expires=Wed, 22-May-24 23:10:10 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 4df7b57f-31e7-41a5-aad6-0ff42a8156cf
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:40:10.350+0200"
2024-05-23T00:40:24.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:24 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:40:24.790+0200"
2024-05-23T00:40:24.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:24 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:40:24.790+0200"
2024-05-23T00:40:25.340+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:25 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88804ecb1f340d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:40:25 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4987
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=aZo0RyTZCWDKC0bb9VaqNbdruKfL0GlOI9G_u93hGM8-1716417625-1.0.1.1-GScoI7T9UoyrWWRpBVZPzOxFmQ.ZXDmDVwfbUxsXO3mL96gDW_Bi0n0z9BNWCqSNKo2atDVqz6p80sSyaFr1ik9Q46t2mVTXpf5nODkn2.A; path=/; expires=Wed, 22-May-24 23:10:25 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: b271588d-43ae-4b09-a11b-05e0e9231cb6
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:40:25.340+0200"
2024-05-23T00:40:39.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:39 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:40:39.790+0200"
2024-05-23T00:40:39.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:39 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:40:39.790+0200"
2024-05-23T00:40:40.294+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:40 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88804f28d8380d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:40:40 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4986
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=W3KJuCdpGU2TuzZu39nMK9zkEG9.hjG0z6EPk8LmU6o-1716417640-1.0.1.1-5fWfPprqInU5iY0IvN1ik8dRpMf_IpZFW2oizTq5lSCml5dbRCmrk93ALrWyguaj2lmgkkUPfZTls5O5Xwehx6H9aiu.1RMZ2aiIisfa4EU; path=/; expires=Wed, 22-May-24 23:10:40 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: c74cc678-f2ef-4263-9dd1-2a3987a84b6d
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:40:40.293+0200"
2024-05-23T00:40:54.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:54 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:40:54.790+0200"
2024-05-23T00:40:54.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:54 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:40:54.790+0200"
2024-05-23T00:40:55.445+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:40:55 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88804f8689700d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:40:55 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4985
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=dWFnyFFTy63mAaVW6grLyl9Ue5JUsYsQD3wv4ZCRUbI-1716417655-1.0.1.1-p0g47FoCjazJAe6AxZcbKznPv31tS7G.5_eou_9Mr1VtvAXYpa1gVyR46e_1kMXcKur31mgDwJWP7MGGLvE6JwSvVGA8A5AfkJpId3SMCYo; path=/; expires=Wed, 22-May-24 23:10:55 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 06eb15be-1805-4cfd-b83c-60f77db4cf7a
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:40:55.445+0200"
2024-05-23T00:41:09.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:09 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:41:09.790+0200"
2024-05-23T00:41:09.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:09 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:41:09.790+0200"
2024-05-23T00:41:10.377+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:10 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88804fe45cd70d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:41:10 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4984
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=h52dNQH3bGMNttWX.2nM44.JcKTBcnmktTPDriCFis4-1716417670-1.0.1.1-d53BxPvKfeJmcIrBRg2Ix_5sTsiVLznM1RVsC_KdPS3bVy_4hsGpQGueZqkY0xZR1XSGAh6XTtAVsdIdoSLJiNFMqHA57iSGZO61rZs_CMc; path=/; expires=Wed, 22-May-24 23:11:10 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 01ec87f0-30d2-4545-b967-c29a5f9e69b4
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:41:10.377+0200"
2024-05-23T00:41:24.792+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:24 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:41:24.791+0200"
2024-05-23T00:41:24.792+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:24 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:41:24.791+0200"
2024-05-23T00:41:25.349+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:25 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888050421f990d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:41:25 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4983
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=FlJ7VU_ys_5__qXBwmb7HfLUfDHefMStsTkYmx2mOfk-1716417685-1.0.1.1-4_3klA94v2JWdvGThHhxoQfXk68VUDH7g2NENET8gVsLIzb2OlLYpt1xepiwePn1q9WoRcyN1Itubvzineqx4JuHk6Koxjfr4AmwaAhWRR4; path=/; expires=Wed, 22-May-24 23:11:25 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 5bd3e02e-0601-4b2d-8e1b-8c0e8a530087
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:41:25.349+0200"
2024-05-23T00:41:39.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:39 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:41:39.791+0200"
2024-05-23T00:41:39.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:39 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:41:39.791+0200"
2024-05-23T00:41:40.033+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:40 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 8880509fc89e0d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:41:40 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4982
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=7CIjI79XeFMyCyLSpCmm0pZ0ZhS65ytM3O2jxxw.5t8-1716417700-1.0.1.1-aawXKuoP5oH3AHf.bdry88UieFmRr8G6dNn5sqfcLdqLhvtsdnatyyjA1NO2YXoIRL6idhVTR6HegjkvBMEtfISOWWFADW5eQl2lbKOOsCo; path=/; expires=Wed, 22-May-24 23:11:40 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 29a4330e-fd8d-41d1-9daa-a0c237461054
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": null,
"db_names": null,
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:41:40.033+0200"
2024-05-23T00:41:54.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:54 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:41:54.791+0200"
2024-05-23T00:41:54.791+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:54 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:41:54.791+0200"
2024-05-23T00:41:55.396+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:41:55 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888050fd89c10d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:41:55 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4981
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=LE2dZsKAOb1.SQqDhOWrMoW9vY3XcVvUAKOb25rAylM-1716417715-1.0.1.1-lqnd4FumpxAI8F8kv0W8atxinW7G8gkpAGgkHFaWcIfNUZCjyJyZMtDK8FYi4Lac5GuleoVA94JmqfLv1egbukwvhtP5WokQyCw6TbxRBCM; path=/; expires=Wed, 22-May-24 23:11:55 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: c7885e25-f74e-4244-8841-5d7a619911ef
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15.7",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": [
{
"name": "doadmin",
"role": "primary"
}
],
"db_names": [
"defaultdb"
],
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:41:55.396+0200"
2024-05-23T00:42:09.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:09 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:42:09.790+0200"
2024-05-23T00:42:09.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:09 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:42:09.790+0200"
2024-05-23T00:42:10.198+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:10 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 8880515b4df70d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:42:10 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4980
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=oZd5aDYPGPZ2UYpKalHnl.U4pTY8roPI8MIKOGaJVfk-1716417730-1.0.1.1-ytuVC92mJovNVQdsOE.iYFcos_.xmdP3HmnmQtuvH_KyB6JvRXPghypAjzv1kVOu5MCHpRGw3tF9kkslGqtd93K4D2OGXThYgVQuoebQiLI; path=/; expires=Wed, 22-May-24 23:12:10 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 411245e8-5bf0-49f9-878d-421394382796
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15.7",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": [
{
"name": "doadmin",
"role": "primary"
}
],
"db_names": [
"defaultdb"
],
"num_nodes": 1,
"region": "fra1",
"status": "creating",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:10.198+0200"
2024-05-23T00:42:24.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:24 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:42:24.790+0200"
2024-05-23T00:42:24.790+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:24 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:42:24.790+0200"
2024-05-23T00:42:25.148+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888051b91e7e0d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:42:25 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4979
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=qdaFGPNPeTvSw02sAU1W4PkdHlxJkzt2p.Q_PhlafBk-1716417745-1.0.1.1-6TBLGV_MsPcnpOSh3cjfcZXVR_.ZnJ1cy7a3D9MQP2LJk07xMxqc0OQuEYeuyYF5wTomAV6DsrmcxwYMQtTrXj5i_yajsBaLi9HXXQYKU9w; path=/; expires=Wed, 22-May-24 23:12:25 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 0da6eede-2b39-4c8d-98d5-de29ce65a525
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15.7",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": [
{
"name": "doadmin",
"role": "primary"
}
],
"db_names": [
"defaultdb"
],
"num_nodes": 1,
"region": "fra1",
"status": "online",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:25.148+0200"
2024-05-23T00:42:25.150+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:42:25.148+0200"
2024-05-23T00:42:25.152+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3: timestamp="2024-05-23T00:42:25.148+0200"
2024-05-23T00:42:25.525+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888051bb4f680d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:42:25 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4978
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=fvnnEwqA2ANAEac2CMHE7UGaBPtuHfEGMlpkvETUrF8-1716417745-1.0.1.1-CnWXp_0VCm09DK5O2E1dorPk9a8hljLqPFUWTL.q9qlhxSgwb_yxhTQDBggLlO9FY2708jnWyNz3QhjoUonhtqqxk1J8HvG8O4htmpAGXOs; path=/; expires=Wed, 22-May-24 23:12:25 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 69411fe3-4e27-49ea-820e-ff56e8292106
X-Response-From: service
{
"database": {
"id": "f945b25c-52d3-40c4-8f4f-34f4980056b3",
"name": "prod-cluster",
"engine": "pg",
"version": "15",
"semantic_version": "15.7",
"connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"private_connection": {
"protocol": "postgresql",
"uri": "postgresql://doadmin:@private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com:25060/defaultdb?sslmode=require",
"database": "defaultdb",
"host": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 25060,
"user": "doadmin",
"ssl": true
},
"metrics_endpoints": [
{
"host": "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"port": 9273
}
],
"users": [
{
"name": "doadmin",
"role": "primary"
}
],
"db_names": [
"defaultdb"
],
"num_nodes": 1,
"region": "fra1",
"status": "online",
"created_at": "2024-05-22T22:39:24Z",
"maintenance_window": {
"day": "tuesday",
"hour": "16:17:16",
"pending": true
},
"size": "db-s-1vcpu-1gb",
"tags": null,
"private_network_uuid": "394c991e-2768-4060-95d8-55e7bdd8b81e",
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978",
"read_only": false,
"version_end_of_life": "2027-11-11T00:00:00Z",
"version_end_of_availability": "2027-05-12T00:00:00Z",
"storage_size_mib": 10240
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:25.524+0200"
2024-05-23T00:42:25.537+0200 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-05-23T00:42:25.540+0200 [INFO] Starting apply for digitalocean_database_db.api-db["prod"]
2024-05-23T00:42:25.540+0200 [INFO] Starting apply for digitalocean_database_user.api-user["prod"]
2024-05-23T00:42:25.540+0200 [DEBUG] digitalocean_database_db.api-db["prod"]: applying the planned Create change
2024-05-23T00:42:25.540+0200 [DEBUG] digitalocean_database_user.api-user["prod"]: applying the planned Create change
2024-05-23T00:42:25.540+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] Database DB create configuration: &godo.DatabaseCreateDBRequest{Name:"api-db"}: timestamp="2024-05-23T00:42:25.540+0200"
2024-05-23T00:42:25.541+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
POST /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3/dbs HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Content-Length: 18
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip
{
"name": "api-db"
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:25.541+0200"
2024-05-23T00:42:25.541+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] POST https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3/dbs: timestamp="2024-05-23T00:42:25.541+0200"
2024-05-23T00:42:25.541+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] Locking "digitalocean_database_cluster/f945b25c-52d3-40c4-8f4f-34f4980056b3/users": timestamp="2024-05-23T00:42:25.541+0200"
2024-05-23T00:42:25.541+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] Locked "digitalocean_database_cluster/f945b25c-52d3-40c4-8f4f-34f4980056b3/users": timestamp="2024-05-23T00:42:25.541+0200"
2024-05-23T00:42:25.541+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] Database User create configuration: &godo.DatabaseCreateUserRequest{Name:"api-user", MySQLSettings:(*godo.DatabaseMySQLUserSettings)(nil), Settings:(*godo.DatabaseUserSettings)(nil)}: timestamp="2024-05-23T00:42:25.541+0200"
2024-05-23T00:42:25.542+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
POST /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3/users HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Content-Length: 20
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip
{
"name": "api-user"
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:25.541+0200"
2024-05-23T00:42:25.542+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:25 [DEBUG] POST https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3/users: timestamp="2024-05-23T00:42:25.541+0200"
2024-05-23T00:42:26.346+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:26 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 201 Created
Content-Length: 25
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888051bdb8490d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:42:26 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4977
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=oPgQtbDrznXbjvS4FFQnVlI_4np5tnJsNX45waJi4.g-1716417746-1.0.1.1-abQXIr5MBPsP.vB9XdMs4W5L9vYAWN5h6FCJI7A7jH8o.pO0._RM.UTSV6wkEqUqUkNaCJNwY5Y8.A0cjfrQGh1iEVHnIsSDVf9LyvnGrFM; path=/; expires=Wed, 22-May-24 23:12:26 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: d177dadf-25cc-4765-ad03-04d0266e7378
X-Response-From: service
{
"db": {
"name": "api-db"
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:26.346+0200"
2024-05-23T00:42:26.347+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:26 [INFO] Database DB Name: api-db: timestamp="2024-05-23T00:42:26.346+0200"
2024-05-23T00:42:26.347+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:26 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3/dbs/api-db HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:42:26.347+0200"
2024-05-23T00:42:26.347+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:26 [DEBUG] GET https://api.digitalocean.com/v2/databases/f945b25c-52d3-40c4-8f4f-34f4980056b3/dbs/api-db: timestamp="2024-05-23T00:42:26.347+0200"
2024-05-23T00:42:26.787+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:26 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Content-Length: 25
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888051c2ca340d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:42:26 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4975
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=h63DlDLKctyaRDtAi9jQrr1uEtoVaTt5DURQ_BcduAI-1716417746-1.0.1.1-DP.lBolelQqLw_IArA.MngNjopt8z_lu0DmgSlQHEqfuUELqjPbBhrEg3ruDzy1kA9IeMONvpCckZ.8prr0zbxyllD7Umq.PXfilHSqXMu8; path=/; expires=Wed, 22-May-24 23:12:26 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 9a03b5af-9116-4f36-95a8-1909a2d8ff77
X-Response-From: service
{
"db": {
"name": "api-db"
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:26.786+0200"
2024-05-23T00:42:26.793+0200 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-05-23T00:42:27.563+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 201 Created
Content-Length: 83
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888051bdb84a0d42-ARN
Content-Type: application/json; charset=utf-8
Date: Wed, 22 May 2024 22:42:27 GMT
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4976
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=vN4DT5QR.llcBWcQMMyJbwppEJ.GFRC9y0lZ5WKLKls-1716417747-1.0.1.1-bB2GgwjUGBasRtluM_k9a7lZ9Mg8pxseGGKdeSC7p7Q8iT.CNzqQDbd9VgKcKrrVTfHZF3lPeZ6TVZX_0r0Zfwoi8M2keldNzawLK8RX6gM; path=/; expires=Wed, 22-May-24 23:12:27 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 6c092156-d7dc-46af-825e-a8f261bf645a
X-Response-From: service
{
"user": {
"name": "api-user",
"role": "normal",
"password": "AVNS_sOv7Pds_ObilDWHDFSS"
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:27.562+0200"
2024-05-23T00:42:27.563+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [INFO] Database User Name: api-user: timestamp="2024-05-23T00:42:27.562+0200"
2024-05-23T00:42:27.563+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] Unlocking "digitalocean_database_cluster/f945b25c-52d3-40c4-8f4f-34f4980056b3/users": timestamp="2024-05-23T00:42:27.563+0200"
2024-05-23T00:42:27.563+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] Unlocked "digitalocean_database_cluster/f945b25c-52d3-40c4-8f4f-34f4980056b3/users": timestamp="2024-05-23T00:42:27.563+0200"
2024-05-23T00:42:27.569+0200 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-05-23T00:42:27.571+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Calling downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:42:27.571430+02:00\"}"
2024-05-23T00:42:27.571+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Called downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:42:27.571477+02:00\"}"
2024-05-23T00:42:27.572+0200 [INFO] Starting apply for null_resource.grant_permissions["prod"]
2024-05-23T00:42:27.572+0200 [DEBUG] null_resource.grant_permissions["prod"]: applying the planned Create change
2024-05-23T00:42:27.573+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Calling downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:42:27.573225+02:00\"}"
2024-05-23T00:42:27.573+0200 [WARN] unexpected data: registry.terraform.io/hashicorp/null:stderr="{\"@caller\":\"github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0/internal/logging/helper_schema.go:21\",\"@level\":\"trace\",\"@message\":\"Called downstream\",\"@module\":\"sdk.helper_schema\",\"@timestamp\":\"2024-05-23T00:42:27.573287+02:00\"}"
2024-05-23T00:42:27.586+0200 [WARN] Provider "registry.terraform.io/digitalocean/digitalocean" produced an invalid plan for digitalocean_app.do-app["prod"], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .spec[0].ingress[0].rule[0].cors: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].ingress[0].rule[1].cors: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].service[0].image[0].deploy_on_push: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].service[0].routes: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].service[1].image[0].deploy_on_push: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
- .spec[0].service[1].routes: attribute representing nested block must not be unknown itself; set nested attribute values to unknown instead
2024-05-23T00:42:27.586+0200 [INFO] Starting apply for digitalocean_app.do-app["prod"]
2024-05-23T00:42:27.588+0200 [DEBUG] digitalocean_app.do-app["prod"]: applying the planned Create change
2024-05-23T00:42:27.590+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.0.routes" from ComputedKeys: timestamp="2024-05-23T00:42:27.589+0200"
2024-05-23T00:42:27.590+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.0.image.0.deploy_on_push" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.590+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.1.image.0.deploy_on_push" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.590+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.1.routes" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.590+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.ingress.0.rule.0.cors" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.ingress.0.rule.1.cors" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.domains" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.0.image.0.deploy_on_push" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.0.routes" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.1.routes" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.1.image.0.deploy_on_push" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.0.image.0.deploy_on_push" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.0.image.0.deploy_on_push" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.593+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.0.routes" from ComputedKeys: timestamp="2024-05-23T00:42:27.590+0200"
2024-05-23T00:42:27.594+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.1.image.0.deploy_on_push" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.594+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.1.image.0.deploy_on_push" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.594+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.service.1.routes" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.594+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.ingress.0.rule.0.cors" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.595+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.ingress.0.rule.1.cors" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.595+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.ingress.0.rule.0.cors" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.595+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.ingress.0.rule.1.cors" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.595+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.ingress.0.rule.0.cors" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.595+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.ingress.0.rule.1.cors" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.595+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] setting computed for "spec.0.domains" from ComputedKeys: timestamp="2024-05-23T00:42:27.591+0200"
2024-05-23T00:42:27.595+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] App create request: &godo.AppCreateRequest{Spec:(*godo.AppSpec)(0x14000001320), ProjectID:""}: timestamp="2024-05-23T00:42:27.592+0200"
2024-05-23T00:42:27.595+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
POST /v2/apps HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Content-Length: 1126
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip
{
"spec": {
"name": "your-app-name-prod",
"services": [
{
"name": "api",
"image": {
"registry_type": "DOCKER_HUB",
"repository": "nginx",
"tag": "latest"
},
"envs": [
{
"key": "DB_PORT",
"value": "25060",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_PASSWORD",
"value": "AVNS_sOv7Pds_ObilDWHDFSS",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_NAME",
"value": "api-db",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_USER",
"value": "api-user",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_HOST",
"value": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"scope": "RUN_AND_BUILD_TIME"
}
],
"instance_size_slug": "apps-s-1vcpu-0.5gb",
"instance_count": 1,
"http_port": 80
},
{
"name": "web",
"image": {
"registry_type": "DOCKER_HUB",
"repository": "nginx",
"tag": "latest"
},
"instance_size_slug": "basic-xxs",
"instance_count": 1,
"http_port": 80
}
],
"databases": [
{
"name": "api-db",
"production": true,
"cluster_name": "prod-cluster",
"db_name": "api-db"
}
],
"domains": [
{
"domain": "your-domain.com"
}
],
"region": "fra1",
"alerts": [
{
"rule": "DEPLOYMENT_FAILED"
}
],
"ingress": {
"rules": [
{
"match": {
"path": {
"prefix": "/api"
}
},
"component": {
"name": "api"
}
},
{
"match": {
"path": {
"prefix": "/"
}
},
"component": {
"name": "web"
}
}
]
}
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:27.592+0200"
2024-05-23T00:42:27.597+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:27 [DEBUG] POST https://api.digitalocean.com/v2/apps: timestamp="2024-05-23T00:42:27.592+0200"
2024-05-23T00:42:28.413+0200 [WARN] Errors while provisioning null_resource.grant_permissions["prod"] with "local-exec", so aborting
2024-05-23T00:42:28.420+0200 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-05-23T00:42:28.420+0200 [ERROR] vertex "null_resource.grant_permissions[\"prod\"]" error: local-exec provisioner error
2024-05-23T00:42:29.041+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:29 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888051ca9dde0d42-ARN
Content-Type: application/json
Date: Wed, 22 May 2024 22:42:28 GMT
Grpc-Metadata-Content-Type: application/grpc
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4974
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=Q7mNJ1ZVu.rDNFxeyzkZs.UmjYSOSerx1C6_I0spf9o-1716417748-1.0.1.1-kXYf8XWbixC3Tya.Xva2B5pJa498UQq8.RH2J9Vu1pULWYpLBIjwRCDgVW2914t2PFs44FE.FBkHhekqiITDws2jfn6fkV7U7PoYvUSx_dg; path=/; expires=Wed, 22-May-24 23:12:28 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 282bfa1b-4639-47c3-901a-6dda77fbdb5b
X-Response-From: service
{
"app": {
"id": "9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7",
"owner_uuid": "91c181c4-7b2c-4ce3-acd3-99e3b72436db",
"spec": {
"name": "your-app-name-prod",
"services": [
{
"name": "api",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"envs": [
{
"key": "DB_PORT",
"value": "25060",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_PASSWORD",
"value": "AVNS_sOv7Pds_ObilDWHDFSS",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_NAME",
"value": "api-db",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_USER",
"value": "api-user",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_HOST",
"value": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"scope": "RUN_AND_BUILD_TIME"
}
],
"instance_size_slug": "apps-s-1vcpu-0.5gb",
"instance_count": 1,
"http_port": 80
},
{
"name": "web",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"instance_size_slug": "basic-xxs",
"instance_count": 1,
"http_port": 80
}
],
"databases": [
{
"name": "api-db",
"production": true,
"cluster_name": "prod-cluster",
"db_name": "api-db"
}
],
"domains": [
{
"domain": "your-domain.com",
"type": "PRIMARY"
}
],
"region": "fra",
"alerts": [
{
"rule": "DEPLOYMENT_FAILED"
}
],
"ingress": {
"rules": [
{
"match": {
"path": {
"prefix": "/api"
}
},
"component": {
"name": "api"
}
},
{
"match": {
"path": {
"prefix": "/"
}
},
"component": {
"name": "web"
}
}
]
},
"features": [
"buildpack-stack=ubuntu-22"
]
},
"last_deployment_active_at": "2024-05-22T22:42:28Z",
"created_at": "2024-05-22T22:42:28.790801472Z",
"updated_at": "2024-05-22T22:42:28.790801472Z",
"pending_deployment": {
"id": "0cf706e3-cb7b-4fcd-a57a-546ab6bd2b97",
"spec": {
"name": "your-app-name-prod",
"services": [
{
"name": "api",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"envs": [
{
"key": "DB_PORT",
"value": "25060",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_PASSWORD",
"value": "AVNS_sOv7Pds_ObilDWHDFSS",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_NAME",
"value": "api-db",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_USER",
"value": "api-user",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_HOST",
"value": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"scope": "RUN_AND_BUILD_TIME"
}
],
"instance_size_slug": "apps-s-1vcpu-0.5gb",
"instance_count": 1,
"http_port": 80
},
{
"name": "web",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"instance_size_slug": "basic-xxs",
"instance_count": 1,
"http_port": 80
}
],
"databases": [
{
"name": "api-db",
"production": true,
"cluster_name": "prod-cluster",
"db_name": "api-db"
}
],
"domains": [
{
"domain": "your-domain.com",
"type": "PRIMARY"
}
],
"region": "fra",
"alerts": [
{
"rule": "DEPLOYMENT_FAILED"
}
],
"ingress": {
"rules": [
{
"match": {
"path": {
"prefix": "/api"
}
},
"component": {
"name": "api"
}
},
{
"match": {
"path": {
"prefix": "/"
}
},
"component": {
"name": "web"
}
}
]
},
"features": [
"buildpack-stack=ubuntu-22"
]
},
"services": [
{
"name": "api",
"source_image_digest": "sha256:a484819eb60211f5299034ac80f6a681b06f89e65866ce91f356ed7c72af059c"
},
{
"name": "web",
"source_image_digest": "sha256:a484819eb60211f5299034ac80f6a681b06f89e65866ce91f356ed7c72af059c"
}
],
"phase_last_updated_at": "2024-05-22T22:42:28Z",
"created_at": "2024-05-22T22:42:28Z",
"updated_at": "2024-05-22T22:42:28Z",
"cause": "initial deployment",
"progress": {
"pending_steps": 10,
"total_steps": 10,
"steps": [
{
"name": "build",
"status": "PENDING",
"steps": [
{
"name": "initialize",
"status": "PENDING"
},
{
"name": "components",
"status": "PENDING",
"steps": [
{
"name": "api",
"status": "PENDING",
"component_name": "api",
"message_base": "Building service"
},
{
"name": "web",
"status": "PENDING",
"component_name": "web",
"message_base": "Building service"
},
{
"name": "api-db",
"status": "PENDING",
"component_name": "api-db",
"message_base": "Creating database"
}
]
}
]
},
{
"name": "deploy",
"status": "PENDING",
"steps": [
{
"name": "initialize",
"status": "PENDING"
},
{
"name": "components",
"status": "PENDING",
"steps": [
{
"name": "api",
"status": "PENDING",
"steps": [
{
"name": "deploy",
"status": "PENDING",
"component_name": "api",
"message_base": "Deploying service"
},
{
"name": "wait",
"status": "PENDING",
"component_name": "api",
"message_base": "Waiting for service"
}
],
"component_name": "api"
},
{
"name": "web",
"status": "PENDING",
"steps": [
{
"name": "deploy",
"status": "PENDING",
"component_name": "web",
"message_base": "Deploying service"
},
{
"name": "wait",
"status": "PENDING",
"component_name": "web",
"message_base": "Waiting for service"
}
],
"component_name": "web"
}
]
},
{
"name": "finalize",
"status": "PENDING"
}
]
}
]
},
"phase": "PENDING_BUILD",
"tier_slug": "basic",
"cause_details": {
"digitalocean_user_action": {
"user": {
"uuid": "91c181c4-7b2c-4ce3-acd3-99e3b72436db",
"email": "rasmus@transcendsoftware.se",
"full_name": "rasmus@transcendsoftware.se"
},
"name": "CREATE_DEPLOYMENT"
},
"type": "MANUAL"
},
"timing": {
"pending": "0.932739412s"
}
},
"last_deployment_created_at": "2024-05-22T22:42:28Z",
"region": {
"slug": "fra",
"label": "Frankfurt",
"flag": "germany",
"continent": "Europe",
"data_centers": [
"fra1"
]
},
"tier_slug": "basic",
"domains": [
{
"id": "dfffe135-e45f-4bbb-a28a-5bdc3e50b180",
"spec": {
"domain": "your-domain.com",
"type": "PRIMARY"
},
"phase": "PENDING",
"progress": {
"steps": [
{
"name": "default-ingress-ready",
"status": "PENDING"
},
{
"name": "ensure-zone",
"status": "PENDING"
},
{
"name": "ensure-ns-records",
"status": "PENDING"
},
{
"name": "verify-nameservers",
"status": "PENDING"
},
{
"name": "ensure-record",
"status": "PENDING"
},
{
"name": "ensure-alias-record",
"status": "PENDING"
},
{
"name": "ensure-wildcard-record",
"status": "PENDING"
},
{
"name": "verify-cname",
"status": "PENDING"
},
{
"name": "ensure-ssl-txt-record-saved",
"status": "PENDING"
},
{
"name": "ensure-ssl-txt-record",
"status": "PENDING"
},
{
"name": "ensure-renewal-email",
"status": "PENDING"
},
{
"name": "ensure-CA-authorization",
"status": "PENDING"
},
{
"name": "ensure-certificate",
"status": "PENDING"
},
{
"name": "create-deployment",
"status": "PENDING"
},
{
"name": "configuration-alert",
"status": "PENDING"
}
]
},
"validation": {},
"certificate_expires_at": "1970-01-01T00:00:00Z"
}
],
"build_config": {}
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:29.040+0200"
2024-05-23T00:42:29.071+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:29 [DEBUG] Waiting for app (9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7) deployment to become active: timestamp="2024-05-23T00:42:29.041+0200"
2024-05-23T00:42:39.043+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:39 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/apps/9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7/deployments?per_page=20 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:42:39.043+0200"
2024-05-23T00:42:39.043+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:39 [DEBUG] GET https://api.digitalocean.com/v2/apps/9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7/deployments?per_page=20: timestamp="2024-05-23T00:42:39.043+0200"
2024-05-23T00:42:39.488+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:39 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 888052122f9d0d42-ARN
Content-Type: application/json
Date: Wed, 22 May 2024 22:42:39 GMT
Grpc-Metadata-Content-Type: application/grpc
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4973
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=IAdhe5i.kZ60_7eIPdnSS5ZreTB4HM_bYcdAtouE8oI-1716417759-1.0.1.1-L7qULqEyRpbqKAuTCDbb8jvv5nnwFy07LkuiTmQyYx0sGO9oafBIeN.4Q25qFG8LNIfgZzRXTlFpzh8UeDyH7NV_JAM.X2J4.6EDB9PIOMM; path=/; expires=Wed, 22-May-24 23:12:39 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 813a488b-4aa8-4104-afaa-1f04c583942a
X-Response-From: service
{
"meta": {
"total": 1
},
"links": {
"pages": {}
},
"deployments": [
{
"id": "0cf706e3-cb7b-4fcd-a57a-546ab6bd2b97",
"spec": {
"name": "your-app-name-prod",
"services": [
{
"name": "api",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"envs": [
{
"key": "DB_PORT",
"value": "25060",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_PASSWORD",
"value": "AVNS_sOv7Pds_ObilDWHDFSS",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_NAME",
"value": "api-db",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_USER",
"value": "api-user",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_HOST",
"value": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"scope": "RUN_AND_BUILD_TIME"
}
],
"instance_size_slug": "apps-s-1vcpu-0.5gb",
"instance_count": 1,
"http_port": 80
},
{
"name": "web",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"instance_size_slug": "basic-xxs",
"instance_count": 1,
"http_port": 80
}
],
"databases": [
{
"name": "api-db",
"production": true,
"cluster_name": "prod-cluster",
"db_name": "api-db"
}
],
"domains": [
{
"domain": "your-domain.com",
"type": "PRIMARY"
}
],
"region": "fra",
"alerts": [
{
"rule": "DEPLOYMENT_FAILED"
}
],
"ingress": {
"rules": [
{
"match": {
"path": {
"prefix": "/api"
}
},
"component": {
"name": "api"
}
},
{
"match": {
"path": {
"prefix": "/"
}
},
"component": {
"name": "web"
}
}
]
},
"features": [
"buildpack-stack=ubuntu-22"
]
},
"services": [
{
"name": "api",
"source_image_digest": "sha256:a484819eb60211f5299034ac80f6a681b06f89e65866ce91f356ed7c72af059c"
},
{
"name": "web",
"source_image_digest": "sha256:a484819eb60211f5299034ac80f6a681b06f89e65866ce91f356ed7c72af059c"
}
],
"phase_last_updated_at": "2024-05-22T22:42:31Z",
"created_at": "2024-05-22T22:42:28Z",
"updated_at": "2024-05-22T22:42:37Z",
"cause": "initial deployment",
"progress": {
"pending_steps": 1,
"running_steps": 2,
"success_steps": 7,
"total_steps": 10,
"steps": [
{
"name": "build",
"status": "SUCCESS",
"steps": [
{
"name": "initialize",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:30.923671134Z",
"ended_at": "2024-05-22T22:42:30.958000084Z"
},
{
"name": "components",
"status": "SUCCESS",
"steps": [
{
"name": "api",
"status": "SUCCESS",
"reason": {
"code": "PreBuiltImage",
"message": "Your build job was skipped because you specified a pre-built image."
},
"component_name": "api",
"message_base": "Building service"
},
{
"name": "web",
"status": "SUCCESS",
"reason": {
"code": "PreBuiltImage",
"message": "Your build job was skipped because you specified a pre-built image."
},
"component_name": "web",
"message_base": "Building service"
},
{
"name": "api-db",
"status": "SUCCESS",
"component_name": "api-db",
"message_base": "Creating database"
}
],
"started_at": "2024-05-22T22:42:30.958038722Z",
"ended_at": "2024-05-22T22:42:31.027528025Z"
}
],
"started_at": "2024-05-22T22:42:30.923620099Z",
"ended_at": "2024-05-22T22:42:31.028024545Z"
},
{
"name": "deploy",
"status": "RUNNING",
"steps": [
{
"name": "initialize",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:32.750579403Z",
"ended_at": "2024-05-22T22:42:33.360238347Z"
},
{
"name": "components",
"status": "RUNNING",
"steps": [
{
"name": "api",
"status": "RUNNING",
"steps": [
{
"name": "deploy",
"status": "SUCCESS",
"component_name": "api",
"message_base": "Deploying service"
},
{
"name": "wait",
"status": "RUNNING",
"component_name": "api",
"message_base": "Waiting for service"
}
],
"component_name": "api"
},
{
"name": "web",
"status": "RUNNING",
"steps": [
{
"name": "deploy",
"status": "SUCCESS",
"component_name": "web",
"message_base": "Deploying service"
},
{
"name": "wait",
"status": "RUNNING",
"component_name": "web",
"message_base": "Waiting for service"
}
],
"component_name": "web"
}
],
"started_at": "2024-05-22T22:42:33.360284824Z"
},
{
"name": "finalize",
"status": "PENDING"
}
],
"started_at": "2024-05-22T22:42:32.750525790Z"
}
],
"summary_steps": [
{
"name": "deploy.components.api.wait",
"status": "RUNNING",
"component_name": "api",
"message_base": "Waiting for service"
},
{
"name": "deploy.components.web.wait",
"status": "RUNNING",
"component_name": "web",
"message_base": "Waiting for service"
}
]
},
"phase": "DEPLOYING",
"tier_slug": "basic",
"cause_details": {
"digitalocean_user_action": {
"user": {
"uuid": "91c181c4-7b2c-4ce3-acd3-99e3b72436db",
"email": "rasmus@transcendsoftware.se",
"full_name": "rasmus@transcendsoftware.se"
},
"name": "CREATE_DEPLOYMENT"
},
"type": "MANUAL"
},
"timing": {
"pending": "2.923671134s",
"build_total": "0.104353411s",
"build_billable": "0s",
"database_provision": "0.068759111s"
}
}
]
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:39.488+0200"
2024-05-23T00:42:49.043+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/apps/9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7/deployments/0cf706e3-cb7b-4fcd-a57a-546ab6bd2b97 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:42:49.043+0200"
2024-05-23T00:42:49.043+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] GET https://api.digitalocean.com/v2/apps/9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7/deployments/0cf706e3-cb7b-4fcd-a57a-546ab6bd2b97: timestamp="2024-05-23T00:42:49.043+0200"
2024-05-23T00:42:49.521+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 88805250aeca0d42-ARN
Content-Type: application/json
Date: Wed, 22 May 2024 22:42:49 GMT
Grpc-Metadata-Content-Type: application/grpc
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4972
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=w2rlwQJBePA1rrc0r9JHDBqbIEgMgk9XB_xKQtqHJFg-1716417769-1.0.1.1-ACRQdSwaOBIwoYS8SnRdXBPs7j310nmhQ4JLFRR548xFa_jwgPJno8KSD5c3tXc7tVsPM8GETKI1UWybT5Xtj7glmXKKw4zx91yV4DOKSV8; path=/; expires=Wed, 22-May-24 23:12:49 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 7b510f08-1b48-41de-9943-0beb316f5114
X-Response-From: service
{
"deployment": {
"id": "0cf706e3-cb7b-4fcd-a57a-546ab6bd2b97",
"spec": {
"name": "your-app-name-prod",
"services": [
{
"name": "api",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"envs": [
{
"key": "DB_PORT",
"value": "25060",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_PASSWORD",
"value": "AVNS_sOv7Pds_ObilDWHDFSS",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_NAME",
"value": "api-db",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_USER",
"value": "api-user",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_HOST",
"value": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"scope": "RUN_AND_BUILD_TIME"
}
],
"instance_size_slug": "apps-s-1vcpu-0.5gb",
"instance_count": 1,
"http_port": 80
},
{
"name": "web",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"instance_size_slug": "basic-xxs",
"instance_count": 1,
"http_port": 80
}
],
"databases": [
{
"name": "api-db",
"production": true,
"cluster_name": "prod-cluster",
"db_name": "api-db"
}
],
"domains": [
{
"domain": "your-domain.com",
"type": "PRIMARY"
}
],
"region": "fra",
"alerts": [
{
"rule": "DEPLOYMENT_FAILED"
}
],
"ingress": {
"rules": [
{
"match": {
"path": {
"prefix": "/api"
}
},
"component": {
"name": "api"
}
},
{
"match": {
"path": {
"prefix": "/"
}
},
"component": {
"name": "web"
}
}
]
},
"features": [
"buildpack-stack=ubuntu-22"
]
},
"services": [
{
"name": "api",
"source_image_digest": "sha256:a484819eb60211f5299034ac80f6a681b06f89e65866ce91f356ed7c72af059c"
},
{
"name": "web",
"source_image_digest": "sha256:a484819eb60211f5299034ac80f6a681b06f89e65866ce91f356ed7c72af059c"
}
],
"phase_last_updated_at": "2024-05-22T22:42:47Z",
"created_at": "2024-05-22T22:42:28Z",
"updated_at": "2024-05-22T22:42:47Z",
"cause": "initial deployment",
"progress": {
"success_steps": 10,
"total_steps": 10,
"steps": [
{
"name": "build",
"status": "SUCCESS",
"steps": [
{
"name": "initialize",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:30.923671134Z",
"ended_at": "2024-05-22T22:42:30.958000084Z"
},
{
"name": "components",
"status": "SUCCESS",
"steps": [
{
"name": "api",
"status": "SUCCESS",
"reason": {
"code": "PreBuiltImage",
"message": "Your build job was skipped because you specified a pre-built image."
},
"component_name": "api",
"message_base": "Building service"
},
{
"name": "web",
"status": "SUCCESS",
"reason": {
"code": "PreBuiltImage",
"message": "Your build job was skipped because you specified a pre-built image."
},
"component_name": "web",
"message_base": "Building service"
},
{
"name": "api-db",
"status": "SUCCESS",
"component_name": "api-db",
"message_base": "Creating database"
}
],
"started_at": "2024-05-22T22:42:30.958038722Z",
"ended_at": "2024-05-22T22:42:31.027528025Z"
}
],
"started_at": "2024-05-22T22:42:30.923620099Z",
"ended_at": "2024-05-22T22:42:31.028024545Z"
},
{
"name": "deploy",
"status": "SUCCESS",
"steps": [
{
"name": "initialize",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:32.750579403Z",
"ended_at": "2024-05-22T22:42:33.360238347Z"
},
{
"name": "components",
"status": "SUCCESS",
"steps": [
{
"name": "api",
"status": "SUCCESS",
"steps": [
{
"name": "deploy",
"status": "SUCCESS",
"component_name": "api",
"message_base": "Deploying service"
},
{
"name": "wait",
"status": "SUCCESS",
"component_name": "api",
"message_base": "Waiting for service"
}
],
"component_name": "api"
},
{
"name": "web",
"status": "SUCCESS",
"steps": [
{
"name": "deploy",
"status": "SUCCESS",
"component_name": "web",
"message_base": "Deploying service"
},
{
"name": "wait",
"status": "SUCCESS",
"component_name": "web",
"message_base": "Waiting for service"
}
],
"component_name": "web"
}
],
"started_at": "2024-05-22T22:42:33.360284824Z",
"ended_at": "2024-05-22T22:42:45.022811408Z"
},
{
"name": "finalize",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:45.572822058Z",
"ended_at": "2024-05-22T22:42:46.709067508Z"
}
],
"started_at": "2024-05-22T22:42:32.750525790Z",
"ended_at": "2024-05-22T22:42:46.709126188Z"
}
]
},
"phase": "ACTIVE",
"tier_slug": "basic",
"cause_details": {
"digitalocean_user_action": {
"user": {
"uuid": "91c181c4-7b2c-4ce3-acd3-99e3b72436db",
"email": "rasmus@transcendsoftware.se",
"full_name": "rasmus@transcendsoftware.se"
},
"name": "CREATE_DEPLOYMENT"
},
"type": "MANUAL"
},
"timing": {
"pending": "2.923671134s",
"build_total": "0.104353411s",
"build_billable": "0s",
"database_provision": "0.068759111s"
}
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:49.520+0200"
2024-05-23T00:42:49.543+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [INFO] App created, ID: 9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7: timestamp="2024-05-23T00:42:49.521+0200"
2024-05-23T00:42:49.543+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] DigitalOcean API Request Details:
---[ REQUEST ]---------------------------------------
GET /v2/apps/9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7 HTTP/1.1
Host: api.digitalocean.com
User-Agent: Terraform/1.8.4 godo/1.113.0
Accept: application/json
Accept-Encoding: gzip
-----------------------------------------------------: timestamp="2024-05-23T00:42:49.521+0200"
2024-05-23T00:42:49.543+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] GET https://api.digitalocean.com/v2/apps/9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7: timestamp="2024-05-23T00:42:49.521+0200"
2024-05-23T00:42:49.892+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] DigitalOcean API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 200 OK
Cf-Cache-Status: DYNAMIC
Cf-Ray: 8880525398030d42-ARN
Content-Type: application/json
Date: Wed, 22 May 2024 22:42:49 GMT
Grpc-Metadata-Content-Type: application/grpc
Ratelimit-Limit: 5000
Ratelimit-Remaining: 4971
Ratelimit-Reset: 1716420943
Server: cloudflare
Set-Cookie: __cf_bm=80R7thpZO7L516ZT7lXEW_jwDrHUOW7WM4T2Fqmcg9Y-1716417769-1.0.1.1-5WJhc5gyI00D7wrs8gCqZwJkFvuVT0Ntbm8qeMpV72v6ZKO44zOVv1NZWFb7tHRxvAN025XhJa_IeYXak3FCe4wgWq8dlQHIsFQDp6u.VIY; path=/; expires=Wed, 22-May-24 23:12:49 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
X-Gateway: Edge-Gateway
X-Request-Id: 9f4d9290-1a47-40ab-b798-b3d2822a585e
X-Response-From: service
{
"app": {
"id": "9a7ac810-8144-4a6f-bbf8-fcf9ebca61f7",
"owner_uuid": "91c181c4-7b2c-4ce3-acd3-99e3b72436db",
"spec": {
"name": "your-app-name-prod",
"services": [
{
"name": "api",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"envs": [
{
"key": "DB_PORT",
"value": "25060",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_PASSWORD",
"value": "AVNS_sOv7Pds_ObilDWHDFSS",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_NAME",
"value": "api-db",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_USER",
"value": "api-user",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_HOST",
"value": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"scope": "RUN_AND_BUILD_TIME"
}
],
"instance_size_slug": "apps-s-1vcpu-0.5gb",
"instance_count": 1,
"http_port": 80
},
{
"name": "web",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"instance_size_slug": "basic-xxs",
"instance_count": 1,
"http_port": 80
}
],
"databases": [
{
"name": "api-db",
"production": true,
"cluster_name": "prod-cluster",
"db_name": "api-db"
}
],
"domains": [
{
"domain": "your-domain.com",
"type": "PRIMARY"
}
],
"region": "fra",
"alerts": [
{
"rule": "DEPLOYMENT_FAILED"
}
],
"ingress": {
"rules": [
{
"match": {
"path": {
"prefix": "/api"
}
},
"component": {
"name": "api"
}
},
{
"match": {
"path": {
"prefix": "/"
}
},
"component": {
"name": "web"
}
}
]
},
"features": [
"buildpack-stack=ubuntu-22"
]
},
"last_deployment_active_at": "2024-05-22T22:42:47Z",
"default_ingress": "https://your-app-name-prod-zdtd6.ondigitalocean.app",
"created_at": "2024-05-22T22:42:29Z",
"updated_at": "2024-05-22T22:42:47Z",
"active_deployment": {
"id": "0cf706e3-cb7b-4fcd-a57a-546ab6bd2b97",
"spec": {
"name": "your-app-name-prod",
"services": [
{
"name": "api",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"envs": [
{
"key": "DB_PORT",
"value": "25060",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_PASSWORD",
"value": "AVNS_sOv7Pds_ObilDWHDFSS",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_NAME",
"value": "api-db",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_USER",
"value": "api-user",
"scope": "RUN_AND_BUILD_TIME"
},
{
"key": "DB_HOST",
"value": "private-prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com",
"scope": "RUN_AND_BUILD_TIME"
}
],
"instance_size_slug": "apps-s-1vcpu-0.5gb",
"instance_count": 1,
"http_port": 80
},
{
"name": "web",
"image": {
"registry_type": "DOCKER_HUB",
"registry": "library",
"repository": "nginx",
"tag": "latest"
},
"instance_size_slug": "basic-xxs",
"instance_count": 1,
"http_port": 80
}
],
"databases": [
{
"name": "api-db",
"production": true,
"cluster_name": "prod-cluster",
"db_name": "api-db"
}
],
"domains": [
{
"domain": "your-domain.com",
"type": "PRIMARY"
}
],
"region": "fra",
"alerts": [
{
"rule": "DEPLOYMENT_FAILED"
}
],
"ingress": {
"rules": [
{
"match": {
"path": {
"prefix": "/api"
}
},
"component": {
"name": "api"
}
},
{
"match": {
"path": {
"prefix": "/"
}
},
"component": {
"name": "web"
}
}
]
},
"features": [
"buildpack-stack=ubuntu-22"
]
},
"services": [
{
"name": "api",
"source_image_digest": "sha256:a484819eb60211f5299034ac80f6a681b06f89e65866ce91f356ed7c72af059c"
},
{
"name": "web",
"source_image_digest": "sha256:a484819eb60211f5299034ac80f6a681b06f89e65866ce91f356ed7c72af059c"
}
],
"phase_last_updated_at": "2024-05-22T22:42:47Z",
"created_at": "2024-05-22T22:42:28Z",
"updated_at": "2024-05-22T22:42:47Z",
"cause": "initial deployment",
"progress": {
"success_steps": 10,
"total_steps": 10,
"steps": [
{
"name": "build",
"status": "SUCCESS",
"steps": [
{
"name": "initialize",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:30.923671134Z",
"ended_at": "2024-05-22T22:42:30.958000084Z"
},
{
"name": "components",
"status": "SUCCESS",
"steps": [
{
"name": "api",
"status": "SUCCESS",
"reason": {
"code": "PreBuiltImage",
"message": "Your build job was skipped because you specified a pre-built image."
},
"component_name": "api",
"message_base": "Building service"
},
{
"name": "web",
"status": "SUCCESS",
"reason": {
"code": "PreBuiltImage",
"message": "Your build job was skipped because you specified a pre-built image."
},
"component_name": "web",
"message_base": "Building service"
},
{
"name": "api-db",
"status": "SUCCESS",
"component_name": "api-db",
"message_base": "Creating database"
}
],
"started_at": "2024-05-22T22:42:30.958038722Z",
"ended_at": "2024-05-22T22:42:31.027528025Z"
}
],
"started_at": "2024-05-22T22:42:30.923620099Z",
"ended_at": "2024-05-22T22:42:31.028024545Z"
},
{
"name": "deploy",
"status": "SUCCESS",
"steps": [
{
"name": "initialize",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:32.750579403Z",
"ended_at": "2024-05-22T22:42:33.360238347Z"
},
{
"name": "components",
"status": "SUCCESS",
"steps": [
{
"name": "api",
"status": "SUCCESS",
"steps": [
{
"name": "deploy",
"status": "SUCCESS",
"component_name": "api",
"message_base": "Deploying service"
},
{
"name": "wait",
"status": "SUCCESS",
"component_name": "api",
"message_base": "Waiting for service"
}
],
"component_name": "api"
},
{
"name": "web",
"status": "SUCCESS",
"steps": [
{
"name": "deploy",
"status": "SUCCESS",
"component_name": "web",
"message_base": "Deploying service"
},
{
"name": "wait",
"status": "SUCCESS",
"component_name": "web",
"message_base": "Waiting for service"
}
],
"component_name": "web"
}
],
"started_at": "2024-05-22T22:42:33.360284824Z",
"ended_at": "2024-05-22T22:42:45.022811408Z"
},
{
"name": "finalize",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:45.572822058Z",
"ended_at": "2024-05-22T22:42:46.709067508Z"
}
],
"started_at": "2024-05-22T22:42:32.750525790Z",
"ended_at": "2024-05-22T22:42:46.709126188Z"
}
]
},
"phase": "ACTIVE",
"tier_slug": "basic",
"cause_details": {
"digitalocean_user_action": {
"user": {
"uuid": "91c181c4-7b2c-4ce3-acd3-99e3b72436db",
"email": "rasmus@transcendsoftware.se",
"full_name": "rasmus@transcendsoftware.se"
},
"name": "CREATE_DEPLOYMENT"
},
"type": "MANUAL"
},
"timing": {
"pending": "2.923671134s",
"build_total": "0.104353411s",
"build_billable": "0s",
"database_provision": "0.068759111s"
}
},
"last_deployment_created_at": "2024-05-22T22:42:28Z",
"live_url": "https://your-domain.com",
"region": {
"slug": "fra",
"label": "Frankfurt",
"flag": "germany",
"continent": "Europe",
"data_centers": [
"fra1"
]
},
"tier_slug": "basic",
"live_url_base": "https://your-domain.com",
"live_domain": "your-domain.com",
"domains": [
{
"id": "dfffe135-e45f-4bbb-a28a-5bdc3e50b180",
"spec": {
"domain": "your-domain.com",
"type": "PRIMARY"
},
"phase": "CONFIGURING",
"progress": {
"steps": [
{
"name": "default-ingress-ready",
"status": "RUNNING",
"started_at": "2024-05-22T22:42:31.059950422Z",
"reason": {
"code": "DefaultIngressNotReady",
"message": "Configuration of this domain cannot proceed until the app has been successfully deployed."
}
},
{
"name": "ensure-zone",
"status": "PENDING"
},
{
"name": "ensure-ns-records",
"status": "PENDING"
},
{
"name": "verify-nameservers",
"status": "PENDING"
},
{
"name": "ensure-record",
"status": "PENDING"
},
{
"name": "ensure-alias-record",
"status": "PENDING"
},
{
"name": "ensure-wildcard-record",
"status": "PENDING"
},
{
"name": "verify-cname",
"status": "PENDING"
},
{
"name": "ensure-ssl-txt-record-saved",
"status": "PENDING"
},
{
"name": "ensure-ssl-txt-record",
"status": "PENDING"
},
{
"name": "ensure-renewal-email",
"status": "PENDING"
},
{
"name": "ensure-CA-authorization",
"status": "PENDING"
},
{
"name": "ensure-certificate",
"status": "PENDING"
},
{
"name": "create-deployment",
"status": "PENDING"
},
{
"name": "configuration-alert",
"status": "SUCCESS",
"started_at": "2024-05-22T22:42:31.060212859Z",
"ended_at": "2024-05-22T22:42:31.060253065Z"
}
]
},
"validation": {},
"certificate_expires_at": "1970-01-01T00:00:00Z"
}
],
"build_config": {},
"project_id": "6c1728d8-345d-4824-807a-0ef7b3599978"
}
}
-----------------------------------------------------: timestamp="2024-05-23T00:42:49.891+0200"
2024-05-23T00:42:49.904+0200 [WARN] Provider "provider[\"registry.terraform.io/digitalocean/digitalocean\"]" produced an unexpected new value for digitalocean_app.do-app["prod"], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .spec[0].region: was cty.StringVal("fra1"), but now cty.StringVal("fra")
- .spec[0].features: was null, but now cty.SetVal([]cty.Value{cty.StringVal("buildpack-stack=ubuntu-22")})
- .spec[0].service[0].dockerfile_path: was null, but now cty.StringVal("")
- .spec[0].service[0].source_dir: was null, but now cty.StringVal("")
- .spec[0].service[0].build_command: was null, but now cty.StringVal("")
- .spec[0].service[0].environment_slug: was null, but now cty.StringVal("")
- .spec[0].service[0].image[0].registry: was null, but now cty.StringVal("library")
- .spec[0].service[0].image[0].registry_credentials: inconsistent values for sensitive attribute
- .spec[0].service[1].dockerfile_path: was null, but now cty.StringVal("")
- .spec[0].service[1].source_dir: was null, but now cty.StringVal("")
- .spec[0].service[1].build_command: was null, but now cty.StringVal("")
- .spec[0].service[1].environment_slug: was null, but now cty.StringVal("")
- .spec[0].service[1].image[0].registry: was null, but now cty.StringVal("library")
- .spec[0].service[1].image[0].registry_credentials: inconsistent values for sensitive attribute
- .spec[0].database[0].db_user: was null, but now cty.StringVal("")
- .spec[0].database[0].engine: was null, but now cty.StringVal("")
- .spec[0].database[0].version: was null, but now cty.StringVal("")
- .spec[0].domain[0].zone: was null, but now cty.StringVal("")
2024-05-23T00:42:49.918+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] App env hash for DB_PORT: 1166767634: timestamp="2024-05-23T00:42:49.892+0200"
2024-05-23T00:42:49.921+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] App env hash for DB_PASSWORD: 2113452571: timestamp="2024-05-23T00:42:49.892+0200"
2024-05-23T00:42:49.921+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] App env hash for DB_NAME: 2403282871: timestamp="2024-05-23T00:42:49.892+0200"
2024-05-23T00:42:49.921+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] App env hash for DB_USER: 3359431328: timestamp="2024-05-23T00:42:49.892+0200"
2024-05-23T00:42:49.921+0200 [INFO] provider.terraform-provider-digitalocean_v2.38.0: 2024/05/23 00:42:49 [DEBUG] App env hash for DB_HOST: 673919148: timestamp="2024-05-23T00:42:49.892+0200"
│ Error: local-exec provisioner error
│ with null_resource.grant_permissions["prod"],
│ on setup.tf line 93, in resource "null_resource" "grant_permissions":
│ 93: provisioner "local-exec" {
│ Error running command ' docker run --rm -e PGPASSWORD= postgres:13 psql -h prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com -U doadmin -p 25060 -d api-db -c "GRANT ALL PRIVILEGES ON DATABASE api-db TO api-user;"
│ ': exit status 2. Output: Password for user doadmin:
│ psql: error: connection to server at "prod-cluster-do-user-8131894-0.c.db.ondigitalocean.com" (209.38.242.118), port 25060 failed: fe_sendauth: no password supplied
2024-05-23T00:42:49.943+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-23T00:42:49.943+0200 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-05-23T00:42:49.944+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.1.1/darwin_arm64/terraform-provider-null_v3.1.1_x5 pid=90761
2024-05-23T00:42:49.944+0200 [DEBUG] provider: plugin exited
2024-05-23T00:42:49.945+0200 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/digitalocean/digitalocean/2.38.0/darwin_arm64/terraform-provider-digitalocean_v2.38.0 pid=90762
2024-05-23T00:42:49.945+0200 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment