Skip to content

Commit 97294bb

Browse files
committed
examples update (main.tf)
1 parent 645891c commit 97294bb

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

examples/with_new_groups/main.tf

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module "with_new_groups" {
2+
3+
source = "evairmarinho/iam-users-groups/aws"
4+
version = "= 1.0.4"
5+
groups = ["developers"]
6+
create_groups = true
7+
users = {
8+
"user1" : {
9+
name : "test_user"
10+
groups : ["ADM", "developers"]
11+
path : "/"
12+
}
13+
}
14+
}

examples/without_new_groups/main.tf

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
module "without_new_groups" {
3+
4+
source = "evairmarinho/iam-users-groups/aws"
5+
version = "= 1.0.4"
6+
create_groups = false
7+
users = {
8+
"user1" : {
9+
name : "test_user"
10+
groups : ["Marketing", "SysAdmins"]
11+
path : "/"
12+
}
13+
}
14+
15+
}

0 commit comments

Comments
 (0)