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

Define variables

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