Skip to content
Snippets Groups Projects
Unverified Commit 7a1e287a authored by Timo Furrer's avatar Timo Furrer
Browse files

Define variables

parent 7e53a05f
Branches
Tags
No related merge requests found
......@@ -28,6 +28,10 @@ variables:
image:
name: '$GITLAB_OPENTOFU_IMAGE_REGISTRY_BASE/gitlab-opentofu:$GITLAB_OPENTOFU_VERSION-opentofu$OPENTOFU_VERSION'
variables:
TF_ROOT: $TF_ROOT
TF_STATE_NAME: $TF_STATE_NAME
cache:
key: "$TF_ROOT"
paths:
......
......@@ -66,6 +66,10 @@ spec:
image:
name: '$[[ inputs._image_registry_base ]]/gitlab-opentofu:$[[ inputs.version ]]-opentofu$[[ inputs.opentofu_version ]]'
variables:
TF_ROOT: $[[ inputs.root_dir ]]
TF_STATE_NAME: $[[ inputs.state_name ]]
cache:
key: "$[[ inputs.root_dir ]]"
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment