Skip to content
Snippets Groups Projects
Commit 00f5ccba authored by Timo Furrer's avatar Timo Furrer
Browse files

Use GITLAB_TOFU_STATE_NAME for plan job resource_group value

This change set uses the `GITLAB_TOFU_STATE_NAME` environment variable
as the value for the `resource_group` in the `plan` job. This aligns
with the other jobs, like `apply` and `destroy` and explicitly allows
for matrix support.

Closes #125

Changelog: changed
parent 07276de6
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,7 @@ include: ...@@ -188,7 +188,7 @@ include:
environment: environment:
name: $[[ inputs.state_name ]] name: $[[ inputs.state_name ]]
action: prepare action: prepare
resource_group: $[[ inputs.state_name ]] resource_group: $GITLAB_TOFU_STATE_NAME
artifacts: artifacts:
# Terraform's cache files can include secrets which can be accidentally exposed. # Terraform's cache files can include secrets which can be accidentally exposed.
# Please exercise caution when utilizing secrets in your Terraform infrastructure and # Please exercise caution when utilizing secrets in your Terraform infrastructure and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment