green-dentist-53234
09/16/2021, 9:29 AMgoogleapi: Error 409: Already Exists: Table PROJECT:pulumi_test.pulumi_test, duplicate
Can you think of anything I could be doing wrong? I'm creating the table this way:
const dataset = new gcp.bigquery.Dataset('pulumi_test', {
datasetId: 'pulumi_test',
friendlyName: 'pulumi_test',
location: 'EU',
defaultTableExpirationMs: 3600000,
labels: {
env: 'default',
},
});
cont table = new gcp.bigquery.Table(tableName, {
datasetId: dataset.datasetId,
tableId: 'pulumi_test',
deletionProtection: false,
timePartitioning: {
type: 'DAY',
},
labels: {
env: 'default',
},
schema: '[{"name":"test","type":"STRING","mode":"NULLABLE","description":""}]',
});
Thank you very much for any advice.