From da9cd3cd22f9f06d390bb11b5d501a52a2d11827 Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Thu, 19 Sep 2024 11:18:50 -0400 Subject: [PATCH] Update aws-ts-redshift-glue-etl to BucketV2 --- aws-ts-redshift-glue-etl/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, });