Adds terraform infrastructure management, with multiple environments. dev to play with and test stuff on before deploying to prod, the "real" one.
Infrastructure all remains the same except for 1 thing: when you make a function app, you have to link it to a storage account to use for its backend, and the Azure docs recommend using a different storage account for everything else the function app uses. Before, we were using the function app's main storage account (default name "AzureWebJobs" in function settings) for the html files and the message queue, as well. Now, this PR changes it to use a new, separate storage account for html files and queue. (named "ScrapeDataStorage" in function settings)
Check slack or contact me for the new local.settings.json
New deployment command: func azure functionapp publish indigent-defense-stats-dev-function-app
Deploy to your heart's content now!
Adds terraform infrastructure management, with multiple environments.
dev
to play with and test stuff on before deploying toprod
, the "real" one.Infrastructure all remains the same except for 1 thing: when you make a function app, you have to link it to a storage account to use for its backend, and the Azure docs recommend using a different storage account for everything else the function app uses. Before, we were using the function app's main storage account (default name "AzureWebJobs" in function settings) for the html files and the message queue, as well. Now, this PR changes it to use a new, separate storage account for html files and queue. (named "ScrapeDataStorage" in function settings)
Check slack or contact me for the new
local.settings.json
New deployment command:func azure functionapp publish indigent-defense-stats-dev-function-app
Deploy to your heart's content now!