mirror of
https://github.com/ivabus/www
synced 2024-11-22 15:15:07 +03:00
test log
This commit is contained in:
parent
bd13c42be6
commit
bb74a4c913
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,7 @@ import {
|
|||
RemovalPolicy,
|
||||
CfnOutput } from "aws-cdk-lib";
|
||||
import { Construct } from "constructs";
|
||||
import fs from "fs";
|
||||
|
||||
/**
|
||||
* The CloudFormation stack holding all our resources
|
||||
|
@ -24,6 +25,10 @@ export default class TeaXYZ extends Stack {
|
|||
autoDeleteObjects: true,
|
||||
removalPolicy: RemovalPolicy.DESTROY,
|
||||
});
|
||||
console.log("BUCKET NAME:", bucket.bucketName)
|
||||
fs.writeFile('../bucket.txt', bucket.bucketName, () => {
|
||||
console.log('bucket name shared');
|
||||
})
|
||||
|
||||
const edgeLambda = lambda.Version.fromVersionArn(this, "Lambda", "arn:aws:lambda:us-east-1:640264234305:function:www-redirect:10");
|
||||
|
||||
|
|
Loading…
Reference in a new issue