diff --git a/dist/cloudformation-stack-ttl.yml b/dist/cloudformation-stack-ttl.yml index 5dec523c..108c8d0e 100644 --- a/dist/cloudformation-stack-ttl.yml +++ b/dist/cloudformation-stack-ttl.yml @@ -77,6 +77,8 @@ Resources: Id: 'DeleteCFNLambda' PermissionForDeleteCFNLambda: Type: "AWS::Lambda::Permission" + DependsOn: + - DeleteStackEventRule Properties: FunctionName: "DeleteCFNLambdaPermission" Action: "lambda:InvokeFunction"