diff --git a/etl/__init__.py b/etl/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/etl/xml_survey_extraction/README.md b/etl/xml_survey_extraction/README.md new file mode 100644 index 00000000..4912a28c --- /dev/null +++ b/etl/xml_survey_extraction/README.md @@ -0,0 +1,3 @@ +# Survey Extraction App + +This app is responsible survey data from energy assessment XMLs \ No newline at end of file diff --git a/etl/xml_survey_extraction/app.py b/etl/xml_survey_extraction/app.py new file mode 100644 index 00000000..6f53e4e2 --- /dev/null +++ b/etl/xml_survey_extraction/app.py @@ -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 diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index 9aa734bb..972722bb 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -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"