fix vars
This commit is contained in:
parent
1b2573f3c0
commit
b826e473b9
|
@ -8,9 +8,9 @@ locals {
|
||||||
data "terraform_remote_state" "environment" {
|
data "terraform_remote_state" "environment" {
|
||||||
backend = "http"
|
backend = "http"
|
||||||
config = {
|
config = {
|
||||||
address="https://gitlab.com/api/v4/projects/22967934/terraform/state/production-environment"
|
address="https://gitlab.com/api/v4/projects/${local.project}/terraform/state/${local.environment}-environment"
|
||||||
lock_address="https://gitlab.com/api/v4/projects/22967934/terraform/state/production-environment/lock"
|
lock_address="https://gitlab.com/api/v4/projects/${local.project}/terraform/state/${local.environment}-environment/lock"
|
||||||
unlock_address="https://gitlab.com/api/v4/projects/22967934/terraform/state/production-environment/lock"
|
unlock_address="https://gitlab.com/api/v4/projects/${local.project}/terraform/state/${local.environment}-environment/lock"
|
||||||
username=local.username
|
username=local.username
|
||||||
password=local.password
|
password=local.password
|
||||||
lock_method="POST"
|
lock_method="POST"
|
||||||
|
|
Loading…
Reference in New Issue