Skip to content

Commit

Permalink
docs(infrastructure): document missing environment setup steps
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Dec 2, 2022
1 parent dc2ba03 commit 48c247a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/deployment/infrastructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,11 @@ Use the following shorthand for conveying the Resource Type as part of the Resou
The following steps are required to set up the environment, with linked issues to automate them:

- `terraform apply`
- Set up Slack notifications by [creating a Slack email](https://slack.com/help/articles/206819278-Send-emails-to-Slack) for the [#benefits-notify](https://cal-itp.slack.com/archives/C022HHSEE3F) channel, then [setting it as a Secret in the Key Vault](https://learn.microsoft.com/en-us/azure/key-vault/secrets/quick-create-portal#add-a-secret-to-key-vault) named `slack-benefits-notify-email`
- Set required [App Service configuration](../configuration/environment-variables.md)
- [Upload configuration data](../configuration/data.md) to the storage container
- [Set up webhook from GitHub](https://github.com/cal-itp/benefits/settings/hooks) to [App Service Deployment Center](https://learn.microsoft.com/en-us/azure/app-service/deploy-ci-cd-custom-container?tabs=acr&pivots=container-linux) for the `Packages` event
- Upload the wildcard certificate to the Key Vault
- Bind the certificates to the slots - [#704](https://github.com/cal-itp/benefits/issues/704)

This is not a complete step-by-step guide; more a list of things to remember. This may be useful as part of incident response.
This is not a complete step-by-step guide; more a list of things to remember. This may be useful as part of [incident response](https://docs.google.com/document/d/1qtev8qItPiTB4Tp9FQ87XsLtWZ4HlNXqoe9vF2VuGcY/edit#).
2 changes: 0 additions & 2 deletions terraform/monitor.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ resource "azurerm_application_insights" "prod" {
}
}

# created manually
# https://slack.com/help/articles/206819278-Send-emails-to-Slack
data "azurerm_key_vault_secret" "slack_benefits_notify_email" {
name = "slack-benefits-notify-email"
key_vault_id = azurerm_key_vault.main.id
Expand Down

0 comments on commit 48c247a

Please sign in to comment.