From 52bf5cdf1168066c29539a5bf5291e7ce0a1383e Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 27 Nov 2023 14:53:41 +0000 Subject: [PATCH] Added infrastructure for heat and carbon models --- infrastructure/terraform/main.tf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index c7aacc4d..d545cdf8 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -129,6 +129,18 @@ module "retrofit_sap_data" { allowed_origins = var.allowed_origins } +module "retrofit_carbon_predictions" { + source = "./modules/s3" + bucketname = "retrofit-carbon-predictions-${var.stage}" + allowed_origins = var.allowed_origins +} + +module "retrofit_heat_predictions" { + source = "./modules/s3" + bucketname = "retrofit-heat-predictions-${var.stage}" + allowed_origins = var.allowed_origins +} + # Set up the route53 record for the API module "route53" { @@ -160,3 +172,13 @@ module "eco_spreadsheet_ecr" { ecr_name = "eco-spreadsheet-${var.stage}" source = "./modules/ecr" } + +module "lambda_carbon_prediction_ecr" { + ecr_name = "lambda-carbon-prediction-${var.stage}" + source = "./modules/ecr" +} + +module "lambda_heat_prediction_ecr" { + ecr_name = "lambda-heat-prediction-${var.stage}" + source = "./modules/ecr" +} \ No newline at end of file