diff options
author | Mark Chappell <mchappel@redhat.com> | 2019-08-22 15:25:25 +0200 |
---|---|---|
committer | Will Thames <will@thames.id.au> | 2019-08-22 23:25:25 +1000 |
commit | 70777020c41b86d0197062ff00957ad6d16cb0c8 (patch) | |
tree | d6aa698b03c1df931936d7f964bd65c8e9c187ba /hacking | |
parent | 35ed1fbe8dd09465f44102df155169f47eafb062 (diff) | |
download | ansible-70777020c41b86d0197062ff00957ad6d16cb0c8.tar.gz |
Fix iam_password_policy integration tests (#60930)
* iam_password_policy: (integration tests) Use module defaults for AWS connection details
* iam_password_policy: (integration tests) Ensure the policy is removed when tests fail
* iam_password_policy: (integration tests) Add regression test for #59102
* iam_password_policy: Only return changed when the policy changes.
* iam_password_policy: PasswordReusePrevention must be omitted to remove/set to 0
* #60930 add changelog
* Update hacking AWS security policy to allow testing of Password Policy Management
Diffstat (limited to 'hacking')
-rw-r--r-- | hacking/aws_config/testing_policies/security-policy.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hacking/aws_config/testing_policies/security-policy.json b/hacking/aws_config/testing_policies/security-policy.json index a1086aadcb..b7feb6b0b9 100644 --- a/hacking/aws_config/testing_policies/security-policy.json +++ b/hacking/aws_config/testing_policies/security-policy.json @@ -128,6 +128,16 @@ "iam:GetServerCertificate" ], "Resource": "*" + }, + { + "Sid": "AllowAccessToManagePasswordPolicy", + "Effect": "Allow", + "Action": [ + "iam:GetAccountPasswordPolicy", + "iam:DeleteAccountPasswordPolicy", + "iam:UpdateAccountPasswordPolicy" + ], + "Resource": "*" } ] } |