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
The -g/--group flag (also --groups) now accepts comma-delimited
values, e.g. -g dev,live, loading each group tfvars file in order.
Uses IFS-safe read -ra parsing and iterates with a proper array
loop, safe under set -uo pipefail with empty input.
Closes#41.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ bin/terraform.sh \
118
118
-b/--bucket-prefix `bucket_prefix` \
119
119
-c/--component `component_name` \
120
120
-e/--environment `environment` \
121
-
-g/--group `group` (optional) \
121
+
-g/--group/--groups`group` (optional, comma-delimited for multiple) \
122
122
-i/--build-id `build_id` (optional) \
123
123
-l/--lockfile `mode` (optional) \
124
124
-p/--project `project` \
@@ -145,7 +145,7 @@ Where:
145
145
* It is usual to provide, for example, the Jenkins _$BUILD_ID_ parameter to Plan jobs, and then manually reference that particular Job ID when running a corresponding apply job.
146
146
*`component_name`: The name of the terraform component in the components directory to run the `action` against.
147
147
*`environment`: The name of the environment the component is to be actioned against, therefore implying the variables file(s) to be included
148
-
*`group` (optional): The name of the group to which the environment belongs, permitting the use of a group tfvars file as a "meta-environment" shared by more than one environment
148
+
*`group` (optional): The name of the group(s) to which the environment belongs, permitting the use of group tfvars files as "meta-environments" shared by more than one environment. Supports comma-delimited values for multiple groups, e.g. `-g dev,live`
149
149
*`lockfile` (optional): Passes the given lockfile mode to terraform.
150
150
*`project`: The name of the project being deployed, as per the default bucket-prefix and state file keyspace
151
151
*`region` (optional): The AWS region name unique to all components and terraform processes. Defaults to the value of the _AWS_DEFAULT_REGION_ environment variable.
0 commit comments