diff --git a/aws-ts-redshift-glue-etl/index.ts b/aws-ts-redshift-glue-etl/index.ts index ab2d45319..6b5419b37 100644 --- a/aws-ts-redshift-glue-etl/index.ts +++ b/aws-ts-redshift-glue-etl/index.ts @@ -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, }); @@ -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, });