Skip to content

Commit 7221be3

Browse files
committed
v1.10.0 - output-json, compact-warnings improvement
1 parent 5e9dccd commit 7221be3

3 files changed

Lines changed: 117 additions & 76 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 1.10.0 (02/12/2024)
2+
3+
FEATURES:
4+
5+
* Apply/Refresh/Destroy actions now output a terraform.output.json file containing
6+
the contents of terraform output -json -no-color. On by default, can be disabled.
7+
* Ignore -w/--compact-warnings for commands that don't support it so the user
8+
can specify it all the time without worrying which commands support it.
9+
10+
BUG FIXES:
11+
12+
* Fix plugin-cache base directory from `$(pwd)` to `${base_path}` so it is correctly
13+
located if terraform.sh is invoked from somewhere other than the project root.
14+
15+
CHORES:
16+
17+
* Fix inappropriate double-quoting of non-interpolated strings.
18+
119
## 1.9.1 (06/09/2024)
220

321
BUG FIXES:

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,20 @@ The terraformscaffold script is invoked as bin/terraform.sh. Once a state bucket
105105

106106
```bash
107107
bin/terraform.sh \
108-
-a/--action `action` \
109-
-b/--bucket-prefix `bucket_prefix` \
110-
-c/--component `component_name` \
111-
-e/--environment `environment` \
112-
-g/--group `group` (optional) \
113-
-i/--build-id `build_id` (optional) \
114-
-l/--lockfile `mode` (optional) \
115-
-p/--project `project` \
116-
-r/--region `region` \
117-
-d/--detailed-exitcode (optional) \
118-
-t/--lock-table (optional) \
119-
-n/--no-color (optional) \
120-
-w/--compact-warnings (optional) \
108+
-a/--action `action` \
109+
-b/--bucket-prefix `bucket_prefix` \
110+
-c/--component `component_name` \
111+
-e/--environment `environment` \
112+
-g/--group `group` (optional) \
113+
-i/--build-id `build_id` (optional) \
114+
-l/--lockfile `mode` (optional) \
115+
-p/--project `project` \
116+
-r/--region `region` \
117+
-d/--detailed-exitcode (optional) \
118+
-j/--disable-output-json (optional) \
119+
-t/--lock-table (optional) \
120+
-n/--no-color (optional) \
121+
-w/--compact-warnings (optional) \
121122
-- \
122123
<additional arguments to forward to the terraform binary call>
123124
```
@@ -140,6 +141,7 @@ Where:
140141
* `project`: The name of the project being deployed, as per the default bucket-prefix and state file keyspace
141142
* `region` (optional): The AWS region name unique to all components and terraform processes. Defaults to the value of the _AWS_DEFAULT_REGION_ environment variable.
142143
* `detailed-exitcode` (optional): Passes detailed exit code flag to terraform.
144+
* `disable-output-json` (optional): Disables writing a terraform.output.json file when component outputs are updated
143145
* `lock-table` (optional): Tells tfscaffold to use a DynamoDB Table with the same name as the S3 Bucket for state file locking
144146
* `no-color` (optional): Passes no-color flag to terraform.
145147
* `compact-warnings` (optional): Passes compact-warnings flag to terraform.

0 commit comments

Comments
 (0)