inspec-aws
inspec-aws copied to clipboard
undefined method `inline_policies' for aws_iam_role resource
I am executing the aws_iam_role resource functions as:
describe aws_iam_role(role_name: role) do it { should exist } its('role_name') { should eq role } its('inline_policies') {should include inline_policy} end
But I am getting the following error:
undefined method `inline_policies' for #<#<Class:0x00........
Same is the case with parameter 'attached_policies_name'.
Hi, @ashima15448 is this related to the comment on issue #154 ? If so please see my response
@ashima15448 you have mentioned in issue #154 that your issue is now solved. Please let me know if there is any further action required on this issue. Otherwise, I will move to close this next week.