mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
pass var stage
This commit is contained in:
parent
ef3e808c9c
commit
8c5f49976f
3 changed files with 5 additions and 1 deletions
1
.github/workflows/deploy_terraform.yml
vendored
1
.github/workflows/deploy_terraform.yml
vendored
|
|
@ -57,6 +57,7 @@ jobs:
|
|||
# image:
|
||||
# uses: ./.github/workflows/_build_docker_image.yml
|
||||
# with:
|
||||
# ecr_repo will need to changed to dynamic env in the future
|
||||
# ecr_repo: address2uprn-dev
|
||||
# aws_region: ${{ env.AWS_REGION }}
|
||||
# dockerfile_path: backend/address2UPRN/Dockerfile
|
||||
|
|
|
|||
|
|
@ -294,7 +294,8 @@ output "ses_dns_records" {
|
|||
################################################
|
||||
module "address2uprn_state_bucket" {
|
||||
source = "../modules/tf_state_bucket"
|
||||
bucket_name = "address2uprn-terraform-state"
|
||||
bucket_name = "address2uprn-terraform-state-${var.stage}"
|
||||
|
||||
}
|
||||
|
||||
output "address2uprn_state_bucket_name" {
|
||||
|
|
@ -304,6 +305,8 @@ output "address2uprn_state_bucket_name" {
|
|||
module "address2uprn_registry" {
|
||||
source = "../modules/container_registry"
|
||||
name = "address2uprn-${var.stage}"
|
||||
stage = var.stage
|
||||
|
||||
}
|
||||
|
||||
output "address2uprn_repository_url" {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue