incalculable-garage-67131
07/19/2023, 7:50 PMgcp.bigquery.Table
Its an external data table so I don’t mind deleting it when I make changes, but I can’t replace it.
error: update failed
gcp:bigquery:Table (syslog_parsed):
error: deleting urn:pulumi:dev::myproj-agent::gcp:bigquery/table:Table::syslog_parsed: 1 error occurred:
* cannot destroy instance without setting deletion_protection=false and running `terraform apply`
I explicitly set:
export const syslogTable = new gcp.bigquery.Table(
"syslog_parsed",
{
datasetId: coreroDataset.datasetId,
project: coreroDataset.project,
tableId: "syslog_parsed",
deletionProtection: false,
............
{
deleteBeforeReplace: true,
}
The documentation says:
https://www.pulumi.com/registry/packages/gcp/api-docs/bigquery/table
Note: On newer versions of the provider, you must explicitly set deletion_protection=false
Is there something I am missing?echoing-dinner-19531
07/19/2023, 9:48 PMthankful-planet-44055
08/04/2023, 7:21 AMdown
. Ver annoying. In gcp console and my pulumi script, deletion protection is false.
I also have refresh enabled as well.thankful-planet-44055
08/04/2023, 8:16 AMthankful-planet-44055
09/12/2023, 7:25 PMthankful-planet-44055
09/12/2023, 7:25 PMdeletion_policy='ABANDON'
thankful-planet-44055
09/12/2023, 7:27 PM