diff --git a/config.json b/config.json index 64547ed..0d24ea0 100644 --- a/config.json +++ b/config.json @@ -4,7 +4,7 @@ "branches": { "main": { "TF_WORKSPACE": "prod-project", - "TG_WORKDIR": "environment/stage" + "TG_WORKDIR": "environment/prod" }, "stage": { "TF_WORKSPACE": "stage-project", @@ -15,7 +15,7 @@ "TG_WORKDIR": "environment/dev" }, "gitlab-state": { - "TF_WORKSPACE": "prod-project", + "TF_WORKSPACE": "stage-project", "TG_WORKDIR": "environment/stage" } } diff --git a/projects/stage/variables.tf b/projects/stage/variables.tf index 0dc6c60..e18a399 100644 --- a/projects/stage/variables.tf +++ b/projects/stage/variables.tf @@ -1,5 +1,6 @@ variable "AWS_SECRET_ACCESS_KEY" { description = "AWS Secret Access Key" + default = "mk" }