Skip to content

Commit c023947

Browse files
authored
Merge pull request #39 from nginxinc/ag-diagnostic-setting-two-mis
Added a user assigned managed identity to diagnostic setting example
2 parents e67cc53 + b6fa3b6 commit c023947

File tree

1 file changed

+2
-1
lines changed
  • terraform/deployments/with-diagnostic-setting-logging

1 file changed

+2
-1
lines changed

terraform/deployments/with-diagnostic-setting-logging/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ resource "azurerm_nginx_deployment" "example" {
3434

3535
# Required for diagnostic setting logging
3636
identity {
37-
type = "SystemAssigned"
37+
type = "SystemAssigned, UserAssigned"
38+
identity_ids = [module.prerequisites.managed_identity_id]
3839
}
3940

4041
frontend_public {

0 commit comments

Comments
 (0)