added outputs

This commit is contained in:
Jun-te Kim 2026-02-12 13:55:03 +00:00
parent f296a865ff
commit 1bf322005c
2 changed files with 6 additions and 1 deletions

View file

@ -41,7 +41,7 @@ module "address2uprn" {
DATA_BUCKET = "test"
ENGINE_SQS_URL = "test"
ENERGY_ASSESSMENTS_BUCKET = "test"
S3_BUCKET_NAME = data.terraform_remote_state.retrofit_sap_data.outputs.bucket_name
S3_BUCKET_NAME = data.terraform_remote_state.shared.outputs.retrofit_sap_data_bucket_name
},
)
}

View file

@ -133,6 +133,11 @@ module "retrofit_sap_data" {
allowed_origins = var.allowed_origins
}
output "retrofit_sap_data_bucket_name" {
value = module.retrofit_sap_data.bucket_name
description = "Name of the retrofit SAP data bucket"
}
module "retrofit_carbon_predictions" {
source = "../modules/s3"
bucketname = "retrofit-carbon-predictions-${var.stage}"