Skip to content

Commit 87866b5

Browse files
committed
chore: update README.md
1 parent e13db72 commit 87866b5

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ The config should have the following structure:
7979
integrations:
8080
github:
8181
gitops:
82+
opentofu-version: 1.7.3
8283
terraform-version: 1.5.2
8384
infracost-enabled: false
8485
artifact-storage:
@@ -97,6 +98,35 @@ integrations:
9798
> [!IMPORTANT]
9899
> **Please note!** This GitHub Action only works with `atmos >= 1.63.0`. If you are using `atmos < 1.63.0` please use `v1` version of this action.
99100

101+
### Support OpenTofu
102+
103+
This action supports [OpenTofu](https://opentofu.org/).
104+
105+
> [!IMPORTANT]
106+
> **Please note!** OpenTofu supported by Atmos `>= 1.73.0`.
107+
> For details [read](https://atmos.tools/core-concepts/projects/configuration/opentofu/)
108+
109+
To enable OpenTofu add the following settings to `atmos.yaml`
110+
* Set the `opentofu-version` in the `atmos.yaml` to the desired version
111+
* Set `components.terraform.command` to `tofu`
112+
113+
#### Example
114+
115+
```yaml
116+
117+
components:
118+
terraform:
119+
command: tofu
120+
121+
...
122+
123+
integrations:
124+
github:
125+
gitops:
126+
opentofu-version: 1.7.3
127+
...
128+
```
129+
100130
### GitHub Actions Workflow Example
101131

102132
In following GitHub workflow example first job will filter components that have settings `github.actions_enabled: true` and then in following job `stack_slug` will be printed to stdout.

0 commit comments

Comments
 (0)