From b53ac89ddebe0a73ee23c6c3f45764bea33dd418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavi=20Le=C3=B3n?= Date: Thu, 27 Jun 2019 16:36:51 +0200 Subject: [PATCH] feat(cfn/changesets): Introduce support for CFN changesets (#7071) * feat(cfn/changesets): Introduce support for CFN changesets This patch introduces a flag into the deploy cloud formation UI to chose wether the deployment operation will create/update a full CFN stack or create a change set instead. If the checkbox is ticked, a text form appear to allow the user specify the change set name. * fix odd spacing --- .../deployCloudFormationStackConfig.controller.ts | 8 ++++++++ .../deployCloudFormationStackConfig.html | 12 ++++++++++++ 2 files changed, 20 insertions(+) diff --git a/app/scripts/modules/amazon/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.ts b/app/scripts/modules/amazon/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.ts index b7cf3d5c5eb..35fcfa14d89 100644 --- a/app/scripts/modules/amazon/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.ts +++ b/app/scripts/modules/amazon/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.ts @@ -48,4 +48,12 @@ export class DeployCloudFormationStackConfigController implements IController { this.cloudFormationStackArtifactController.accountsForArtifact.length > 1 ); } + + public isChangeSet() { + return this.$scope.stage.isChangeSet; + } + + public toggleChangeSet() { + this.$scope.stage.isChangeSet = !this.$scope.stage.isChangeSet; + } } diff --git a/app/scripts/modules/amazon/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.html b/app/scripts/modules/amazon/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.html index a3534f9760b..f39bf0b2d51 100644 --- a/app/scripts/modules/amazon/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.html +++ b/app/scripts/modules/amazon/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.html @@ -16,7 +16,19 @@

Template Configuration

+
+ +
+ + + +