Add Bicep Infrastructure as Code for Azure resource provisioning#120
Draft
Copilot wants to merge 3 commits into
Draft
Add Bicep Infrastructure as Code for Azure resource provisioning#120Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/dylan-smith/CheckMate2/sessions/42beb17d-8c01-4b47-9685-a749673b1123 Co-authored-by: dylan-smith <1508559+dylan-smith@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dylan-smith/CheckMate2/sessions/42beb17d-8c01-4b47-9685-a749673b1123 Co-authored-by: dylan-smith <1508559+dylan-smith@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement infrastructure as code for Azure provisioning
Add Bicep Infrastructure as Code for Azure resource provisioning
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All Azure resources are currently provisioned manually. This adds declarative Bicep templates under
infra/so the environment can be provisioned and updated consistently via CI.Bicep modules
APPLICATIONINSIGHTS_CONNECTION_STRINGapp settingUseInMemoryDatabaseis forced tofalseon the App Serviceindex.html/ 404 →index.html) is configured on the storage account; thestaticWebsiteproperty onblobServicesis suppressed with#disable-next-line BCP037due to a known Bicep type-definition gapCI
A new
deploy-infrastructurejob runsinfra/main.bicepviaazure/arm-deploy@v2on every push tomain, beforedeploy-backend. The deployment is idempotent.New GitHub configuration required
Variables:
AZURE_LOCATION,AZURE_APP_SERVICE_PLAN_NAME,AZURE_APP_SERVICE_PLAN_SKU,AZURE_SQL_SERVER_NAME,AZURE_SQL_DATABASE_NAME,AZURE_SQL_ADMIN_LOGIN,AZURE_LOG_ANALYTICS_WORKSPACE_NAME,AZURE_APP_INSIGHTS_NAMESecret:
AZURE_SQL_ADMIN_PASSWORD(admin password passed to Bicep at deploy time; distinct from the existing runtimeAZURE_SQL_CONNECTION_STRING)Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
aka.ms/usr/local/bin/bicep bicep build infra/main.bicep(dns block)/usr/local/bin/bicep bicep lint infra/main.bicep(dns block)/usr/local/bin/bicep bicep lint infra/modules/monitoring.bicep(dns block)azcliprod.blob.core.windows.net/usr/bin/../../opt/az/bin/python3 /usr/bin/../../opt/az/bin/python3 -Im azure.cli bicep install(dns block)If you need me to access, download, or install something from one of these locations, you can either: