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
Allow to use opentofu with generate_projects (#1757)
* Allow to use opentofu with generate_projects
The current implementation allows the use of opentofu in statically
defined projects, but not in projects dynamically generated by
generate_projects. This patch adds the opentofu flag to the blocks in
generate_projects as well, making opentofu available in a more dynamic
environment.
* Add opentofu attribute to digger.yml reference
Also added the missing blocks attribute and Block type documentation.
* Mention how to enable the opentofu attribute when using OpenTofu
Copy file name to clipboardexpand all lines: docs/ce/reference/digger.yml.mdx
+20-4
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,7 @@ workflows:
115
115
| name | string | | yes | name of the project | must be unique |
116
116
| dir | string | | yes | directory containing the project | |
117
117
| workspace | string | default | no | terraform workspace to use | |
118
+
| opentofu | boolean | false | no | whether to use opentofu | |
118
119
| terragrunt | boolean | false | no | whether to use terragrunt | |
119
120
| workflow | string | default | no | workflow to use | default workflow will be created for you described in workflow section |
120
121
| include\_patterns | array of strings | \[\] | no | list of directory glob patterns to include, e.g. `./modules` | see [Include / Exclude Patterns](/ce/howto/include-exclude-patterns) |
| block_name | string | | no | name of the block | |
139
+
| workflow | string | default | no | workflow to use | default workflow will be created for you described in workflow section |
140
+
| workflow_file | string | | no | name of workflow file for GitHub Actions | |
141
+
| aws_role_to_assume | [RoleToAssume](/ce/reference/digger.yml#roletoassume) | | no | A string representing the AWS role to assume for this project | |
142
+
| include | string | | no | glob pattern to include directories | only for terraform and opentofu |
143
+
| exclude | string | | no | glob pattern to exclude directories | only for terraform and opentofu |
144
+
| opentofu | boolean | false | no | whether to use opentofu | only for opentofu |
145
+
| terragrunt | boolean | false | no | whether to use terragrunt | only for terragrunt |
146
+
| root_dir | string | | no | root directory of terragrunt projects | only for terragrunt |
0 commit comments