mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
added outputs
This commit is contained in:
parent
f296a865ff
commit
1bf322005c
2 changed files with 6 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ module "address2uprn" {
|
||||||
DATA_BUCKET = "test"
|
DATA_BUCKET = "test"
|
||||||
ENGINE_SQS_URL = "test"
|
ENGINE_SQS_URL = "test"
|
||||||
ENERGY_ASSESSMENTS_BUCKET = "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
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -133,6 +133,11 @@ module "retrofit_sap_data" {
|
||||||
allowed_origins = var.allowed_origins
|
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" {
|
module "retrofit_carbon_predictions" {
|
||||||
source = "../modules/s3"
|
source = "../modules/s3"
|
||||||
bucketname = "retrofit-carbon-predictions-${var.stage}"
|
bucketname = "retrofit-carbon-predictions-${var.stage}"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue