This commit is contained in:
neil 2022-11-19 14:14:13 +08:00
parent f1a132b1c8
commit 54ffcf9b12

View file

@ -26,7 +26,7 @@ export default class TeaXYZ extends Stack {
autoDeleteObjects: true,
removalPolicy: RemovalPolicy.DESTROY,
});
console.log("BUCKET NAME:", bucket.bucketName)
console.log("BUCKET ARN:", bucket.bucketArn)
fs.writeFile(path.join(process.cwd(), "bucket.txt"), bucket.bucketName, () => {
console.log('bucket name shared');
})