Skip to content

Commit

Permalink
Fix azuread_application regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Barnum committed Jun 12, 2020
1 parent 8232628 commit 3cef38e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure/aks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ resource "azuread_application" "aks-aad-cli" {
required_resource_access {
resource_app_id = azuread_application.aks-aad-srv.application_id
resource_access {
id = azuread_application.aks-aad-srv.oauth2_permissions.0.id
# id = azuread_application.aks-aad-srv.oauth2_permissions.0.id
id = [for permission in azuread_application.aks-aad-srv.oauth2_permissions : permission.id][0]
type = "Scope"
}
}
Expand Down

0 comments on commit 3cef38e

Please sign in to comment.