diff --git a/aws/cloudformation-template-ipsec.json b/aws/cloudformation-template-ipsec.json index b742926..d35ea97 100644 --- a/aws/cloudformation-template-ipsec.json +++ b/aws/cloudformation-template-ipsec.json @@ -204,7 +204,7 @@ "\n", [ "#!/bin/bash -xe", - { "Fn::Sub": "trap 'cfn-signal -e 1 --stack ${AWS::StackName} --region ${AWS::Region}' ERR" }, + { "Fn::Sub": "trap 'cfn-signal -e 1 --resource VpnInstance --stack ${AWS::StackName} --region ${AWS::Region}' ERR" }, "sleep 60", { "Fn::FindInMap": [