- name: 'Retrives status of AWS CloudFormation Stack'
id: stack-status
uses: poad/aws-cloudformation-stack-status-checker@v2.0.0
with:
stack-name: 'test-stack'
- name: 'Another example step'
run: echo ${{ steps.stack-status.outputs.status }}
Credential resolve follows the AWS SDK v3 for JavaScript specification. https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
It is recommended to use aws-actions/configure-aws-credentials to configure credentials in advance.
The default region can be set via credentials or the environment variable AWS_REGION
.
To check the stack for a region other than the default region, specify region
in the Action input as follows
- name: 'Retrives status of AWS CloudFormation Stack'
id: stack-status
uses: poad/aws-cloudformation-stack-status-checker@v2.0.0
with:
stack-name: 'test-stack'
region: us-west-2
Any contributions made under this project will be governed by the MIT License