From ec899f22641d2d69511e1bd79db69e5e884aeaf4 Mon Sep 17 00:00:00 2001 From: Allan Zheng Date: Tue, 12 May 2020 18:02:11 -0700 Subject: [PATCH] enable termivation protection to cloudformation integ test --- features/cloudformation/step_definitions/cloudformation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/cloudformation/step_definitions/cloudformation.js b/features/cloudformation/step_definitions/cloudformation.js index 2ae2558063..8dd3bb3653 100644 --- a/features/cloudformation/step_definitions/cloudformation.js +++ b/features/cloudformation/step_definitions/cloudformation.js @@ -7,7 +7,7 @@ module.exports = function() { this.Given(/^I create a CloudFormation stack with name prefix "([^"]*)"$/, function(prefix, callback) { this.stackName = this.uniqueName(prefix); this.templateBody = '{"Resources":{"member":{"Type":"AWS::SQS::Queue"}}}'; - var params = { TemplateBody: this.templateBody, StackName: this.stackName }; + var params = { TemplateBody: this.templateBody, StackName: this.stackName, EnableTerminationProtection: true }; this.request(null, 'createStack', params, callback, false); }); };