ttl stack
parent
88618f4575
commit
3b3e463ab6
|
|
@ -36,7 +36,7 @@ Resources:
|
||||||
Action: "sts:AssumeRole"
|
Action: "sts:AssumeRole"
|
||||||
Path: "/"
|
Path: "/"
|
||||||
Policies:
|
Policies:
|
||||||
- PolicyName: !Join [ "", [ 'DeleteCFNLambdaExecutionRole', !Ref BUILDID ] ]
|
- PolicyName: !Sub "DeleteCFNLambdaExecutionRole-${StackName}"
|
||||||
PolicyDocument:
|
PolicyDocument:
|
||||||
Version: "2012-10-17"
|
Version: "2012-10-17"
|
||||||
Statement:
|
Statement:
|
||||||
|
|
@ -117,7 +117,7 @@ Resources:
|
||||||
Action: "sts:AssumeRole"
|
Action: "sts:AssumeRole"
|
||||||
Path: "/"
|
Path: "/"
|
||||||
Policies:
|
Policies:
|
||||||
- PolicyName: !Join [ "", [ 'BasicLambdaExecutionRole', !Ref BUILDID ] ]
|
- PolicyName: !Sub "BasicLambdaExecutionRole-${StackName}"
|
||||||
PolicyDocument:
|
PolicyDocument:
|
||||||
Version: "2012-10-17"
|
Version: "2012-10-17"
|
||||||
Statement:
|
Statement:
|
||||||
|
|
@ -174,6 +174,6 @@ Resources:
|
||||||
Type: "Custom::GenerateCronExpression"
|
Type: "Custom::GenerateCronExpression"
|
||||||
Version: "1.0"
|
Version: "1.0"
|
||||||
Properties:
|
Properties:
|
||||||
Name: !Join [ "", [ 'GenerateCronExpression', !Ref BUILDID ] ]
|
Name: !Sub "GenerateCronExpression-${StackName}"
|
||||||
ServiceToken: !GetAtt GenerateCronExpLambda.Arn
|
ServiceToken: !GetAtt GenerateCronExpLambda.Arn
|
||||||
ttl: !Ref 'TTL'
|
ttl: !Ref 'TTL'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue