Skip to content

biguery: Fix Table does not have Schema failures in Tests#1232

Merged
modular-magician merged 1 commit intoterraform-google-modules:masterfrom
modular-magician:downstream-pr-ccb380ea2c7977f940c85d15ebdae6bbe888a104
Mar 4, 2026
Merged

biguery: Fix Table does not have Schema failures in Tests#1232
modular-magician merged 1 commit intoterraform-google-modules:masterfrom
modular-magician:downstream-pr-ccb380ea2c7977f940c85d15ebdae6bbe888a104

Conversation

@modular-magician
Copy link
Collaborator

Fixes hashicorp/terraform-provider-google#26111
Fixes hashicorp/terraform-provider-google#26115

This may be a temporary fix as it remains unclear why the tests began to fail in the first place. From my initial investigation comment:

This error comes from bigquery_table with the following error:

    resource_bigquery_row_access_policy_test.go:33: Step 1/4 error: Error running apply: exit status 1
        
        Error: Error creating RowAccessPolicy: googleapi: Error 400: Table hc-terraform-testing.tf_test_dataset_idb8yjhx3nlr.tf_test_table_idb8yjhx3nlr does not have a schema.
        
          with google_bigquery_row_access_policy.test,
          on terraform_plugin_test.tf line 14, in resource "google_bigquery_row_access_policy" "test":
          14: resource "google_bigquery_row_access_policy" "test" {

initially thought this was from a go.mod bump as

introduced cloud.golang bump where the first failure began. This doesn't seem like the cause as when I revert the bump we still run into the same issue

TeamCity Build:
https://hashicorp.teamcity.com/test/5962285105755560780?currentProjectId=TerraformProviders_GoogleCloud_GOOGLE_NIGHTLYTESTS

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.


Derived from GoogleCloudPlatform/magic-modules#16517

[upstream:ccb380ea2c7977f940c85d15ebdae6bbe888a104]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit c870028 into terraform-google-modules:master Mar 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing test(s): TestAccBigQueryRowAccessPolicy_bigqueryRowAccessPolicyBasicExample Failing test(s): TestAccBigQueryRowAccessPolicy_update

1 participant