Skip to content

Commit

Permalink
Update multicloud-ts-buckets to BucketV2 (#1702)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 authored Sep 27, 2024
1 parent 6d2e06b commit 2a7378e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions multicloud-ts-buckets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: [
Expand Down
3 changes: 1 addition & 2 deletions multicloud-ts-buckets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -14,4 +14,3 @@ export const bucketNames = [
awsBucket.bucket,
gcpBucket.name,
];

0 comments on commit 2a7378e

Please sign in to comment.