diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index 957ca122..18969530 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" { - name = "fastapi-repository-${var.environment}" - source = "./modules/ecr" + ecr_name = "fastapi-repository-${var.environment}" + source = "./modules/ecr" } module "lambda_sap_prediction_ecr" { - name = "lambda-sap-prediction-${var.environment}" - source = "./modules/ecr" + ecr_name = "lambda-sap-prediction-${var.environment}" + source = "./modules/ecr" }