We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22f3b36 commit 343ddbdCopy full SHA for 343ddbd
1 file changed
terraform/aws-groups.tf
@@ -3,5 +3,19 @@ module "iam_read_only_group" {
3
source = "./modules/aws-groups"
4
5
group_name = "read-only-group"
6
- policy_arn = ["arn:aws:iam::aws:policy/ReadOnlyAccess", "arn:aws:iam::aws:policy/IAMUserChangePassword"]
+ policy_arn = {
7
+ "ReadOnlyAccess" = "arn:aws:iam::aws:policy/ReadOnlyAccess",
8
+ "IAMUserChangePassword" = "arn:aws:iam::aws:policy/IAMUserChangePassword"
9
+ }
10
}
11
+
12
+// Create iam services admin group
13
+module "iam_services_admin_group" {
14
+ source = "./modules/aws-groups"
15
16
+ group_name = "iam-services-admin-group"
17
18
+ "IAMServicesAdmin" = module.aws_custom_policies.policy_arns["IAMServicesAdmin"]
19
20
+}
21
0 commit comments