Skip to content

Commit

Permalink
r/api_management: setting identity_ids as a []interface{} so this…
Browse files Browse the repository at this point in the history
…'ll be inferred

Fixes #10136
  • Loading branch information
tombuildsstuff committed Feb 2, 2021
1 parent 22719ad commit cacdb2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,8 @@ func flattenAzureRmApiManagementMachineIdentity(identity *apimanagement.ServiceI
}
identityIds = append(identityIds, parsedId.ID())
}
result["identity_ids"] = schema.NewSet(schema.HashString, identityIds)
// not casting to a Set since this is a List in the DS and a Set in the Resource
result["identity_ids"] = identityIds
}

return []interface{}{result}, nil
Expand Down

0 comments on commit cacdb2c

Please sign in to comment.