This pull request contains a more stable deployment using DNS. Note that deploying gfe-db now requires a registered domain with AWS Route 53. A future improvement will allow deployment to Elastic IP.
Changes include:
Removed hard-coded variables
Updated .env structure
Added SUBDOMAIN variable for more control
Added logging to SSM call in invoke_load_script Lambda so that SSM Run Command logs are accessible in CloudWatch Logs
A record is created using the HostName instead of the HostedZoneId, due to what may be an AWS issue not finding a hosted zone using HostedZoneId. HostName works fine as substitute.
Checklist
[ ] Unit tests - No unit tests for this project at the moment
Description
This pull request contains a more stable deployment using DNS. Note that deploying gfe-db now requires a registered domain with AWS Route 53. A future improvement will allow deployment to Elastic IP.
Changes include:
.env
structureinvoke_load_script
Lambda so that SSM Run Command logs are accessible in CloudWatch LogsChecklist
Fixes #66