sparse-intern-71089
04/10/2019, 2:07 AMbig-piano-35669
name
argument to override the default auto-naming. For buckets, it's (unfortunately) inconsistent, but you can accomplish this by specifying a bucket
argument. So, for example:
let buck = new aws.s3.Bucket("foo", {
bucket: "foo-exactly",
// other args, as usual...
});
The resulting name will be foo-exactly
.
The auto-naming is to ensure it's easier to stand up multiple stacks side-by-side without any naming conflicts, but completely understood that sometimes you need the exact name.straight-jordan-23612
04/10/2019, 2:11 AMbig-piano-35669
straight-jordan-23612
04/10/2019, 2:11 AM