Channels
esc
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
policy-as-code
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
general
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
# general
b
billowy-processor-56040
03/15/2022, 1:30 PM
Question: Anyone here know if GCP BQ table schemas are capable of being updated in Pulumi (example to add a new column) ?
s
stocky-restaurant-98004
03/15/2022, 1:59 PM
On the bridged provider (pulumi-gcp), per the docs (
https://www.pulumi.com/registry/packages/gcp/api-docs/bigquery/table/#schema_nodejs
), it looks like no: "Furthermore drift for this field cannot not be detected because BigQuery only uses this schema to compute the effective schema for the table, therefore any changes on the configured value will force the table to be recreated." You
might
have better luck with the Native provider, which seems to have a nicer interface to the table schema, but I can't say for sure. Note that the Google Native provider is in preview:
https://www.pulumi.com/registry/packages/google-native/api-docs/bigquery/v2/table/#tablefieldschema
4 Views
Post