Skip to content

Commit

Permalink
Update aws-ts-redshift-glue-etl to BucketV2
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed Sep 19, 2024
1 parent f143bd3 commit da9cd3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws-ts-redshift-glue-etl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const providerConfig = new pulumi.Config("aws");
const awsRegion = providerConfig.require("region");

// Create an S3 bucket to store some raw data.
const eventsBucket = new aws.s3.Bucket("events", {
const eventsBucket = new aws.s3.BucketV2("events", {
forceDestroy: true,
});

Expand Down Expand Up @@ -145,7 +145,7 @@ const glueRedshiftConnection = new aws.glue.Connection("glue-redshift-connection
});

// Create an S3 bucket for Glue scripts and temporary storage.
const glueJobBucket = new aws.s3.Bucket("glue-job-bucket", {
const glueJobBucket = new aws.s3.BucketV2("glue-job-bucket", {
forceDestroy: true,
});

Expand Down

0 comments on commit da9cd3c

Please sign in to comment.