Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
package-authoring
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
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
#general
Join Slack