Skip to content

Commit

Permalink
examples update (main.tf)
Browse files Browse the repository at this point in the history
  • Loading branch information
evairmarinho committed Oct 10, 2021
1 parent 645891c commit 97294bb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/with_new_groups/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module "with_new_groups" {

source = "evairmarinho/iam-users-groups/aws"
version = "= 1.0.4"
groups = ["developers"]
create_groups = true
users = {
"user1" : {
name : "test_user"
groups : ["ADM", "developers"]
path : "/"
}
}
}
15 changes: 15 additions & 0 deletions examples/without_new_groups/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

module "without_new_groups" {

source = "evairmarinho/iam-users-groups/aws"
version = "= 1.0.4"
create_groups = false
users = {
"user1" : {
name : "test_user"
groups : ["Marketing", "SysAdmins"]
path : "/"
}
}

}

0 comments on commit 97294bb

Please sign in to comment.