-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.tf.json
129 lines (129 loc) · 4.23 KB
/
config.tf.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"provider": {
"aws": {
"region": "us-west-2"
}
},
"resource": {
"aws_instance": {
"ozarm": {
"ami": "ami-0171c94647389312c",
"associate_public_ip_address": true,
"instance_type": "m8g.2xlarge",
"key_name": "colemickens-yubikey-pubkey",
"root_block_device": {
"encrypted": true,
"volume_size": "256",
"volume_type": "gp3"
},
"subnet_id": "${resource.aws_subnet.oz-subnet1.id}",
"tags": {
"Name": "ozarm"
},
"vpc_security_group_ids": [
"${resource.aws_security_group.oz-main-sg.id}"
]
},
"ozex": {
"ami": "ami-07b76928ebb374b39",
"associate_public_ip_address": true,
"instance_type": "m7i.2xlarge",
"key_name": "colemickens-yubikey-pubkey",
"root_block_device": {
"encrypted": true,
"volume_size": "256",
"volume_type": "gp3"
},
"subnet_id": "${resource.aws_subnet.oz-subnet1.id}",
"tags": {
"Name": "ozex"
},
"vpc_security_group_ids": [
"${resource.aws_security_group.oz-main-sg.id}"
]
}
},
"aws_internet_gateway": {
"oz-gw": {
"vpc_id": "${resource.aws_vpc.oz-main.id}"
}
},
"aws_key_pair": {
"colemickens": {
"key_name": "colemickens-yubikey-pubkey",
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC9YAN+P0umXeSP/Cgd5ZvoD5gpmkdcrOjmHdonvBbptbMUbI/Zm0WahBDK0jO5vfJ/C6A1ci4quMGCRh98LRoFKFRoWdwlGFcFYcLkuG/AbE8ObNLHUxAwqrdNfIV6z0+zYi3XwVjxrEqyJ/auZRZ4JDDBha2y6Wpru8v9yg41ogeKDPgHwKOf/CKX77gCVnvkXiG5ltcEZAamEitSS8Mv8Rg/JfsUUwULb6yYGh+H6RECKriUAl9M+V11SOfv8MAdkXlYRrcqqwuDAheKxNGHEoGLBk+Fm+orRChckW1QcP89x6ioxpjN9VbJV0JARF+GgHObvvV+dGHZZL1N3jr8WtpHeJWxHPdBgTupDIA5HeL0OCoxgSyyfJncMl8odCyUqE+lqXVz+oURGeRxnIbgJ07dNnX6rFWRgQKrmdV4lt1i1F5Uux9IooYs/42sKKMUQZuBLTN4UzipPQM/DyDO01F0pdcaPEcIO+tp2U6gVytjHhZqEeqAMaUbq7a6ucAuYzczGZvkApc85nIo9jjW+4cfKZqV8BQfJM1YnflhAAplIq6b4Tzayvw1DLXd2c5rae+GlVCsVgpmOFyT6bftSon/HfxwBE4wKFYF7fo7/j6UbAeXwLafDhX+S5zSNR6so1epYlwcMLshXqyJePJNhtsRhpGLd9M3UqyGDAFoOQ== cardno:17_928_325"
}
},
"aws_route": {
"igw-ipv4": {
"destination_cidr_block": "0.0.0.0/0",
"gateway_id": "${resource.aws_internet_gateway.oz-gw.id}",
"route_table_id": "${resource.aws_route_table.oz-rt.id}"
},
"igw-ipv6": {
"destination_ipv6_cidr_block": "::/0",
"gateway_id": "${resource.aws_internet_gateway.oz-gw.id}",
"route_table_id": "${resource.aws_route_table.oz-rt.id}"
}
},
"aws_route_table": {
"oz-rt": {
"vpc_id": "${resource.aws_vpc.oz-main.id}"
}
},
"aws_route_table_association": {
"subnet-rt-as": {
"route_table_id": "${resource.aws_route_table.oz-rt.id}",
"subnet_id": "${resource.aws_subnet.oz-subnet1.id}"
}
},
"aws_security_group": {
"oz-main-sg": {
"name": "oz-main-sg",
"vpc_id": "${resource.aws_vpc.oz-main.id}"
}
},
"aws_subnet": {
"oz-subnet1": {
"cidr_block": "172.18.0.0/24",
"vpc_id": "${resource.aws_vpc.oz-main.id}"
}
},
"aws_vpc": {
"oz-main": {
"cidr_block": "172.18.0.0/16",
"tags": {
"Name": "oz-main"
}
}
},
"aws_vpc_security_group_egress_rule": {
"oz-main-sg-allow-out-ipv4": {
"cidr_ipv4": "0.0.0.0/0",
"ip_protocol": -1,
"security_group_id": "${resource.aws_security_group.oz-main-sg.id}"
},
"oz-main-sg-allow-out-ipv6": {
"cidr_ipv6": "::/0",
"ip_protocol": -1,
"security_group_id": "${resource.aws_security_group.oz-main-sg.id}"
}
},
"aws_vpc_security_group_ingress_rule": {
"oz-main-sg-allow-in-ipv4": {
"cidr_ipv4": "0.0.0.0/0",
"from_port": 22,
"ip_protocol": "tcp",
"security_group_id": "${resource.aws_security_group.oz-main-sg.id}",
"to_port": 22
},
"oz-main-sg-allow-in-ipv6": {
"cidr_ipv6": "::/0",
"from_port": 22,
"ip_protocol": "tcp",
"security_group_id": "${resource.aws_security_group.oz-main-sg.id}",
"to_port": 22
}
}
}
}