typescript aws
parent
e6c7fba9e9
commit
a7818a565e
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -455,6 +455,10 @@ class AWS {
|
|||
ParameterKey: 'TTL',
|
||||
ParameterValue: "100",
|
||||
},
|
||||
{
|
||||
ParameterKey: 'BUILDID',
|
||||
ParameterValue: buildUid,
|
||||
}
|
||||
],
|
||||
}).promise();
|
||||
core.info("Creating cleanup cluster...");
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -272,6 +272,10 @@ class AWS {
|
|||
ParameterKey: 'TTL',
|
||||
ParameterValue: "100",
|
||||
},
|
||||
{
|
||||
ParameterKey: 'BUILDID',
|
||||
ParameterValue: buildUid,
|
||||
}
|
||||
],
|
||||
}).promise();
|
||||
core.info("Creating cleanup cluster...");
|
||||
|
|
|
|||
Loading…
Reference in New Issue