terrafying-components 1.12.2 → 1.12.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddbde82c2d58b321194378e086691805dfe735cd7fa50e971ea8ff4ac936857a
|
4
|
+
data.tar.gz: b9f54244f14ba08017775d12040f8aca706d1f07218c694cf5950d3223a7189a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a03b6859dbd50737c5adefddca1c7a06d6574b6be02d900b5a3d827827c4c8dc0f91541a614d7f9bf03a05b765409202a5126148abe5b5c2b870a9cd356bd726
|
7
|
+
data.tar.gz: 83c4448f92f85ab5568d90e455666a9136188e2fd646739c10ecda051d9a0617bc641f25d2a2c50615f60936440e02fe230514553a3320a2095a9893e99d66f2
|
@@ -14,7 +14,8 @@ module Terrafying
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def create(
|
17
|
-
support_assume_policy
|
17
|
+
support_assume_policy:,
|
18
|
+
password_policy: {}
|
18
19
|
)
|
19
20
|
|
20
21
|
# 1.5 Ensure IAM password policy requires at least one uppercase letter
|
@@ -33,7 +34,7 @@ module Terrafying
|
|
33
34
|
allow_users_to_change_password: true,
|
34
35
|
password_reuse_prevention: true,
|
35
36
|
max_password_age: 90,
|
36
|
-
}
|
37
|
+
}.merge(password_policy)
|
37
38
|
|
38
39
|
# 1.20 Ensure a support role has been created to manage incidents with AWS Support
|
39
40
|
support_role = resource :aws_iam_role, "support", {
|