Ross Coundon
07/06/2021, 4:42 PMsst deploy
. I don't need to have any notifications attached to it. It's just going to be used to write data as a result of a call to an endpoint (also defined in SST)
Is there anything I need to other than this:
export default class SomeStack extends sst.Stack {
constructor(scope: <http://sst.App|sst.App>, id: string, props?: sst.StackProps) {
super(scope, id, props);
const statsCsvBucket = new Bucket(this, process.env.REBOOK_STATS_BUCKET);
}
}
thdxr
07/06/2021, 4:49 PMthdxr
07/06/2021, 4:49 PMRoss Coundon
07/06/2021, 5:14 PMthdxr
07/06/2021, 5:28 PMconst bucket = new sst.Bucket(stack, "lol", {
s3Bucket: {
bucketName: "lol"
}
})
Ross Coundon
07/06/2021, 5:33 PMRoss Coundon
07/06/2021, 5:35 PMFrank
Ross Coundon
07/06/2021, 5:36 PMthdxr
07/06/2021, 5:36 PMRoss Coundon
07/06/2021, 5:37 PMFrank
sst diff
after you add it and see if the bucket shows up
2. look at the CF template in .build/cdk.out
and see if you spot a AWS:S3:Bucket resource with the name