DoSomething / infrastructure

🐄 DoSomething.org's infrastructure, managed by Terraform.
MIT License
3 stars 2 forks source link

Extract shared Fastly frontend module. #273

Closed DFurnes closed 3 years ago

DFurnes commented 3 years ago

What's this PR do?

This pull request extracts a shared fastly-frontend module that we can use to configure our www.dosomething.org, qa.dosomething.org, and dev.dosomething.org using the same Terraform config! This means we no longer have to copy-paste a change between all three environments, and reduces the chance that environments get out of sync.

How should this be reviewed?

This is the last of these hefty PRs, I promise! I'll drop notes in the diff to explain changes, but for the most part the bulk are either lines that were deleted or simply moved to a new folder. 🚚

Any background context you want to provide?

This makes the next set of functional changes I need to make to these Fastly properties a lot easier!

Relevant tickets

References Pivotal #165498108.

Checklist