diff --git a/multicloud-ts-buckets/README.md b/multicloud-ts-buckets/README.md index c069a9154..407d115b8 100644 --- a/multicloud-ts-buckets/README.md +++ b/multicloud-ts-buckets/README.md @@ -39,7 +39,7 @@ Previewing update (multicloud-ts-buckets-dev): Type Name Plan + pulumi:pulumi:Stack multicloud-ts-buckets-multicloud-ts-buckets-dev create + ├─ gcp:storage:Bucket my-bucket create - + └─ aws:s3:Bucket my-bucket create + + └─ aws:s3:BucketV2 my-bucket create Resources: 3 changes @@ -51,7 +51,7 @@ Updating (multicloud-ts-buckets-dev): Type Name Status + pulumi:pulumi:Stack multicloud-ts-buckets-multicloud-ts-buckets-dev created + ├─ gcp:storage:Bucket my-bucket created - + └─ aws:s3:Bucket my-bucket created + + └─ aws:s3:BucketV2 my-bucket created Outputs: bucketNames: [ diff --git a/multicloud-ts-buckets/index.ts b/multicloud-ts-buckets/index.ts index 81ea4856f..9ebdf14f7 100644 --- a/multicloud-ts-buckets/index.ts +++ b/multicloud-ts-buckets/index.ts @@ -4,7 +4,7 @@ import * as aws from "@pulumi/aws"; import * as gcp from "@pulumi/gcp"; // Create an AWS resource (S3 Bucket) -const awsBucket = new aws.s3.Bucket("my-bucket"); +const awsBucket = new aws.s3.BucketV2("my-bucket"); // Create a GCP resource (Storage Bucket) const gcpBucket = new gcp.storage.Bucket("my-bucket"); @@ -14,4 +14,3 @@ export const bucketNames = [ awsBucket.bucket, gcpBucket.name, ]; -