Yoichi Imai
00376af7d6
Fix iam_policy pdoc variable
9 years ago
Brian Coca
1fe6479617
be smarter when dealing with policy_json input
...
Now module will assume that if the argument is a string it is already formated as json
and will only try to convert non strings into json string.
Also removed unused 'msg' var declarations and the ifs that set them
fixes #2009
9 years ago
Jay Rogers
cab97cd2d9
Update in Amazon IAM Policy Documentation
...
There were typos in the documentation that made the examples seem misleading of what was being demonstrated. This update fixes that.
9 years ago
Mike Riddle
062c7764e6
Fixed error message: TypeError: fail_json() takes exactly 1 argument (2 given)
9 years ago
Brian Coca
c91da5714e
Merge pull request #2279 from wimnat/feature/iam_policy_idempotentcy
...
Allow iam_policy to maintain idempotence if the role referenced has …
9 years ago
Etherdaemon
08559670e5
Update try statement as pointed out by defionscode
9 years ago
Etherdaemon
2b2285eb67
fixes #12831 by updating the boto iam connection method to connect_to_region
9 years ago
whiter
6fc58855b9
Allow iam_policy to maintain idempotentce if the role referenced has been removed
9 years ago
Brian Coca
7af7ef2ef7
Merge pull request #2086 from wimnat/feature/issue-2085
...
Remove 'str' type so that json is properly quoted
9 years ago
Brian Coca
c4f64d822c
changed modules to use common ec2 docs for region
9 years ago
Rob
9bf0d06e4a
Update iam_policy.py
...
Fixed doc for policy_name - it is a required field
Removed empty aliases
9 years ago
whiter
719f68e057
Remove 'str' type so that json is properly quoted
9 years ago
wimnat
8e9c85bed2
Remove unnecessary json.loads
9 years ago
Baraa Basata
dc9dfa9ef8
Fix iam_policy example
9 years ago
Brian Coca
52543435d6
Merge pull request #1562 from micxer/iam_policy-json-string
...
Add the option to pass a string as policy
10 years ago
Michael Weinrich
4da3a724f1
Fix connection creation to allow usage of profiles with boto
10 years ago
Toshio Kuratomi
7edacf6b1c
Use module.fail_json() instead of sys.exit()
10 years ago
Michael Weinrich
559ad374f5
Add the option to pass a string as policy
10 years ago
Greg DeKoenigsberg
28a869a030
Updating cloud modules with proper github author information
10 years ago
Jonathan Davila
e2773f7554
author fix
10 years ago
Jonathan Davila
19e7e99470
iam_policy
10 years ago