Skip to content

Commit c952bc8

Browse files
committed
amend nonsensitive call
1 parent cac2271 commit c952bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

role_assignments.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resource "azurerm_role_assignment" "acr" {
99

1010
# /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/acceptanceTestResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testIdentity
1111
data "azurerm_user_assigned_identity" "cluster_identity" {
12-
count = (var.client_id == "" || var.client_secret == "") && var.identity_type == "UserAssigned" ? 1 : 0
12+
count = nonsensitive((var.client_id == "" || var.client_secret == "") && var.identity_type == "UserAssigned" ? 1 : 0)
1313

1414
name = split("/", var.identity_ids[0])[8]
1515
resource_group_name = split("/", var.identity_ids[0])[4]

0 commit comments

Comments
 (0)