typescript aws

pull/235/head
mdugdale 2021-03-28 21:59:40 +01:00
parent e6c7fba9e9
commit a7818a565e
4 changed files with 10 additions and 2 deletions

View File

@ -67,7 +67,7 @@ Resources:
- GenerateCronExpression
Type: "AWS::Events::Rule"
Properties:
Name: !Join [ "", [ 'DeleteStackEventRuleName', !Ref BUILDID ] ]
Name: !Join [ "", [ 'DeleteStackEventRule', !Ref BUILDID ] ]
Description: Delete stack event
ScheduleExpression: !GetAtt GenerateCronExpression.cron_exp
State: "ENABLED"

4
dist/index.js vendored
View File

@ -455,6 +455,10 @@ class AWS {
ParameterKey: 'TTL',
ParameterValue: "100",
},
{
ParameterKey: 'BUILDID',
ParameterValue: buildUid,
}
],
}).promise();
core.info("Creating cleanup cluster...");

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -272,6 +272,10 @@ class AWS {
ParameterKey: 'TTL',
ParameterValue: "100",
},
{
ParameterKey: 'BUILDID',
ParameterValue: buildUid,
}
],
}).promise();
core.info("Creating cleanup cluster...");