Skip to content

Instantly share code, notes, and snippets.

@whryniewski
Created December 21, 2023 10:53
Show Gist options
  • Save whryniewski/6da96db8a2d98266293a0eadb3fb0526 to your computer and use it in GitHub Desktop.
Save whryniewski/6da96db8a2d98266293a0eadb3fb0526 to your computer and use it in GitHub Desktop.
google_data_catalog_tag.basic_tag_wh: Modifying... [id=projects/spgi-mi-pc-content-playground/locations/us-central1/entryGroups/my_entry_group/entries/my_entry/tags/CXm633EEP8r2]
2023-12-21T11:51:34.336+0100 [INFO] Starting apply for google_data_catalog_tag.basic_tag_wh
2023-12-21T11:51:34.336+0100 [DEBUG] google_data_catalog_tag.basic_tag_wh: applying the planned Update change
2023-12-21T11:51:34.338+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:34 [DEBUG] Updating Tag "projects/spgi-mi-pc-content-playground/locations/us-central1/entryGroups/my_entry_group/entries/my_entry/tags/CXm633EEP8r2": map[string]interface {}{"fields":map[string]interface {}{"bool_field":map[string]interface {}{"order":1}, "string_field":map[string]interface {}{"stringValue":"fnord22"}}}
2023-12-21T11:51:34.338+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:34 [DEBUG] Waiting for state to become: [success]
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:34 [DEBUG] Retry Transport: starting RoundTrip retry loop
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:34 [DEBUG] Retry Transport: request attempt 0
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:34 [DEBUG] Google API Request Details:
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: ---[ REQUEST ]---------------------------------------
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: PATCH /v1/projects/spgi-mi-pc-content-playground/locations/us-central1/entryGroups/my_entry_group/entries/my_entry/tags/CXm633EEP8r2?alt=json&updateMask=fields HTTP/1.1
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Host: datacatalog.googleapis.com
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: User-Agent: Terraform/1.4.6 (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google/5.10.0
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Content-Length: 79
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Content-Type: application/json
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Accept-Encoding: gzip
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5:
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: {
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "fields": {
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "bool_field": {
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "order": 1
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: },
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "string_field": {
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "stringValue": "fnord22"
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: }
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: }
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: }
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5:
2023-12-21T11:51:34.339+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: -----------------------------------------------------
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:35 [DEBUG] Google API Response Details:
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: ---[ RESPONSE ]--------------------------------------
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: HTTP/2.0 400 Bad Request
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Cache-Control: private
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Content-Type: application/json; charset=UTF-8
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Date: Thu, 21 Dec 2023 10:51:35 GMT
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Server: ESF
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Vary: Origin
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Vary: X-Origin
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Vary: Referer
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: X-Frame-Options: SAMEORIGIN
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: X-Xss-Protection: 0
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5:
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: {
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "error": {
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "code": 400,
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "message": "Unsupported tag field value: go/debugonly \nvalue {\n}\n",
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "status": "INVALID_ARGUMENT"
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: }
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: }
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5:
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: -----------------------------------------------------
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:35 [DEBUG] Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 400 with body: HTTP/2.0 400 Bad Request
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Cache-Control: private
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Content-Type: application/json; charset=UTF-8
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Date: Thu, 21 Dec 2023 10:51:35 GMT
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Server: ESF
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Vary: Origin
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Vary: X-Origin
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: Vary: Referer
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: X-Frame-Options: SAMEORIGIN
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: X-Xss-Protection: 0
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5:
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: {
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "error": {
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "code": 400,
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "message": "Unsupported tag field value: go/debugonly \nvalue {\n}\n",
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: "status": "INVALID_ARGUMENT"
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: }
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: }
2023-12-21T11:51:35.270+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:35 [DEBUG] Retry Transport: Returning after 1 attempts
2023-12-21T11:51:35.271+0100 [ERROR] provider.terraform-provider-google_v5.10.0_x5: Response contains error diagnostic: diagnostic_detail= diagnostic_severity=ERROR diagnostic_summary="Error updating Tag "projects/spgi-mi-pc-content-playground/locations/us-central1/entryGroups/my_entry_group/entries/my_entry/tags/CXm633EEP8r2": googleapi: Error 400: Unsupported tag field value: go/debugonly
value {
}" tf_proto_version=5.3 tf_resource_type=google_data_catalog_tag tf_rpc=ApplyResourceChange @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:55 @module=sdk.proto tf_provider_addr=registry.terraform.io/hashicorp/google tf_req_id=b94ffea5-fe61-d6d3-10ce-357b2fbe10f4 timestamp=2023-12-21T11:51:35.270+0100
2023-12-21T11:51:35.295+0100 [ERROR] vertex "google_data_catalog_tag.basic_tag_wh" error: Error updating Tag "projects/spgi-mi-pc-content-playground/locations/us-central1/entryGroups/my_entry_group/entries/my_entry/tags/CXm633EEP8r2": googleapi: Error 400: Unsupported tag field value: go/debugonly
value {
}
│ Error: Error updating Tag "projects/spgi-mi-pc-content-playground/locations/us-central1/entryGroups/my_entry_group/entries/my_entry/tags/CXm633EEP8r2": googleapi: Error 400: Unsupported tag field value: go/debugonly
│ value {
│ }
│ with google_data_catalog_tag.basic_tag_wh,
│ on test.tf line 61, in resource "google_data_catalog_tag" "basic_tag_wh":
│ 61: resource "google_data_catalog_tag" "basic_tag_wh" {
2023-12-21T11:51:35.323+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:35 [DEBUG] [transport] [server-transport 0xc0003ff1e0] Closing: Server.Stop called
2023-12-21T11:51:35.323+0100 [DEBUG] provider.terraform-provider-google_v5.10.0_x5: 2023/12/21 11:51:35 [DEBUG] [transport] [server-transport 0xc0003ff1e0] loopyWriter exiting with error: transport closed by client
2023-12-21T11:51:35.323+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-12-21T11:51:35.327+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/5.10.0/darwin_amd64/terraform-provider-google_v5.10.0_x5 pid=48498
2023-12-21T11:51:35.327+0100 [DEBUG] provider: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment