-
Notifications
You must be signed in to change notification settings - Fork 122
Allow use of existing policy #25
base: master
Are you sure you want to change the base?
Conversation
|
Hi @reisingerf , thanks for the PR but this change would break a bunch of places where I'm using this. Here is an example of my usage: I like it because the module deals with the policy resources and I just have to pass in the policy JSON. Your change would force us to create a bunch of policies to hold the JSON but I'd rather let the module do that. Could you implement your change in a way that doesn't break existing usage? Perhaps a new |
|
I tried to convert my changes into an alternative that leaves the original version intact. Does this look better? |
|
Sorry, for the long silence! I've completely been side tracked. I've some spare time now, so came back to it. |
|
what's the status on this? |
Rather than creating a new policy form a referenced policy document, allow the use of an existing policy by specifying it's ARN.
This not only allows the re-use of an existing policy, but also the control over other
aws_iam_policyarguments likepathanddescription.