Skip to content

Commit

Permalink
Added live variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaishnavir9901 committed Jan 9, 2025
1 parent 7e98155 commit 2086fac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/web-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
vpc_id: ${{ secrets.VPC_ID_STAGING }}
subnet_id: ${{ secrets.SUBNET_ID_2A_STAGING }}
# ------------------------------------------------------------------------------
# staging deployment
# live deployment
# ------------------------------------------------------------------------------
web-frontend-ami-live:
if: github.event.inputs.account == 'live'
Expand Down
7 changes: 7 additions & 0 deletions vars/dev/terraform/backend.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
terraform {
backend "s3" {
bucket = "ds-terraform-state-eu-west-2-846769538626"
key = "ds-infrastructure-web/terraform.tfstate"
region = "eu-west-2"
}
}
7 changes: 7 additions & 0 deletions vars/live/terraform/backend.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
terraform {
backend "s3" {
bucket = "ds-terraform-state-eu-west-2-968803923593"
key = "ds-infrastructure-web/terraform.tfstate"
region = "eu-west-2"
}
}

0 comments on commit 2086fac

Please # to comment.