Skip to content

Commit

Permalink
Merge pull request #1302 from CDCgov/issue-1220-use_managed_identity
Browse files Browse the repository at this point in the history
Use a Managed Identity to Pull Images for Deployment Slots
  • Loading branch information
halprin authored Sep 10, 2024
2 parents d21737e + b6f238f commit 1ce5113
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operations/template/app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ resource "azurerm_linux_web_app_slot" "pre_live" {

scm_use_main_ip_restriction = local.cdc_domain_environment ? true : null

container_registry_use_managed_identity = true

application_stack {
docker_registry_url = "https://${azurerm_container_registry.registry.login_server}"
docker_image_name = "ignore_because_specified_later_in_deployment"
Expand Down

0 comments on commit 1ce5113

Please sign in to comment.