ttl stack
parent
ee90256117
commit
88618f4575
|
|
@ -55,7 +55,6 @@ Resources:
|
||||||
DependsOn:
|
DependsOn:
|
||||||
- DeleteCFNLambdaExecutionRole
|
- DeleteCFNLambdaExecutionRole
|
||||||
Properties:
|
Properties:
|
||||||
Name: !Join [ "", [ 'DeleteCFNLambda', !Ref BUILDID ] ]
|
|
||||||
FunctionName: !Sub "DeleteCFNLambda-${StackName}"
|
FunctionName: !Sub "DeleteCFNLambda-${StackName}"
|
||||||
Code:
|
Code:
|
||||||
ZipFile: |
|
ZipFile: |
|
||||||
|
|
@ -102,7 +101,6 @@ Resources:
|
||||||
PermissionForDeleteCFNLambda:
|
PermissionForDeleteCFNLambda:
|
||||||
Type: "AWS::Lambda::Permission"
|
Type: "AWS::Lambda::Permission"
|
||||||
Properties:
|
Properties:
|
||||||
Name: !Join [ "", [ 'PermissionForDeleteCFNLambda', !Ref BUILDID ] ]
|
|
||||||
FunctionName: !Sub "arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:DeleteCFNLambda-${StackName}"
|
FunctionName: !Sub "arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:DeleteCFNLambda-${StackName}"
|
||||||
Action: "lambda:InvokeFunction"
|
Action: "lambda:InvokeFunction"
|
||||||
Principal: "events.amazonaws.com"
|
Principal: "events.amazonaws.com"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue