diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index 18969530..4e513778 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -115,11 +115,11 @@ module "route53" { # Create an ECR repository for storage of the lambda's docker images module "fastapi_backend_ecr" { - ecr_name = "fastapi-repository-${var.environment}" + ecr_name = "fastapi-repository-${var.stage}" source = "./modules/ecr" } module "lambda_sap_prediction_ecr" { - ecr_name = "lambda-sap-prediction-${var.environment}" + ecr_name = "lambda-sap-prediction-${var.stage}" source = "./modules/ecr" }