typescript aws
parent
e6c7fba9e9
commit
a7818a565e
|
|
@ -67,7 +67,7 @@ Resources:
|
||||||
- GenerateCronExpression
|
- GenerateCronExpression
|
||||||
Type: "AWS::Events::Rule"
|
Type: "AWS::Events::Rule"
|
||||||
Properties:
|
Properties:
|
||||||
Name: !Join [ "", [ 'DeleteStackEventRuleName', !Ref BUILDID ] ]
|
Name: !Join [ "", [ 'DeleteStackEventRule', !Ref BUILDID ] ]
|
||||||
Description: Delete stack event
|
Description: Delete stack event
|
||||||
ScheduleExpression: !GetAtt GenerateCronExpression.cron_exp
|
ScheduleExpression: !GetAtt GenerateCronExpression.cron_exp
|
||||||
State: "ENABLED"
|
State: "ENABLED"
|
||||||
|
|
|
||||||
|
|
@ -455,6 +455,10 @@ class AWS {
|
||||||
ParameterKey: 'TTL',
|
ParameterKey: 'TTL',
|
||||||
ParameterValue: "100",
|
ParameterValue: "100",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ParameterKey: 'BUILDID',
|
||||||
|
ParameterValue: buildUid,
|
||||||
|
}
|
||||||
],
|
],
|
||||||
}).promise();
|
}).promise();
|
||||||
core.info("Creating cleanup cluster...");
|
core.info("Creating cleanup cluster...");
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -272,6 +272,10 @@ class AWS {
|
||||||
ParameterKey: 'TTL',
|
ParameterKey: 'TTL',
|
||||||
ParameterValue: "100",
|
ParameterValue: "100",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ParameterKey: 'BUILDID',
|
||||||
|
ParameterValue: buildUid,
|
||||||
|
}
|
||||||
],
|
],
|
||||||
}).promise();
|
}).promise();
|
||||||
core.info("Creating cleanup cluster...");
|
core.info("Creating cleanup cluster...");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue