Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels