We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The iam_role resource documentation suggests using the following syntax:
iam_role
describe iam_role('my-iam-role') do its('attached_policies.count') { should eq 5 } end
Doing so results in the following error being raised:
Awspec::BlackListForwardable::CalledMethodInBlackList: Method call :attached_policies is black-listed # .../gems/awspec-0.60.0/lib/awspec/resource_reader.rb:9:in `method_missing_via_black_list' # .../gems/awspec-0.60.0/lib/awspec/type/base.rb:62:in `method_missing'
The alternate suggested form ("resource.attached_policies.count") gives the same error.
The text was updated successfully, but these errors were encountered:
Thank you for good issue. now fixing.
Sorry, something went wrong.
1174e60
Merge pull request #197 from k1LoW/allow-attached_policies
5778b43
Fix #196 : Add `attached_policies` to WHITE_LIST_RE
No branches or pull requests
The
iam_role
resource documentation suggests using the following syntax:Doing so results in the following error being raised:
The alternate suggested form ("resource.attached_policies.count") gives the same error.
The text was updated successfully, but these errors were encountered: