You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `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 |
75
-
| `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. |
| `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 |
75
+
| `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. |
76
76
| `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) |
78
78
| **Teraform configuration** |
79
-
| `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. |
79
+
| `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. |
80
80
| **StackStorm configuration** |
81
81
| `st2_auth_username` | string | | Username used by StackStorm standalone authentication. Set as a secret in GH Actions. |
82
82
| `st2_auth_password` | string | | Password used by StackStorm standalone authentication. Set as a secret in GH Actions. |
83
83
| `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. |
84
84
| **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` |
Copy file name to clipboardExpand all lines: action.yaml
+39-46Lines changed: 39 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -7,65 +7,63 @@ inputs:
7
7
checkout:
8
8
description: 'Specifies if this action should checkout the code'
9
9
required: false
10
-
default: 'true'
10
+
default: "true"
11
+
12
+
# AWS Configuration
11
13
aws_access_key_id:
12
14
description: 'AWS access key ID'
13
15
required: true
14
16
aws_secret_access_key:
15
17
description: 'AWS secret access key'
16
18
required: true
17
19
aws_session_token:
18
-
description: 'AWS session token'
20
+
description: "AWS session token, if you're using temporary credentials"
19
21
required: false
20
22
aws_default_region:
21
23
description: 'AWS default region'
22
24
required: true
23
-
default: 'us-east-1'
24
-
tf_state_bucket:
25
-
description: 'AWS S3 bucket to use for Terraform state. Defaults to `${org}-${repo}-{branch}-tf-state`'
26
-
required: false
27
-
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`'
29
-
required: false
30
-
default: 'false'
31
-
ec2_instance_profile:
32
-
description: 'The AWS IAM instance profile to use for the EC2 instance'
33
-
ec2_instance_type:
34
-
description: 'The AWS EC2 instance type. Default is "t2.medium"'
35
-
stack_destroy:
36
-
description: 'Set to "true" to Destroy the stack'
25
+
default: us-east-1
26
+
aws_ec2_instance_type:
27
+
description: 'The AWS EC2 instance type'
28
+
default: t2.medium
29
+
aws_ec2_instance_profile:
30
+
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'
37
31
aws_resource_identifier:
38
-
description: 'Set to override the AWS resource identifier for the deployment. Defaults to `${org}-{repo}-{branch}`. Use with destroy to destroy specific resources.'
39
-
# domain_name:
40
-
# description: 'Define the root domain name for the application. e.g. app.com'
41
-
# required: true
42
-
# create_domain:
43
-
# description: "Bool, whether the domain should be created in the action. Default is false"
44
-
# default: false
45
-
# sub_domain:
46
-
# description: 'Define the sub-domain part of the URL. Defaults to `${org}-${repo}-{branch}`'
47
-
# create_hosted_zone:
48
-
# description: "Bool, whether the hosted zone should be created in the action. Default is false"
49
-
# default: false
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}`."
50
33
aws_create_vpc:
51
-
description: "Bool, whether an AWS VPC should be created in the action. Default is false"
52
-
default: false
34
+
description: 'Bool, whether an AWS VPC should be created in the action. Otherwise, the existing default VPC will be used.'
35
+
default: "false"
53
36
infrastructure_only:
54
-
description: "Bool, does infrastructure (i.e. terraform) but **not** the deployment (i.e. ansible) . Default is false"
55
-
default: false
37
+
description: 'Set to true to provision infrastructure (with Terraform) but skip the app deployment (with ansible)'
38
+
default: "false"
56
39
40
+
# Terraform configuration
41
+
tf_state_bucket:
42
+
description: 'AWS S3 bucket to use for Terraform state. Defaults to `${org}-${repo}-${branch}-tf-state`'
43
+
required: false
57
44
58
-
#ST2 config
45
+
#StackStorm configuration
59
46
st2_auth_username:
60
-
description: Username used by StackStorm standalone authentication
47
+
description: 'Username used by StackStorm standalone authentication. Set as a secret in GH Actions.'
48
+
required: true
61
49
st2_auth_password:
62
-
description: Password used by StackStorm standalone authentication
50
+
description: 'Password used by StackStorm standalone authentication. Set as a secret in GH Actions.'
51
+
required: true
63
52
st2_packs:
64
-
description: String. Comma separated list of packs to install. This flag does not work with a --python3 only pack. (default `"st2"`). If you modify this option, be sure to also include `st2` in the list.
53
+
description: 'Comma separated list of packs to install. If you modify this option, be sure to also include `st2` in the list.'
65
54
default: "st2"
55
+
56
+
# Cleanup
57
+
tf_stack_destroy:
58
+
description: 'Set to "true" to Destroy the created AWS infrastructure for this instance'
59
+
default: "false"
60
+
tf_state_bucket_destroy:
61
+
description: 'Force purge and deletion of tf_state_bucket defined. Any file contained there will be destroyed. tf_stack_destroy must also be true.'
0 commit comments