| `stage_validate` | `validate` | Defines the validate stage |
| `stage_validate` | `validate` | Defines the validate stage. This stage includes the `fmt` and `validate` jobs. |
| `stage_test` | `test` | Defines the test stage |
| `stage_build` | `build` | Defines the build stage. This stage includes the `plan` job. |
| `stage_build` | `build` | Defines the build stage |
| `stage_deploy` | `deploy` | Defines the deploy stage. This stage includes the `apply` job. |
| `stage_deploy` | `deploy` | Defines the deploy stage |
| `stage_cleanup` | `cleanup` | Defines the cleanup stage. This stage includes the `destroy` and `delete-state` jobs. |
| `stage_cleanup` | `cleanup` | Defines the cleanup stage |
| `version` | `latest` | Version of this component. Has to be the same as the one in the component include entry. |
| `version` | `latest` | Version of this component |
| `opentofu_version` | `1.6.0` | OpenTofu version that should be used. |
| `opentofu_version` | `1.6.0` | Released version of upstream OpenTofu |
| `gitlab_opentofu_image` | `$CI_REGISTRY/components/opentofu/gitlab-opentofu:$[[ inputs.version ]]-opentofu$[[ inputs.opentofu_version ]]` | Tag of the gitlab-opentofu image. |
| `gitlab_opentofu_image` | `$CI_REGISTRY/components/opentofu/gitlab-opentofu:$[[ inputs.version ]]-opentofu$[[ inputs.opentofu_version ]]` | Image name of the gitlab-opentofu image |
| `root_dir` | `${CI_PROJECT_DIR}` | Root directory for the OpenTofu project. |
| `root_dir` | `${CI_PROJECT_DIR}` | Root directory for the OpenTofu project |
| `state_name` | `default` | Remote OpenTofu state name. |
| `state_name` | `default` | State name |
| `auto_apply` | `false` | Whether the apply job is manual or automatically run. |
| `auto_apply` | `false` | Whether the apply job is manual or automatically run |
| `auto_destroy` | `false` | Whether the destroy job is manual or automatically run. |
| `auto_destroy` | `false` | Whether the destroy job is manual or automatically run |