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
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,9 +111,11 @@ bin/terraform.sh \
111
111
-e/--environment `environment` \
112
112
-g/--group `group` (optional) \
113
113
-i/--build-id `build_id` (optional) \
114
+
-l/--lockfile `mode` (optional) \
114
115
-p/--project `project` \
115
116
-r/--region `region` \
116
117
-d/--detailed-exitcode (optional) \
118
+
-t/--lock-table (optional) \
117
119
-n/--no-color (optional) \
118
120
-w/--compact-warnings (optional) \
119
121
-- \
@@ -134,9 +136,11 @@ Where:
134
136
*`component_name`: The name of the terraform component in the components directory to run the `action` against.
135
137
*`environment`: The name of the environment the component is to be actioned against, therefore implying the variables file(s) to be included
136
138
*`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
139
+
*`lockfile` (optional): Passes the given lockfile mode to terraform.
137
140
*`project`: The name of the project being deployed, as per the default bucket-prefix and state file keyspace
138
141
*`region` (optional): The AWS region name unique to all components and terraform processes. Defaults to the value of the _AWS_DEFAULT_REGION_ environment variable.
139
142
*`detailed-exitcode` (optional): Passes detailed exit code flag to terraform.
143
+
*`lock-table` (optional): Tells tfscaffold to use a DynamoDB Table with the same name as the S3 Bucket for state file locking
140
144
*`no-color` (optional): Passes no-color flag to terraform.
141
145
*`compact-warnings` (optional): Passes compact-warnings flag to terraform.
142
146
*`additional arguments`: Any arguments provided after "--" will be passed directly to terraform as its own arguments, e.g. allowing the provision of a 'target=value' parameter.
@@ -272,6 +296,7 @@ if [ "${bootstrap}" == "true" ]; then
272
296
&& error_and_die "The --bootstrap parameter and the -c/--component parameter are mutually exclusive";
273
297
[ -n"${build_id}" ] \
274
298
&& error_and_die "The --bootstrap parameter and the -i/--build-id parameter are mutually exclusive. We do not currently support plan files for bootstrap";
0 commit comments