mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
allowing retrofit energy assessments bucket to be a presignable bucket
This commit is contained in:
parent
ed4440f946
commit
e434b665d5
2 changed files with 3 additions and 3 deletions
|
|
@ -176,7 +176,7 @@ module "retrofit_hotwater_kwh_predictions" {
|
||||||
}
|
}
|
||||||
|
|
||||||
module "retrofit_energy_assessments" {
|
module "retrofit_energy_assessments" {
|
||||||
source = "./modules/s3"
|
source = "./modules/s3_presignable_bucket"
|
||||||
bucketname = "retrofit-energy-assessments-${var.stage}"
|
bucketname = "retrofit-energy-assessments-${var.stage}"
|
||||||
allowed_origins = var.allowed_origins
|
allowed_origins = var.allowed_origins
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -534,8 +534,8 @@ class Recommendations:
|
||||||
property_phase_impact["carbon"], rec["co2_equivalent_savings"]
|
property_phase_impact["carbon"], rec["co2_equivalent_savings"]
|
||||||
)
|
)
|
||||||
|
|
||||||
# Insert this information into the recommendation
|
# Insert this information into the recommendation.
|
||||||
if rec.get("survey", False):
|
if not rec.get("survey", False):
|
||||||
rec["sap_points"] = property_phase_impact["sap"]
|
rec["sap_points"] = property_phase_impact["sap"]
|
||||||
|
|
||||||
rec["co2_equivalent_savings"] = property_phase_impact["carbon"]
|
rec["co2_equivalent_savings"] = property_phase_impact["carbon"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue