Add terraform/development for retrieving credentials for local development use

This commit is contained in:
Ryan Ahearn
2023-03-13 14:42:11 -04:00
parent c243b77ee1
commit e6f3bace40
5 changed files with 163 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
# STEPS TO SET UP
#
# 1. Pull down AWS creds from cloud.gov using `cf env`, then update AWS section
# 1. Copy this file to `.env`
#
# 2. If trying to send data to New Relic in development (monitor_mode: true),
# pull down NEW_RELIC_LICENSE_KEY from cloud.gov using `cf env`, then update New Relic section
@@ -9,18 +9,12 @@
#
# 4. Comment out the other setup
#
# 5. Run `cd terraform/development; ./run.sh` to include service credentials in `.env`
# ## REBUILD THE DEVCONTAINER WHEN YOU MODIFY .ENV ###
#############################################################
# AWS
AWS_REGION=us-west-2
AWS_ACCESS_KEY_ID="don't write secrets to the sample file"
AWS_SECRET_ACCESS_KEY="don't write secrets to the sample file"
#############################################################
# Application
NOTIFY_ENVIRONMENT=development
FLASK_APP=application.py