Created
May 10, 2021 21:22
-
-
Save jamiekt/d09e5c45afc4bc50aba39a0fcc6c860f to your computer and use it in GitHub Desktop.
terraform debug output when attempting to deploy bigquery table with a policy tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021/05/10 21:13:23 [WARN] Provider "registry.terraform.io/hashicorp/google" produced an invalid plan for google_bigquery_table.table, 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: | |
- .schema: planned value cty.StringVal("[{\"mode\":\"NULLABLE\",\"name\":\"col1\",\"policyTags\":\"projects/msm-groupdata-datalake-dev/locations/eu/taxonomies/7353867875344393839/policyTags/5061567500970922730\",\"type\":\"INTEGER\"}]") does not match config value cty.StringVal("[\n {\n \"name\": \"col1\",\n \"type\": \"INTEGER\",\n \"mode\": \"NULLABLE\",\n \"policyTags\": \"projects/msm-groupdata-datalake-dev/locations/eu/taxonomies/7353867875344393839/policyTags/5061567500970922730\"\n }\n]\n") | |
google_bigquery_table.table: Creating... | |
2021/05/10 21:13:23 [DEBUG] EvalApply: ProviderMeta config value set | |
2021/05/10 21:13:23 [DEBUG] google_bigquery_table.table: applying the planned Create change | |
2021-05-10T21:13:23.811Z [INFO] plugin.terraform-provider-google_v3.67.0_x5: 2021/05/10 21:13:23 [DEBUG] unable to unmarshal json - unexpected end of JSON input: timestamp=2021-05-10T21:13:23.811Z | |
2021/05/10 21:13:23 [DEBUG] google_bigquery_table.table: apply errored, but we're indicating that via the Error pointer rather than returning it: json: cannot unmarshal string into Go struct field TableFieldSchema.policyTags of type bigquery.TableFieldSchemaPolicyTags | |
Error: json: cannot unmarshal string into Go struct field TableFieldSchema.policyTags of type bigquery.TableFieldSchemaPolicyTags | |
on demo.tf line 50, in resource "google_bigquery_table" "table": | |
50: resource "google_bigquery_table" "table" { | |
2021-05-10T21:13:23.821Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2021-05-10T21:13:23.825Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.67.0/linux_amd64/terraform-provider-google_v3.67.0_x5 pid=10787 | |
2021-05-10T21:13:23.825Z [DEBUG] plugin: plugin exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment