Setting up new bucket for energy assessments

This commit is contained in:
Khalim Conn-Kowlessar 2024-07-24 16:54:56 +01:00
parent 445379b936
commit 06427a5a79
4 changed files with 18 additions and 0 deletions

View file

View file

@ -0,0 +1,3 @@
# Survey Extraction App
This app is responsible survey data from energy assessment XMLs

View file

@ -0,0 +1,9 @@
def main():
"""
This function executes the main process, which will retrieve data from the specified locations, extract the data
fields and store them to our database
:return:
"""
# TODO: Build solution to get this data from Onedrive and store what we need in S3
# In s3, we have a bucket called retrofit-energy-assessments-{stage} which

View file

@ -175,6 +175,12 @@ module "retrofit_hotwater_kwh_predictions" {
allowed_origins = var.allowed_origins
}
module "retrofit_energy_assessments" {
source = "./modules/s3"
bucketname = "retrofit-energy-assessments-${var.stage}"
allowed_origins = var.allowed_origins
}
# Set up the route53 record for the API
module "route53" {
source = "./modules/route53"