-
Notifications
You must be signed in to change notification settings - Fork 0
/
02-IAMUser.tf
64 lines (52 loc) · 1.34 KB
/
02-IAMUser.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
resource "aws_iam_group" "blackstreet" {
name = "blackstreet"
path = "/"
}
resource "aws_iam_user" "teddyriley" {
name = "teddyriley"
path = "/"
}
resource "aws_iam_group_membership" "teddyriley_membership" {
name = aws_iam_user.teddyriley.name
users = [aws_iam_user.teddyriley.name]
group = aws_iam_group.blackstreet.name
}
resource "aws_iam_group" "nsync" {
name = "nsync"
path = "/"
}
resource "aws_iam_user" "timberlake" {
name = "timberlake"
path = "/"
}
resource "aws_iam_group_membership" "timberlake_membership" {
name = aws_iam_user.timberlake.name
users = [aws_iam_user.timberlake.name]
group = aws_iam_group.nsync.name
}
resource "aws_iam_group" "one12" {
name = "one12"
path = "/"
}
resource "aws_iam_user" "slim" {
name = "slim"
path = "/"
}
resource "aws_iam_group_membership" "slim_membership" {
name = aws_iam_user.slim.name
users = [aws_iam_user.slim.name]
group = aws_iam_group.one12.name
}
resource "aws_iam_group" "newedition" {
name = "newedition"
path = "/"
}
resource "aws_iam_user" "thuglovin" {
name = "thuglovin"
path = "/"
}
resource "aws_iam_group_membership" "thuglovin_membership" {
name = aws_iam_user.thuglovin.name
users = [aws_iam_user.thuglovin.name]
group = aws_iam_group.newedition.name
}