diff options
author | sdubrul <6731695+sdubrul@users.noreply.github.com> | 2018-08-22 23:21:12 +0200 |
---|---|---|
committer | Sloane Hertel <shertel@redhat.com> | 2018-08-22 17:21:12 -0400 |
commit | 061877d58403bdd515b7183b542fed010d2cba28 (patch) | |
tree | e20399c8fa1cb784d70e5c6c15a9927cf2ed92a2 /hacking | |
parent | 960d99a7852877bebd06031b219a36ecf9674cbf (diff) | |
download | ansible-061877d58403bdd515b7183b542fed010d2cba28.tar.gz |
added account_alias in the response of module aws_caller_facts (#42345)
* added account_alias in the response of module aws_caller_facts
* added comment to explain list_account_aliases
* renamed caller_identity to caller_facts as the content is extended
* created changelog
* security-policy needs the iam:ListAccountAliases for this module to work
* test now checks for the added field account_alias
* gracefully handle missing iam:ListAccountAliases permission
Diffstat (limited to 'hacking')
-rw-r--r-- | hacking/aws_config/testing_policies/security-policy.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hacking/aws_config/testing_policies/security-policy.json b/hacking/aws_config/testing_policies/security-policy.json index 29cf0c5521..1c6b2ca23a 100644 --- a/hacking/aws_config/testing_policies/security-policy.json +++ b/hacking/aws_config/testing_policies/security-policy.json @@ -12,7 +12,8 @@ "iam:ListPolicies", "iam:ListRoles", "iam:ListRolePolicies", - "iam:ListUsers" + "iam:ListUsers", + "iam:ListAccountAliases" ], "Resource": "*", "Effect": "Allow", |