DoSomething / infrastructure

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

Set partner API keys for Northstar (Chompy). #294

Closed DFurnes closed 3 years ago

DFurnes commented 3 years ago

What's this PR do?

This pull request moves the SoftEdge & CallPower API key resources into Northstar's application module.

How should this be reviewed?

To avoid recreating these, I've moved the existing resources in our Terraform state to their new home:

terraform state mv module.chompy.random_string.callpower_api_key module.northstar.random_string.callpower_api_key
terraform state mv module.chompy.random_string.softedge_api_key module.northstar.random_string.softedge_api_key

I also decided to delete the Chompy app module & remove it from state (while keeping the app itself around), as most of this application's resources are not tracked within Terraform & we have no plans to do so, since it is being discontinued:

terraform state rm module.chompy.heroku_app.app 

Any background context you want to provide?

I had forgotten we did this via Terraform, so I copied these over by hand earlier today!

This will allow us to rotate these and/or recreate this app from scratch in the future.

Relevant tickets

References Pivotal #177733275.

Checklist