diff --git a/backports/.Base.latest.gitlab-ci.yml b/backports/.Base.latest.gitlab-ci.yml index 5e7066f04266d3f91b4bdfa72c674506b694dda0..9cee4fc073ce60a55ee6ee0200cd78f8c16dc7a3 100644 --- a/backports/.Base.latest.gitlab-ci.yml +++ b/backports/.Base.latest.gitlab-ci.yml @@ -2,11 +2,12 @@ # https://gitlab.com/components/opentofu # It is generated with the `make backports` command from that project. # -# Please make sure to use the component when your project is hosted on GitLab.com +# Please make sure to use the component (https://gitlab.com/components/opentofu) +# when your project is hosted on GitLab.com # or when you are willing to mirror the component project into your self-managed # instance and use it from there. # -# Attention: This template will be removed in favor of the OpenTofu CI/CD component as soon as components +# Attention: This template will be removed in favor of the OpenTofu CI/CD component following components # are available for self-managed instances. # # This specific template is located at: diff --git a/backports/OpenTofu/Base.latest.gitlab-ci.yml b/backports/OpenTofu/Base.latest.gitlab-ci.yml index 4e978fc1f6b5432d9f702bc8d9d86187ecfb54a4..2ca5904e8a34f68869bc9d3030c05933c435c091 100644 --- a/backports/OpenTofu/Base.latest.gitlab-ci.yml +++ b/backports/OpenTofu/Base.latest.gitlab-ci.yml @@ -2,11 +2,12 @@ # https://gitlab.com/components/opentofu # It is generated with the `make backports` command from that project. # -# Please make sure to use the component when your project is hosted on GitLab.com +# Please make sure to use the component (https://gitlab.com/components/opentofu) +# when your project is hosted on GitLab.com # or when you are willing to mirror the component project into your self-managed # instance and use it from there. # -# Attention: This template will be removed in favor of the OpenTofu CI/CD component as soon as components +# Attention: This template will be removed in favor of the OpenTofu CI/CD component following components # are available for self-managed instances. # # This specific template is located at: @@ -88,7 +89,7 @@ opentofu:use-component-instead-of-template: '.opentofu:plan': stage: build - environment: + environment: name: $TF_STATE_NAME action: prepare resource_group: $TF_STATE_NAME diff --git a/templates/plan.yml b/templates/plan.yml index 061d4c5fe2476579729e405eac26145e0e80eb91..6cc5b6c10ea75cd8b789c09dff154bc42e3ddd7e 100644 --- a/templates/plan.yml +++ b/templates/plan.yml @@ -47,7 +47,7 @@ spec: '$[[ inputs.as ]]': stage: $[[ inputs.stage ]] - environment: + environment: name: $[[ inputs.state_name ]] action: prepare resource_group: $[[ inputs.state_name ]]