Skip to content

Commit

Permalink
Autoname s3 backend bucket to avoid eventual consistency issues (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Lakshmanan authored Oct 4, 2021
1 parent 5405932 commit d5e222a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/s3backend/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const bucket = new aws.s3.Bucket(`k8s-operator-s3-backend-bucket`,
{bucket: "pulumi-k8s-operator-s3-backend-bucket"});
const bucket = new aws.s3.Bucket("k8s-operator-s3-backend-bucket");

export const bucketName = bucket.id;

Expand Down

0 comments on commit d5e222a

Please sign in to comment.