Skip to content

Commit cb9a1f7

Browse files
authored
Reword "infrastructure_only" option
1 parent a1b447c commit cb9a1f7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The following inputs can be used as `steps.with` keys:
7474
| `aws_ec2_instance_profile` | string | | [The AWS IAM instance profile](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html) to use for the EC2 instance. Use if you want to pass an AWS role with specific permissions granted to the instance |
7575
| `aws_resource_identifier` | string | `${org}-${repo}-${branch}` | Auto-generated by default so it's unique for org/repo/branch. Set to override with custom naming the unique AWS resource identifier for the deployment. |
7676
| `aws_create_vpc` | bool | `false` | Whether an AWS VPC should be created in the action. Otherwise, the existing default VPC will be used. |
77-
| `infrastructure_only` | bool | `false` | Does infrastructure (i.e. terraform) but **not** the deployment (i.e. ansible) |
77+
| `infrastructure_only` | bool | `false` | Set to true to provision infrastructure (with Terraform) but skip the app deployment (with ansible) |
7878
| **Teraform configuration** |
7979
| `tf_state_bucket` | string | `${org}-${repo}-${branch}-tf-state` | AWS S3 bucket to use for Terraform state. By default, a new deployment will be created for each unique branch. Hardcode if you want to keep a shared resource state between the several branches. |
8080
| **StackStorm configuration** |

action.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
checkout:
88
description: 'Specifies if this action should checkout the code'
99
required: false
10-
default: true
10+
default: "true"
1111

1212
# AWS Configuration
1313
aws_access_key_id:
@@ -29,13 +29,13 @@ inputs:
2929
aws_ec2_instance_profile:
3030
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'
3131
aws_resource_identifier:
32-
description: 'Auto-generated by default so it's unique for org/repo/branch. Set to override with custom naming the unique AWS resource identifier for the deployment. Defaults to `${org}-${repo}-${branch}`.'
32+
description: "Auto-generated by default so it's unique for org/repo/branch. Set to override with custom naming the unique AWS resource identifier for the deployment. Defaults to `${org}-${repo}-${branch}`."
3333
aws_create_vpc:
3434
description: 'Bool, whether an AWS VPC should be created in the action. Otherwise, the existing default VPC will be used.'
35-
default: false
35+
default: "false"
3636
infrastructure_only:
37-
description: 'Does infrastructure (i.e. terraform) but **not** the deployment (i.e. ansible)'
38-
default: false
37+
description: 'Set to true to provision infrastructure (with Terraform) but skip the app deployment (with ansible)'
38+
default: "false"
3939

4040
# Terraform configuration
4141
tf_state_bucket:
@@ -56,10 +56,10 @@ inputs:
5656
# Cleanup
5757
tf_stack_destroy:
5858
description: 'Set to "true" to Destroy the created AWS infrastructure for this instance'
59-
default: false
59+
default: "false"
6060
tf_state_bucket_destroy:
6161
description: 'Force purge and deletion of tf_state_bucket defined. Any file contained there will be destroyed. tf_stack_destroy must also be true.'
62-
default: false
62+
default: "false"
6363

6464
outputs:
6565
lb_url:
@@ -96,7 +96,7 @@ runs:
9696
# Skip ansible deployment if deploying only infrastructure
9797
ANSIBLE_SKIP_DEPLOY: ${{ inputs.infrastructure_only }}
9898

99-
BITOPS_FAST_FAIL: true
99+
BITOPS_FAST_FAIL: "true"
100100

101101
# ST2 config
102102
ST2_AUTH_USERNAME: ${{ inputs.st2_auth_username }}

0 commit comments

Comments
 (0)