Steps to deploy the infrastructure for devicenator-api
- Configure the following environment variables
AWS_ACCOUNT_ID
POSTGRES_USER
andPOSTGRES_PASSWORD
$ cd infrastructure
$ ./apply.sh
Set the environment variables:
*AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
with the values for the AWS Travis user
AWS_DEFAULT_REGION
AWS_ACCOUNT_ID
POSTGRES_HOST
with the value for the DB endpoint in AWSPOSTGRES_USER
,POSTGRES_PASSWORD