Skip to content

Commit 3c31633

Browse files
committed
Rename stack_destroy -> tf_stack_destroy
1 parent 05af0d2 commit 3c31633

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ The following inputs can be used as `steps.with` keys:
8282
| `st2_auth_password` | string | | Password used by StackStorm standalone authentication. Set as a secret in GH Actions. |
8383
| `st2_packs` | string |`"st2"` | Comma separated list of packs to install. If you modify this option, be sure to also include `st2` in the list. |
8484
| **Cleanup** |
85-
| `stack_destroy` | bool | `false` | Set to `true` to Destroy the created AWS infrastructure for this instance |
86-
| `tf_state_bucket_destroy` | bool | `false` | Force purge and deletion of `tf_state_bucket` defined. Any file contained there will be destroyed. `stack_destroy` must also be `true`. Use if you want to clean up the resources |
85+
| `tf_stack_destroy` | bool | `false` | Set to `true` to Destroy the created AWS infrastructure for this instance |
86+
| `tf_state_bucket_destroy` | bool | `false` | Force purge and deletion of `tf_state_bucket` defined. Any file contained there will be destroyed. `tf_stack_destroy` must also be `true`. Use if you want to clean up the resources |
8787

8888

8989
## Note about AWS resource identifiers

action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ inputs:
2525
description: 'AWS S3 bucket to use for Terraform state. Defaults to `${org}-${repo}-{branch}-tf-state`'
2626
required: false
2727
tf_state_bucket_destroy:
28-
description: 'Force purge and deletion of S3 bucket defined. Any file contained there will be destroyed `stack_destroy` must also be `true`'
28+
description: 'Force purge and deletion of S3 bucket defined. Any file contained there will be destroyed `tf_stack_destroy` must also be `true`'
2929
required: false
3030
default: 'false'
3131
aws_ec2_instance_profile:
3232
description: 'The AWS IAM instance profile to use for the EC2 instance. Use if you want to pass an AWS role with specific permissions granted to the instance'
3333
aws_ec2_instance_type:
3434
description: 'The AWS EC2 instance type'
3535
default: t2.medium
36-
stack_destroy:
37-
description: 'Set to "true" to Destroy the stack'
36+
tf_stack_destroy:
37+
description: 'Set to "true" to Destroy the created AWS infrastructure for this instance'
3838
aws_resource_identifier:
3939
description: 'Set to override the AWS resource identifier for the deployment. Defaults to `${org}-{repo}-{branch}`. Use with destroy to destroy specific resources.'
4040
# domain_name:
@@ -92,7 +92,7 @@ runs:
9292
APP_PORT: ${{ inputs.app_port }}
9393
EC2_INSTANCE_PROFILE: ${{ inputs.aws_ec2_instance_profile }}
9494
EC2_INSTANCE_TYPE: ${{ inputs.aws_ec2_instance_type }}
95-
STACK_DESTROY: ${{ inputs.stack_destroy }}
95+
STACK_DESTROY: ${{ inputs.tf_stack_destroy }}
9696
AWS_RESOURCE_IDENTIFIER: ${{ inputs.aws_resource_identifier }}
9797
# DOMAIN_NAME: ${{ inputs.domain_name }}
9898
# CREATE_DOMAIN: ${{ inputs.CREATE_DOMAIN }}

0 commit comments

Comments
 (0)