From 1c80415837cf1847350938db7fe2d07a73924439 Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Thu, 3 Oct 2024 13:40:01 -0400 Subject: [PATCH] Revert "Update aws-ts-s3-lambda-copyzip to BucketV2 (#1696)" This reverts commit 032ee3a70e14830444d87941ea54860a3e78622c. --- aws-ts-s3-lambda-copyzip/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws-ts-s3-lambda-copyzip/index.ts b/aws-ts-s3-lambda-copyzip/index.ts index fb84287d8..7971495cd 100644 --- a/aws-ts-s3-lambda-copyzip/index.ts +++ b/aws-ts-s3-lambda-copyzip/index.ts @@ -4,8 +4,8 @@ import * as s3sdk from "@aws-sdk/client-s3"; import * as aws from "@pulumi/aws"; // Create a bucket each for TPS reports and their archived zips. -const tpsReports = new aws.s3.BucketV2("tpsReports"); -const tpsZips = new aws.s3.BucketV2("tpsZips"); +const tpsReports = new aws.s3.Bucket("tpsReports"); +const tpsZips = new aws.s3.Bucket("tpsZips"); // Anytime a new TPS Report is uploaded, archive it in a zipfile. tpsReports.onObjectCreated("zipTpsReports", async (e) => {