Skip to content

Commit

Permalink
Revert "Update aws-ts-s3-lambda-copyzip to BucketV2 (#1696)"
Browse files Browse the repository at this point in the history
This reverts commit 032ee3a.
  • Loading branch information
t0yv0 authored Oct 3, 2024
1 parent 29142b3 commit 1c80415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws-ts-s3-lambda-copyzip/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 1c80415

Please sign in to comment.