From bee98984b46cc3a4c0fa76e5a59d926a6fc36d24 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Thu, 31 Aug 2023 13:56:27 +0100 Subject: [PATCH] fixing dupe module call --- infrastructure/terraform/main.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index a64788a4..dbfa2491 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -90,13 +90,13 @@ module "s3_presignable_bucket" { allowed_origins = var.allowed_origins } -module "s3" { +module "s3" "datalake" { source = "./modules/s3" bucketname = "retrofit-datalake-${var.stage}" allowed_origins = var.allowed_origins } -module "s3" { +module "s3" "model_directory" { source = "./modules/s3" bucketname = "retrofit-model-directory-${var.stage}" allowed_origins = var.allowed_origins @@ -114,12 +114,12 @@ module "route53" { } # Create an ECR repository for storage of the lambda's docker images -module "ecr" { +module "ecr" "fastapi_backend_ecr" { name = "fastapi-repository-${var.environment}" source = "./modules/ecr" } -module "ecr" { +module "ecr" "lambda_sap_prediction_ecr" { name = "lambda-sap-prediction-${var.environment}" source = "./modules/ecr" }