mirror of
https://github.com/ivabus/www
synced 2024-11-22 15:25:06 +03:00
test again
This commit is contained in:
parent
bb74a4c913
commit
f1a132b1c8
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ import {
|
||||||
CfnOutput } from "aws-cdk-lib";
|
CfnOutput } from "aws-cdk-lib";
|
||||||
import { Construct } from "constructs";
|
import { Construct } from "constructs";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
|
import path from "path";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The CloudFormation stack holding all our resources
|
* The CloudFormation stack holding all our resources
|
||||||
|
@ -26,7 +27,7 @@ export default class TeaXYZ extends Stack {
|
||||||
removalPolicy: RemovalPolicy.DESTROY,
|
removalPolicy: RemovalPolicy.DESTROY,
|
||||||
});
|
});
|
||||||
console.log("BUCKET NAME:", bucket.bucketName)
|
console.log("BUCKET NAME:", bucket.bucketName)
|
||||||
fs.writeFile('../bucket.txt', bucket.bucketName, () => {
|
fs.writeFile(path.join(process.cwd(), "bucket.txt"), bucket.bucketName, () => {
|
||||||
console.log('bucket name shared');
|
console.log('bucket name shared');
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue