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.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by