Skip to content

Commit

Permalink
added workspace and config
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa6765 committed Sep 9, 2024
1 parent 1a80d3c commit 90ea7cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"branches": {
"main": {
"TF_WORKSPACE": "prod-project",
"TG_WORKDIR": "environment/stage"
"TG_WORKDIR": "environment/prod"
},
"stage": {
"TF_WORKSPACE": "stage-project",
Expand All @@ -15,7 +15,7 @@
"TG_WORKDIR": "environment/dev"
},
"gitlab-state": {
"TF_WORKSPACE": "prod-project",
"TF_WORKSPACE": "stage-project",
"TG_WORKDIR": "environment/stage"
}
}
Expand Down
1 change: 1 addition & 0 deletions projects/stage/variables.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
variable "AWS_SECRET_ACCESS_KEY" {
description = "AWS Secret Access Key"
default = "mk"
}


Expand Down

0 comments on commit 90ea7cb

Please sign in to comment.