This PR removes the default value for ssl_certificate_arn (which is now outdated) from variables.tf, and updates scripts/infra to use a .tfvars file to make it easier to override other defaults in the future. Additionally, I set a CloudWatch log retention policy and made some tweaks to the dev env setup
Changes
Remove default value for ssl_certficate_arn. That value is now provided to terraform via a tfvars file.
Add docker-compose.ci.override.yml for local deployments.
Loosen Ansible version constraints
Make sure Scala dependencies are installed by scripts/update
Set CloudWatch log retention policy to 30 days.
Fixes #14
See azavea/operations#202
Testing
I deployed this PR from Travis. Build logs are here.
Run scripts/infra according to the instructions in the new deployment README, ensure no changes are necessary.
$ export PC_DEMO_SETTINGS_BUCKET=geotrellis-site-production-config-us-east-1
$ export AWS_PROFILE=geotrellis
$ export TRAVIS_COMMIT=0e3b2b4
$ docker-compose -f docker-compose.ci.yml run --rm terraform ./scripts/infra plan
Overview
This PR removes the default value for
ssl_certificate_arn
(which is now outdated) fromvariables.tf
, and updatesscripts/infra
to use a .tfvars file to make it easier to override other defaults in the future. Additionally, I set a CloudWatch log retention policy and made some tweaks to the dev env setupChanges
ssl_certficate_arn
. That value is now provided to terraform via a tfvars file.docker-compose.ci.override.yml
for local deployments.scripts/update
Fixes #14 See azavea/operations#202
Testing
scripts/infra
according to the instructions in the new deployment README, ensure no changes are necessary.