Skip to content

Commit 3f97ae9

Browse files
committed
Add support for CloudFormation templates as files
CloudFormation templates as inputs are difficult to manage due to their size, and being embedded in another yaml file. This change allows moving CloudFormation templates to their own file template in the root of the project where they can be autodiscovered by Flowzone and deployed. It also allows us to modify CF templates on repositories that otherwise have push restrictions applied to the .github directories. Change-type: minor Signed-off-by: Kyle Harding <[email protected]>
1 parent a62f114 commit 3f97ae9

File tree

3 files changed

+309
-182
lines changed

3 files changed

+309
-182
lines changed

.github/workflows/flowzone.yml

Lines changed: 154 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -167,28 +167,8 @@ jobs:
167167
# Required: false
168168
aws_iam_role: ${{ vars.AWS_IAM_ROLE || '' }}
169169

170-
# AWS CloudFormation templates to deploy (e.g.)
171-
# ```
172-
# {
173-
# "stacks": [
174-
# {
175-
# "name": "foo",
176-
# "template": "aws/bar.yaml",
177-
# "tags": [
178-
# "Name=foo",
179-
# "Environment=${FOO}"
180-
# ],
181-
# "capabilities": [
182-
# "CAPABILITY_IAM",
183-
# "CAPABILITY_NAMED_IAM"
184-
# ]
185-
# },
186-
# ...
187-
# ]
188-
# }
189-
# ```
190-
# * assumes `aws/bar.yaml` exists.
191-
# * `${ENVVARS}` injected at runtime from `vars` and `secrets` contexts
170+
# This input is deprecated. To deploy CloudFormation stacks, create a
171+
# `aws-cf-templates.yaml` file in the root of the repository.
192172
# Type: string
193173
# Required: false
194174
cloudformation_templates:

0 commit comments

Comments
 (0)