This commit is contained in:
Schamil Wackenhut 2021-01-19 11:09:47 +01:00
parent 1b2573f3c0
commit b826e473b9
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@ locals {
data "terraform_remote_state" "environment" {
backend = "http"
config = {
address="https://gitlab.com/api/v4/projects/22967934/terraform/state/production-environment"
lock_address="https://gitlab.com/api/v4/projects/22967934/terraform/state/production-environment/lock"
unlock_address="https://gitlab.com/api/v4/projects/22967934/terraform/state/production-environment/lock"
address="https://gitlab.com/api/v4/projects/${local.project}/terraform/state/${local.environment}-environment"
lock_address="https://gitlab.com/api/v4/projects/${local.project}/terraform/state/${local.environment}-environment/lock"
unlock_address="https://gitlab.com/api/v4/projects/${local.project}/terraform/state/${local.environment}-environment/lock"
username=local.username
password=local.password
lock_method="POST"