tfbrief 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tfbrief-0.1.2/.github/workflows/ci.yml +57 -0
- tfbrief-0.1.2/.github/workflows/publish.yml +54 -0
- tfbrief-0.1.2/.gitignore +11 -0
- tfbrief-0.1.2/LICENSE +21 -0
- tfbrief-0.1.2/PKG-INFO +113 -0
- tfbrief-0.1.2/README.md +89 -0
- tfbrief-0.1.2/docs/demo.svg +79 -0
- tfbrief-0.1.2/fixtures/minimal-plan.json +249 -0
- tfbrief-0.1.2/pyproject.toml +50 -0
- tfbrief-0.1.2/scripts/refresh_readme_demo.py +237 -0
- tfbrief-0.1.2/scripts/set_version.py +54 -0
- tfbrief-0.1.2/src/tfbrief/__init__.py +20 -0
- tfbrief-0.1.2/src/tfbrief/__main__.py +4 -0
- tfbrief-0.1.2/src/tfbrief/review.py +393 -0
- tfbrief-0.1.2/tests/test_render_plan_review.py +373 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, master]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
python-version: ["3.10", "3.11", "3.12"]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: ${{ matrix.python-version }}
|
|
19
|
+
- name: Install package
|
|
20
|
+
run: pip install -e .
|
|
21
|
+
- name: Unit tests
|
|
22
|
+
run: python -m unittest discover -s tests -v
|
|
23
|
+
- name: Demo output (fixtures/minimal-plan.json)
|
|
24
|
+
env:
|
|
25
|
+
PYTHONIOENCODING: utf-8
|
|
26
|
+
run: |
|
|
27
|
+
python -m tfbrief < fixtures/minimal-plan.json > /tmp/tfbrief-demo.txt
|
|
28
|
+
echo "::group::TfBrief demo"
|
|
29
|
+
cat /tmp/tfbrief-demo.txt
|
|
30
|
+
echo "::endgroup::"
|
|
31
|
+
|
|
32
|
+
readme-demo:
|
|
33
|
+
name: Refresh README example text
|
|
34
|
+
needs: test
|
|
35
|
+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
|
|
36
|
+
runs-on: ubuntu-latest
|
|
37
|
+
permissions:
|
|
38
|
+
contents: write
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v4
|
|
41
|
+
- uses: actions/setup-python@v5
|
|
42
|
+
with:
|
|
43
|
+
python-version: "3.12"
|
|
44
|
+
- name: Install package
|
|
45
|
+
run: pip install -e .
|
|
46
|
+
- name: Update README demo block
|
|
47
|
+
env:
|
|
48
|
+
PYTHONIOENCODING: utf-8
|
|
49
|
+
run: python scripts/refresh_readme_demo.py
|
|
50
|
+
- name: Commit README if demo changed
|
|
51
|
+
run: |
|
|
52
|
+
git config user.name "github-actions[bot]"
|
|
53
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
54
|
+
git add README.md docs/demo.svg
|
|
55
|
+
git diff --staged --quiet && echo "No demo changes." && exit 0
|
|
56
|
+
git commit -m "ci: refresh README TfBrief example output"
|
|
57
|
+
git push
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*.*.*"
|
|
7
|
+
release:
|
|
8
|
+
types: [published]
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
inputs:
|
|
11
|
+
version:
|
|
12
|
+
description: "Release version (e.g. 0.1.1)"
|
|
13
|
+
required: true
|
|
14
|
+
type: string
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
id-token: write
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
pypi:
|
|
22
|
+
name: Build and upload to PyPI
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
environment: pypi
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v4
|
|
27
|
+
|
|
28
|
+
- name: Resolve version
|
|
29
|
+
id: meta
|
|
30
|
+
run: |
|
|
31
|
+
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
|
32
|
+
VERSION="${{ github.event.inputs.version }}"
|
|
33
|
+
elif [ "${{ github.event_name }}" = "release" ]; then
|
|
34
|
+
VERSION="${{ github.event.release.tag_name }}"
|
|
35
|
+
else
|
|
36
|
+
VERSION="${GITHUB_REF_NAME}"
|
|
37
|
+
fi
|
|
38
|
+
VERSION="${VERSION#v}"
|
|
39
|
+
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"
|
|
40
|
+
|
|
41
|
+
- name: Apply version in tree
|
|
42
|
+
run: python scripts/set_version.py "${{ steps.meta.outputs.version }}"
|
|
43
|
+
|
|
44
|
+
- uses: actions/setup-python@v5
|
|
45
|
+
with:
|
|
46
|
+
python-version: "3.12"
|
|
47
|
+
|
|
48
|
+
- name: Build packages
|
|
49
|
+
run: |
|
|
50
|
+
python -m pip install build
|
|
51
|
+
python -m build
|
|
52
|
+
|
|
53
|
+
- name: Publish to PyPI
|
|
54
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
tfbrief-0.1.2/.gitignore
ADDED
tfbrief-0.1.2/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 infroware
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
tfbrief-0.1.2/PKG-INFO
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: tfbrief
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: Human-readable Terraform plan output for CI — format terraform show -json into summaries, tables, and diffs
|
|
5
|
+
Project-URL: Homepage, https://github.com/infroware/tfbrief
|
|
6
|
+
Project-URL: Repository, https://github.com/infroware/tfbrief
|
|
7
|
+
Project-URL: Issues, https://github.com/infroware/tfbrief/issues
|
|
8
|
+
Project-URL: PyPI, https://pypi.org/project/tfbrief/
|
|
9
|
+
Author: infroware
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: ci-cd,devops,github-actions,iac,infrastructure-as-code,plan-review,terraform,terraform-plan,terraform-show-json,tfbrief
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Topic :: System :: Systems Administration
|
|
22
|
+
Requires-Python: >=3.10
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
|
|
25
|
+
# TfBrief
|
|
26
|
+
|
|
27
|
+
[](https://pypi.org/project/tfbrief/)
|
|
28
|
+
[](https://pypi.org/project/tfbrief/)
|
|
29
|
+
|
|
30
|
+
**TfBrief** turns [`terraform show -json`](https://developer.hashicorp.com/terraform/cli/commands/show) plan output into **readable CI logs**: a summary panel, per-resource actions, and attribute-level diffs. Use it in **Terraform**, **GitHub Actions**, and other **DevOps / IaC** pipelines when raw JSON is too noisy for reviewers.
|
|
31
|
+
|
|
32
|
+
- **Terraform plan review** without scrolling megabytes of JSON
|
|
33
|
+
- **CI/CD** friendly — stdlib only, `pip install tfbrief`, one pipe on stdout
|
|
34
|
+
- Optional **`--has-changes`** boolean for conditional `terraform apply`
|
|
35
|
+
|
|
36
|
+
**Install from PyPI:** [pypi.org/project/tfbrief](https://pypi.org/project/tfbrief/)
|
|
37
|
+
|
|
38
|
+
<!-- tfbrief-demo:start -->
|
|
39
|
+
<details open>
|
|
40
|
+
<summary><strong>Example output</strong> (fixture <a href="fixtures/minimal-plan.json"><code>minimal-plan.json</code></a>)</summary>
|
|
41
|
+
|
|
42
|
+
<div style="width:100%;overflow-x:auto">
|
|
43
|
+
<img src="docs/demo.svg" alt="TfBrief terminal output: summary, resource actions, and attribute diffs" style="display:block;width:auto;max-width:none;height:auto;background:#000000;border-radius:6px"/>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
</details>
|
|
47
|
+
<!-- tfbrief-demo:end -->
|
|
48
|
+
|
|
49
|
+
## Why TfBrief?
|
|
50
|
+
|
|
51
|
+
Hashicorp’s JSON plan is complete but awkward in **pull request checks** and **pipeline logs**. TfBrief is a small Python CLI focused on **infrastructure-as-code** workflows: operators see what will **create, update, or delete** before apply, without a JSON viewer or custom jq scripts.
|
|
52
|
+
|
|
53
|
+
Typical fit: **Terraform** modules in **GitHub Actions**, **GitLab CI**, or any job that already runs `terraform plan -out=tfplan`.
|
|
54
|
+
|
|
55
|
+
## Install
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
pip install tfbrief
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Requires Python 3.10+. The `tfbrief` command is on your PATH after install.
|
|
62
|
+
|
|
63
|
+
## Usage
|
|
64
|
+
|
|
65
|
+
After `terraform plan -out=tfplan`, pipe the JSON plan into TfBrief:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
terraform show -json tfplan | tfbrief
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
That prints the summary panel, resource table, and attribute diffs (see example above).
|
|
72
|
+
|
|
73
|
+
### Optional: `--has-changes` (apply gate)
|
|
74
|
+
|
|
75
|
+
Same JSON input, different output — **no** formatted report. Stdout is only `true` or `false` so scripts can skip apply when the plan is empty:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
terraform show -json tfplan | tfbrief --has-changes
|
|
79
|
+
# true
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Plans with only `no-op` / `read` actions (and no output changes) print `false`. Resource or output changes print `true`. Invalid JSON prints an error to stderr and exits `1`.
|
|
83
|
+
|
|
84
|
+
Typical pattern — log for humans, gate for apply:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
terraform plan -out=tfplan
|
|
88
|
+
terraform show -json tfplan | tfbrief
|
|
89
|
+
if [ "$(terraform show -json tfplan | tfbrief --has-changes)" = "true" ]; then
|
|
90
|
+
terraform apply tfplan
|
|
91
|
+
fi
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
You do **not** need `--has-changes` if you only want readable CI logs or apply manually.
|
|
95
|
+
|
|
96
|
+
### GitHub Actions
|
|
97
|
+
|
|
98
|
+
```yaml
|
|
99
|
+
- uses: actions/setup-python@v5
|
|
100
|
+
with:
|
|
101
|
+
python-version: "3.12"
|
|
102
|
+
- run: pip install -q tfbrief && terraform show -json tfplan | tfbrief
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Add `--has-changes` in a separate step only when a later step should run `terraform apply` conditionally.
|
|
106
|
+
|
|
107
|
+
## Security
|
|
108
|
+
|
|
109
|
+
Redaction is **best-effort**. Treat CI logs as sensitive.
|
|
110
|
+
|
|
111
|
+
## License
|
|
112
|
+
|
|
113
|
+
MIT — see [LICENSE](LICENSE).
|
tfbrief-0.1.2/README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# TfBrief
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/tfbrief/)
|
|
4
|
+
[](https://pypi.org/project/tfbrief/)
|
|
5
|
+
|
|
6
|
+
**TfBrief** turns [`terraform show -json`](https://developer.hashicorp.com/terraform/cli/commands/show) plan output into **readable CI logs**: a summary panel, per-resource actions, and attribute-level diffs. Use it in **Terraform**, **GitHub Actions**, and other **DevOps / IaC** pipelines when raw JSON is too noisy for reviewers.
|
|
7
|
+
|
|
8
|
+
- **Terraform plan review** without scrolling megabytes of JSON
|
|
9
|
+
- **CI/CD** friendly — stdlib only, `pip install tfbrief`, one pipe on stdout
|
|
10
|
+
- Optional **`--has-changes`** boolean for conditional `terraform apply`
|
|
11
|
+
|
|
12
|
+
**Install from PyPI:** [pypi.org/project/tfbrief](https://pypi.org/project/tfbrief/)
|
|
13
|
+
|
|
14
|
+
<!-- tfbrief-demo:start -->
|
|
15
|
+
<details open>
|
|
16
|
+
<summary><strong>Example output</strong> (fixture <a href="fixtures/minimal-plan.json"><code>minimal-plan.json</code></a>)</summary>
|
|
17
|
+
|
|
18
|
+
<div style="width:100%;overflow-x:auto">
|
|
19
|
+
<img src="docs/demo.svg" alt="TfBrief terminal output: summary, resource actions, and attribute diffs" style="display:block;width:auto;max-width:none;height:auto;background:#000000;border-radius:6px"/>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
<!-- tfbrief-demo:end -->
|
|
24
|
+
|
|
25
|
+
## Why TfBrief?
|
|
26
|
+
|
|
27
|
+
Hashicorp’s JSON plan is complete but awkward in **pull request checks** and **pipeline logs**. TfBrief is a small Python CLI focused on **infrastructure-as-code** workflows: operators see what will **create, update, or delete** before apply, without a JSON viewer or custom jq scripts.
|
|
28
|
+
|
|
29
|
+
Typical fit: **Terraform** modules in **GitHub Actions**, **GitLab CI**, or any job that already runs `terraform plan -out=tfplan`.
|
|
30
|
+
|
|
31
|
+
## Install
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install tfbrief
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Requires Python 3.10+. The `tfbrief` command is on your PATH after install.
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
After `terraform plan -out=tfplan`, pipe the JSON plan into TfBrief:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
terraform show -json tfplan | tfbrief
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
That prints the summary panel, resource table, and attribute diffs (see example above).
|
|
48
|
+
|
|
49
|
+
### Optional: `--has-changes` (apply gate)
|
|
50
|
+
|
|
51
|
+
Same JSON input, different output — **no** formatted report. Stdout is only `true` or `false` so scripts can skip apply when the plan is empty:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
terraform show -json tfplan | tfbrief --has-changes
|
|
55
|
+
# true
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Plans with only `no-op` / `read` actions (and no output changes) print `false`. Resource or output changes print `true`. Invalid JSON prints an error to stderr and exits `1`.
|
|
59
|
+
|
|
60
|
+
Typical pattern — log for humans, gate for apply:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
terraform plan -out=tfplan
|
|
64
|
+
terraform show -json tfplan | tfbrief
|
|
65
|
+
if [ "$(terraform show -json tfplan | tfbrief --has-changes)" = "true" ]; then
|
|
66
|
+
terraform apply tfplan
|
|
67
|
+
fi
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
You do **not** need `--has-changes` if you only want readable CI logs or apply manually.
|
|
71
|
+
|
|
72
|
+
### GitHub Actions
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
- uses: actions/setup-python@v5
|
|
76
|
+
with:
|
|
77
|
+
python-version: "3.12"
|
|
78
|
+
- run: pip install -q tfbrief && terraform show -json tfplan | tfbrief
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Add `--has-changes` in a separate step only when a later step should run `terraform apply` conditionally.
|
|
82
|
+
|
|
83
|
+
## Security
|
|
84
|
+
|
|
85
|
+
Redaction is **best-effort**. Treat CI logs as sensitive.
|
|
86
|
+
|
|
87
|
+
## License
|
|
88
|
+
|
|
89
|
+
MIT — see [LICENSE](LICENSE).
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="602" height="1194" viewBox="0 0 602 1194" preserveAspectRatio="xMinYMin meet" role="img" aria-label="TfBrief example output">
|
|
3
|
+
<rect width="100%" height="100%" fill="#000000"/>
|
|
4
|
+
<text y="24.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">╭───────────────────────────────────────────────────────────╮</tspan></text>
|
|
5
|
+
<text y="40.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">│</tspan><tspan x="19.05" fill="#f0f6fc"> </tspan><tspan x="209.40" fill="#56d4dd" font-weight="600">TFBRIEF</tspan><tspan x="258.75" fill="#f0f6fc"> </tspan><tspan x="435.00" fill="#56d4dd" font-weight="600">│</tspan></text>
|
|
6
|
+
<text y="55.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">├───────────────────────────────────────────────────────────┤</tspan></text>
|
|
7
|
+
<rect x="26.10" y="61.40" width="21.15" height="14" fill="#8957e5"/>
|
|
8
|
+
<rect x="47.25" y="61.40" width="42.30" height="14" fill="#da3633"/>
|
|
9
|
+
<rect x="89.55" y="61.40" width="63.45" height="14" fill="#9e6a03"/>
|
|
10
|
+
<rect x="153.00" y="61.40" width="63.45" height="14" fill="#238636"/>
|
|
11
|
+
<rect x="216.45" y="61.40" width="21.15" height="14" fill="#1f6feb"/>
|
|
12
|
+
<text y="71.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">│</tspan><tspan x="19.05" fill="#f0f6fc"> </tspan><tspan x="26.10" fill="#f0f6fc" font-weight="600"> </tspan><tspan x="47.25" fill="#f0f6fc" font-weight="600"> </tspan><tspan x="89.55" fill="#f0f6fc" font-weight="600"> </tspan><tspan x="153.00" fill="#f0f6fc" font-weight="600"> </tspan><tspan x="216.45" fill="#f0f6fc" font-weight="600"> </tspan><tspan x="237.60" fill="#f0f6fc"> </tspan><tspan x="435.00" fill="#56d4dd" font-weight="600">│</tspan></text>
|
|
13
|
+
<text y="87.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">├───────────────────────────────────────────────────────────┤</tspan></text>
|
|
14
|
+
<text y="102.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">│</tspan><tspan x="19.05" fill="#f0f6fc"> 🟣 </tspan><tspan x="54.30" fill="#d2a8ff" font-weight="600">REPLACE </tspan><tspan x="167.10" fill="#f0f6fc"> 1 10.0% </tspan><tspan x="435.00" fill="#56d4dd" font-weight="600">│</tspan></text>
|
|
15
|
+
<text y="118.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">│</tspan><tspan x="19.05" fill="#f0f6fc"> 🔴 </tspan><tspan x="54.30" fill="#ff7b72" font-weight="600">DELETE </tspan><tspan x="167.10" fill="#f0f6fc"> 2 20.0% </tspan><tspan x="435.00" fill="#56d4dd" font-weight="600">│</tspan></text>
|
|
16
|
+
<text y="133.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">│</tspan><tspan x="19.05" fill="#f0f6fc"> 🟡 </tspan><tspan x="54.30" fill="#ffa657" font-weight="600">UPDATE </tspan><tspan x="167.10" fill="#f0f6fc"> 3 30.0% </tspan><tspan x="435.00" fill="#56d4dd" font-weight="600">│</tspan></text>
|
|
17
|
+
<text y="149.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">│</tspan><tspan x="19.05" fill="#f0f6fc"> 🟢 </tspan><tspan x="54.30" fill="#3fb950" font-weight="600">CREATE </tspan><tspan x="167.10" fill="#f0f6fc"> 3 30.0% </tspan><tspan x="435.00" fill="#56d4dd" font-weight="600">│</tspan></text>
|
|
18
|
+
<text y="165.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">│</tspan><tspan x="19.05" fill="#f0f6fc"> 🔵 </tspan><tspan x="54.30" fill="#56d4dd" font-weight="600">STOP MANAGING </tspan><tspan x="167.10" fill="#f0f6fc"> 1 10.0% </tspan><tspan x="435.00" fill="#56d4dd" font-weight="600">│</tspan></text>
|
|
19
|
+
<text y="180.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">│</tspan><tspan x="19.05" fill="#f0f6fc"> 📤 </tspan><tspan x="54.30" fill="#56d4dd" font-weight="600">OUTPUT CHANGES </tspan><tspan x="167.10" fill="#f0f6fc"> 2 </tspan><tspan x="435.00" fill="#56d4dd" font-weight="600">│</tspan></text>
|
|
20
|
+
<text y="196.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">╰───────────────────────────────────────────────────────────╯</tspan></text>
|
|
21
|
+
<text y="211.79999999999998" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">🔵 Stop managing removes Terraform tracking. The resource stays in place.</tspan></text>
|
|
22
|
+
<text y="243.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">RESOURCE ACTIONS</tspan></text>
|
|
23
|
+
<text y="258.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
24
|
+
<text y="274.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| ACTION | RESOURCE ADDRESS |</tspan></text>
|
|
25
|
+
<text y="289.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
26
|
+
<text y="305.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#d2a8ff" font-weight="600">REPLACE </tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_linux_virtual_machine.app |</tspan></text>
|
|
27
|
+
<text y="321.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
28
|
+
<text y="336.59999999999997" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#ff7b72" font-weight="600">DELETE </tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_public_ip.legacy |</tspan></text>
|
|
29
|
+
<text y="352.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
30
|
+
<text y="367.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#ff7b72" font-weight="600">DELETE </tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_monitor_diagnostic_setting.legacy |</tspan></text>
|
|
31
|
+
<text y="383.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
32
|
+
<text y="399.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#ffa657" font-weight="600">UPDATE </tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_storage_account.legacy |</tspan></text>
|
|
33
|
+
<text y="414.59999999999997" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
34
|
+
<text y="430.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#ffa657" font-weight="600">UPDATE </tspan><tspan x="117.75" fill="#f0f6fc"> | kubernetes_deployment.api |</tspan></text>
|
|
35
|
+
<text y="445.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
36
|
+
<text y="461.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#ffa657" font-weight="600">UPDATE </tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_key_vault_secret.db_connection |</tspan></text>
|
|
37
|
+
<text y="477.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
38
|
+
<text y="492.59999999999997" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#3fb950" font-weight="600">CREATE </tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_resource_group.core |</tspan></text>
|
|
39
|
+
<text y="508.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
40
|
+
<text y="523.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#3fb950" font-weight="600">CREATE </tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_storage_container.logs |</tspan></text>
|
|
41
|
+
<text y="539.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
42
|
+
<text y="555.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#3fb950" font-weight="600">CREATE </tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_cdn_frontdoor_profile.edge |</tspan></text>
|
|
43
|
+
<text y="570.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
44
|
+
<text y="586.1999999999999" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#56d4dd" font-weight="600">STOP MANAGING</tspan><tspan x="117.75" fill="#f0f6fc"> | azurerm_network_interface.orphan |</tspan></text>
|
|
45
|
+
<text y="601.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+---------------+-------------------------------------------+</tspan></text>
|
|
46
|
+
<text y="633.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#56d4dd" font-weight="600">ATTRIBUTE DIFFS (updates and replacements only)</tspan></text>
|
|
47
|
+
<text y="648.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">🟣 REPLACE azurerm_linux_virtual_machine azurerm_linux_virtual_machine.app</tspan></text>
|
|
48
|
+
<text y="664.1999999999999" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
49
|
+
<text y="679.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#56d4dd" font-weight="600">ATTRIBUTE </tspan><tspan x="181.20" fill="#f0f6fc"> | </tspan><tspan x="202.35" fill="#56d4dd" font-weight="600">BEFORE </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#56d4dd" font-weight="600">AFTER </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
50
|
+
<text y="695.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
51
|
+
<text y="711.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| size | </tspan><tspan x="202.35" fill="#ff7b72" font-weight="600">"Standard_D2s_v3" </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#3fb950" font-weight="600">"Standard_D4s_v3" </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
52
|
+
<text y="726.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
53
|
+
<text y="742.1999999999999" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| zone | </tspan><tspan x="202.35" fill="#ff7b72" font-weight="600">"1" </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#3fb950" font-weight="600">"2" </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
54
|
+
<text y="757.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
55
|
+
<text y="789.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">🟡 UPDATE azurerm_storage_account azurerm_storage_account.legacy</tspan></text>
|
|
56
|
+
<text y="804.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
57
|
+
<text y="820.1999999999999" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#56d4dd" font-weight="600">ATTRIBUTE </tspan><tspan x="181.20" fill="#f0f6fc"> | </tspan><tspan x="202.35" fill="#56d4dd" font-weight="600">BEFORE </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#56d4dd" font-weight="600">AFTER </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
58
|
+
<text y="835.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
59
|
+
<text y="851.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| account_replication_t… | </tspan><tspan x="202.35" fill="#ff7b72" font-weight="600">"LRS" </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#3fb950" font-weight="600">"GRS" </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
60
|
+
<text y="867.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
61
|
+
<text y="882.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| tags.env | </tspan><tspan x="202.35" fill="#ff7b72" font-weight="600">"dev" </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#3fb950" font-weight="600">"staging" </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
62
|
+
<text y="898.1999999999999" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
63
|
+
<text y="929.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">🟡 UPDATE kubernetes_deployment kubernetes_deployment.api</tspan></text>
|
|
64
|
+
<text y="945.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
65
|
+
<text y="960.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#56d4dd" font-weight="600">ATTRIBUTE </tspan><tspan x="181.20" fill="#f0f6fc"> | </tspan><tspan x="202.35" fill="#56d4dd" font-weight="600">BEFORE </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#56d4dd" font-weight="600">AFTER </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
66
|
+
<text y="976.1999999999999" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
67
|
+
<text y="991.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| metadata.labels.versi… | </tspan><tspan x="202.35" fill="#ff7b72" font-weight="600">"v1.2.0" </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#3fb950" font-weight="600">"v1.3.0" </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
68
|
+
<text y="1007.4" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
69
|
+
<text y="1023.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| spec.replicas | </tspan><tspan x="202.35" fill="#ff7b72" font-weight="600">2 </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#3fb950" font-weight="600">4 </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
70
|
+
<text y="1038.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
71
|
+
<text y="1054.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| spec.template.spec.co… | </tspan><tspan x="202.35" fill="#ff7b72" font-weight="600">[{"image":"ghcr.io/demo/…</tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#3fb950" font-weight="600">[{"image":"ghcr.io/demo/…</tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
72
|
+
<text y="1069.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
73
|
+
<text y="1101.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">🟡 UPDATE azurerm_key_vault_secret azurerm_key_vault_secret.db_connection</tspan></text>
|
|
74
|
+
<text y="1116.6" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
75
|
+
<text y="1132.2" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| </tspan><tspan x="26.10" fill="#56d4dd" font-weight="600">ATTRIBUTE </tspan><tspan x="181.20" fill="#f0f6fc"> | </tspan><tspan x="202.35" fill="#56d4dd" font-weight="600">BEFORE </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#56d4dd" font-weight="600">AFTER </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
76
|
+
<text y="1147.8" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
77
|
+
<text y="1163.3999999999999" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">| value | </tspan><tspan x="202.35" fill="#ff7b72" font-weight="600">[REDACTED] </tspan><tspan x="378.60" fill="#f0f6fc"> | </tspan><tspan x="399.75" fill="#3fb950" font-weight="600">[REDACTED] </tspan><tspan x="576.00" fill="#f0f6fc"> |</tspan></text>
|
|
78
|
+
<text y="1179.0" font-family="ui-monospace,Menlo,Consolas,monospace" font-size="12"><tspan x="12.00" fill="#f0f6fc">+------------------------+---------------------------+---------------------------+</tspan></text>
|
|
79
|
+
</svg>
|