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
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ The config should have the following structure:
79
79
integrations:
80
80
github:
81
81
gitops:
82
+
opentofu-version: 1.7.3
82
83
terraform-version: 1.5.2
83
84
infracost-enabled: false
84
85
artifact-storage:
@@ -97,6 +98,35 @@ integrations:
97
98
> [!IMPORTANT]
98
99
> **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.
99
100
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
+
100
130
### GitHub Actions Workflow Example
101
131
102
132
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