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
def get_attached_entities(_policy_name)
catch_alicloud_errors("EntityNotExist.Policy") do
resp = @alicloud.ram_client.request(
action: "ListEntitiesForPolicy",
params: {
RegionId: opts[:region],
PolicyName: opts[:policy_name],
PolicyType: "Custom", -- > It should include “System” type policies, not just for “Custom” type.
},
opts: {
method: "POST",
}
)
return resp
end
end
The text was updated successfully, but these errors were encountered:
Resource pack file: alicloud_ram_policy.rb
def get_attached_entities(_policy_name)
catch_alicloud_errors("EntityNotExist.Policy") do
resp = @alicloud.ram_client.request(
action: "ListEntitiesForPolicy",
params: {
RegionId: opts[:region],
PolicyName: opts[:policy_name],
PolicyType: "Custom", -- > It should include “System” type policies, not just for “Custom” type.
},
opts: {
method: "POST",
}
)
return resp
end
end
The text was updated successfully, but these errors were encountered: