Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #251 from stripe/iampa_aws
Browse files Browse the repository at this point in the history
AWS-scoped IAM policy attachments
  • Loading branch information
dtan4 authored Aug 8, 2016
2 parents 8072046 + c813a72 commit 72c96ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/terraforming/resource/iam_policy_attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def entities_for_policy(policy)
end

def iam_policies
@client.list_policies(scope: "Local").map(&:policies).flatten
@client.list_policies(scope: "All", only_attached: true).map(&:policies).flatten
end

def iam_policy_attachments
Expand Down

0 comments on commit 72c96ee

Please sign in to comment.