Skip to content

Commit bef7b29

Browse files
Upgrade AWS CloudFormation GitHub Action to v2.0.0 on Documentation (#173)
Using v1 as exemplified in the README.md file will give you the following warning when used externally: ``` Unexpected input(s) 'mode', 'execute-change-set-id', valid inputs are ['name', 'template', 'capabilities', 'parameter-overrides', 'no-execute-changeset', 'no-delete-failed-changeset', 'no-fail-on-empty-changeset', 'disable-rollback', 'timeout-in-minutes', 'notification-arns', 'role-arn', 'tags', 'termination-protection', 'http-proxy', 'change-set-name'] ``` The latest version commited is v2.0.0 where `mode` is supported by this action
1 parent c6cd26b commit bef7b29

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Deploys AWS CloudFormation Stacks.
99

1010
```yaml
1111
- name: Deploy to AWS CloudFormation
12-
uses: aws-actions/aws-cloudformation-github-deploy@v1
12+
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0
1313
with:
1414
name: MyStack
1515
template: myStack.yaml
@@ -26,7 +26,7 @@ This action supports three modes of operation for better change set management:
2626

2727
```yaml
2828
- name: Deploy CloudFormation Stack
29-
uses: aws-actions/aws-cloudformation-github-deploy@v1
29+
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0
3030
with:
3131
name: MyStack
3232
template: myStack.yaml
@@ -37,7 +37,7 @@ This action supports three modes of operation for better change set management:
3737
```yaml
3838
- name: Create Change Set for Review
3939
id: create-changeset
40-
uses: aws-actions/aws-cloudformation-github-deploy@v1
40+
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0
4141
with:
4242
mode: 'create-only'
4343
name: MyStack
@@ -56,7 +56,7 @@ This action supports three modes of operation for better change set management:
5656

5757
```yaml
5858
- name: Execute Change Set
59-
uses: aws-actions/aws-cloudformation-github-deploy@v1
59+
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0
6060
with:
6161
mode: 'execute-only'
6262
name: MyStack
@@ -69,7 +69,7 @@ Create change sets that can revert resource drift:
6969

7070
```yaml
7171
- name: Create Drift-Reverting Change Set
72-
uses: aws-actions/aws-cloudformation-github-deploy@v1
72+
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0
7373
with:
7474
mode: 'create-only'
7575
name: MyStack
@@ -110,7 +110,7 @@ jobs:
110110
111111
- name: Create change set for PR review
112112
id: create-cs
113-
uses: aws-actions/aws-cloudformation-github-deploy@v1
113+
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0
114114
with:
115115
mode: 'create-only'
116116
name: pr-review-${{ github.event.pull_request.number }}
@@ -361,7 +361,7 @@ Additionally this action will always consider already configured proxy in the en
361361
Manually configured proxy:
362362
363363
```yaml
364-
uses: aws-actions/aws-cloudformation-github-deploy@v1
364+
uses: aws-actions/aws-cloudformation-github-deploy@v2.0.0
365365
with:
366366
name: eks-primary
367367
template: https://s3.amazonaws.com/aws-quickstart/quickstart-amazon-eks/templates/amazon-eks-master.template.yaml

0 commit comments

Comments
 (0)