You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current workaround is to move the RawRoleManagementPolicyRuleImpl struct outside of the. unmarshalRoleManagementPolicyRuleImplementation function so that it's public.
The text was updated successfully, but these errors were encountered:
josh-barker
changed the title
Issue with Authorization / API Version 2020-10-01
Issue with Authorization / Role Management Policies / API Version 2020-10-01
Feb 6, 2023
This PR fixeshashicorp/go-azure-sdk#287 by exposing
the Raw types rather than using internal types for these.
Since these fields are intentionally only consumable via the Response and are not usable in Request Payloads
exposing this is reasonable, but I've added a warning that these should be a last resort/workaround only.
Is there an existing issue for this?
Community Note
Service Used
Authorization / Role Management Policies
API Versions Used
2020-10-01
Description
Hi, I'm working on a new AzureRM Terraform resource -
azurerm_role_management_policy
.I'm trying to access the data inside a Rule.
However, the RoleManagementPolicyRule is an empty interface.
The rule is created as RawRoleManagementPolicyRuleImpl and it is a private struct.
My current workaround is to move the
RawRoleManagementPolicyRuleImpl struct
outside of the.unmarshalRoleManagementPolicyRuleImplementation
function so that it's public.FYI: @manicminer
References
No response
The text was updated successfully, but these errors were encountered: