From 90ea7cbd4608d1f1833e77cfab76d88e49cc8d93 Mon Sep 17 00:00:00 2001 From: Mostafa Kamal Date: Mon, 9 Sep 2024 09:47:29 +0600 Subject: [PATCH] added workspace and config --- config.json | 4 ++-- projects/stage/variables.tf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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" }