pass var stage

This commit is contained in:
Jun-te Kim 2026-02-03 11:25:45 +00:00
parent ef3e808c9c
commit 8c5f49976f
3 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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" {