Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource Pack error #66

Open
paulSmiddleton opened this issue Oct 18, 2021 · 0 comments
Open

Resource Pack error #66

paulSmiddleton opened this issue Oct 18, 2021 · 0 comments

Comments

@paulSmiddleton
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant