DoSomething / infrastructure

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

Clean up Fastly backend modules. #270

Closed DFurnes closed 3 years ago

DFurnes commented 3 years ago

What's this PR do?

This pull request cleans up our Fastly modules a bit, and extracts a shared fastly_backends component that we can use to create these Fastly properties in all three environments (development, QA, and production).

How should this be reviewed?

I've done a little miscellaneous cleanup in 4fc0a59 and extracted the shared module in d92bf15. A lot of the "noise" in this pull request comes from deleting the old duplicated (per environment) Terraform configs and snippets.

Any background context you want to provide?

I'm doing this work now because I'm going to be making changes to our Fastly properties in #173719273, and

Relevant tickets

References #165498108 and #170775632.

Checklist