dflook/tofu-new-workspace
Creates a new OpenTofu workspace. If the workspace already exists, succeeds without doing anything.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | The path to the OpenTofu root module directory. | no | . |
| workspace | The name of the OpenTofu workspace to create. | yes | — |
| variables | Variables to set when initializing OpenTofu. This should be valid OpenTofu syntax - like a [variable definition file](https://opentofu.org/docs/language/values/variables/#variable-definitions-tfvars-files). Variables set here override any given in `var_file`s. | no | — |
| var_file | List of tfvars files to use, one per line. Paths should be relative to the GitHub Actions workspace | no | — |
| backend_config | List of OpenTofu backend config values, one per line. | no | "" |
| backend_config_file | List of OpenTofu backend config files to use, one per line. Paths should be relative to the GitHub Actions workspace | no | "" |
Outputs
no outputs