Skip to content

Commit 2c478da

Browse files
milldrgoruha
andauthored
fix: correct README.yaml indentation and test atmos configs (#96)
* fix: correct indentation in README.yaml blockquote * fix: remove ./ prefix from base_path in test atmos configs * Add caching for .terraform directory Added caching for .terraform directory to improve performance. * Rename retrieved plan filename format * Fix retrieved plan filename and reintroduce caching --------- Co-authored-by: Igor Rodionov <496956+goruha@users.noreply.github.com>
1 parent 9e7c58c commit 2c478da

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ usage: |-
189189
To enable plan diff mode, set the `plan-diff` input to `true`.
190190
191191
> [!IMPORTANT]
192-
> When plan-diff is disabled, the action will apply the stored plan without re-validating it.
193-
> This may result in unintended changes if the underlying infrastructure has been modified between the plan and apply steps.
194-
> Additionally, stored plans are single-use: even if an apply operation fails for any reason, the plan becomes outdated and cannot be reused.
192+
> When plan-diff is disabled, the action will apply the stored plan without re-validating it.
193+
> This may result in unintended changes if the underlying infrastructure has been modified between the plan and apply steps.
194+
> Additionally, stored plans are single-use: even if an apply operation fails for any reason, the plan becomes outdated and cannot be reused.
195195
196196
### Workflow example
197197

tests/opentofu/atmos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# are independent settings (supporting both absolute and relative paths).
1616
# If `base_path` is provided, `components.terraform.base_path`, `components.helmfile.base_path`, `stacks.base_path` and `workflows.base_path`
1717
# are considered paths relative to `base_path`.
18-
base_path: "./tests/opentofu"
18+
base_path: "tests/opentofu"
1919

2020
aliases:
2121
tofu: terraform

tests/terraform/atmos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# are independent settings (supporting both absolute and relative paths).
1616
# If `base_path` is provided, `components.terraform.base_path`, `components.helmfile.base_path`, `stacks.base_path` and `workflows.base_path`
1717
# are considered paths relative to `base_path`.
18-
base_path: "./tests/terraform"
18+
base_path: "tests/terraform"
1919

2020
components:
2121
terraform:

0 commit comments

Comments
 (0)