1522 lines
48 KiB
JSON
1522 lines
48 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.14.4",
|
|
"serial": 20,
|
|
"lineage": "ac76d36e-e202-7ab5-abee-bb765ad15c23",
|
|
"outputs": {
|
|
"ansible_inventory": {
|
|
"value": "\"all\":\n \"children\":\n \"linux_gateways\":\n \"hosts\":\n \"lab100-gw1\":\n \"ansible_host\": \"192.168.1.11\"\n \"lab_name\": \"lab100\"\n \"mikrotik_gateways\":\n \"hosts\":\n \"lab100-rt1\":\n \"ansible_connection\": \"network_cli\"\n \"ansible_host\": \"192.168.1.12\"\n \"ansible_network_os\": \"routeros\"\n \"ansible_port\": 8728\n \"lab_name\": \"lab100\"\n \"openwrt_gateways\":\n \"hosts\":\n \"lab100-openwrt1\":\n \"ansible_host\": \"192.168.1.14\"\n \"ansible_port\": 22\n \"lab_name\": \"lab100\"\n \"lab200-openwrt1\":\n \"ansible_host\": \"192.168.1.21\"\n \"ansible_port\": 22\n \"lab_name\": \"lab200\"\n \"lab200-openwrt2\":\n \"ansible_host\": \"192.168.1.22\"\n \"ansible_port\": 22\n \"lab_name\": \"lab200\"\n",
|
|
"type": "string"
|
|
},
|
|
"gateway_config": {
|
|
"value": {
|
|
"lab100-lab100-gw1": {
|
|
"api_port": 22,
|
|
"dhcp_mode": "failover",
|
|
"dhcp_role": "primary",
|
|
"hostname": "lab100-gw1",
|
|
"lab_if": "eth1",
|
|
"lab_name": "lab100",
|
|
"mgmt_ip": "192.168.1.11",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.12",
|
|
"from": "lab100-gw1",
|
|
"public_key": "uRgOFY6Lml5bm1SkpMnJCDR7tqBu8U8KWinrzvwPwtq8",
|
|
"to": "lab100-rt1",
|
|
"to_type": "mikrotik",
|
|
"wg_ip": "172.16.100.2"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.14",
|
|
"from": "lab100-gw1",
|
|
"public_key": "kJ8w03s95KxcROZ4MDn0JGeqeZLBhkKoduoaiPIWvRUm",
|
|
"to": "lab100-openwrt1",
|
|
"to_type": "openwrt",
|
|
"wg_ip": "172.16.100.3"
|
|
}
|
|
],
|
|
"road_warrior": true,
|
|
"rw_clients": [
|
|
{
|
|
"email": "alice.smith@company.com",
|
|
"public_key": "e678c242ea2f29548224f4b469030be3bb9a65c6858fdf58d8eadc2c3305d91f",
|
|
"user_name": "asmith",
|
|
"wg_ip": "172.16.100.13"
|
|
},
|
|
{
|
|
"email": "lutz.finsterle@mahle.com",
|
|
"public_key": "bd99a73acd6f6d7c925996d2aaa4aa322e7443d1bd857580b2cfbbf7dd6086ab",
|
|
"user_name": "finstl1",
|
|
"wg_ip": "172.16.100.14"
|
|
},
|
|
{
|
|
"email": "john.doe@company.com",
|
|
"public_key": "8d25d50ed5012d300f52770233c7517cd589d9be9f761e8bf4612dc904369c23",
|
|
"user_name": "jdoe",
|
|
"wg_ip": "172.16.100.15"
|
|
}
|
|
],
|
|
"subnet": "10.100.0.0/24",
|
|
"type": "linux",
|
|
"vni": 100,
|
|
"wg_ip": "172.16.100.1",
|
|
"wg_listen_port": 51920,
|
|
"wg_private_key": "XivDZJP1Jt0hMzkg28XcbImykp2OepiajCdnSThpJ4EN",
|
|
"wg_public_key": "54c1598be162afda063f4dd3ba968f94ac3a79998b441c9dcebef3e1f800edc9"
|
|
},
|
|
"lab100-lab100-openwrt1": {
|
|
"api_port": 22,
|
|
"dhcp_mode": "failover",
|
|
"dhcp_role": "backup",
|
|
"hostname": "lab100-openwrt1",
|
|
"lab_if": "eth1",
|
|
"lab_name": "lab100",
|
|
"mgmt_ip": "192.168.1.14",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.11",
|
|
"from": "lab100-openwrt1",
|
|
"public_key": "XivDZJP1Jt0hMzkg28XcbImykp2OepiajCdnSThpJ4EN",
|
|
"to": "lab100-gw1",
|
|
"to_type": "linux",
|
|
"wg_ip": "172.16.100.1"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.12",
|
|
"from": "lab100-openwrt1",
|
|
"public_key": "uRgOFY6Lml5bm1SkpMnJCDR7tqBu8U8KWinrzvwPwtq8",
|
|
"to": "lab100-rt1",
|
|
"to_type": "mikrotik",
|
|
"wg_ip": "172.16.100.2"
|
|
}
|
|
],
|
|
"road_warrior": true,
|
|
"rw_clients": [
|
|
{
|
|
"email": "alice.smith@company.com",
|
|
"public_key": "e678c242ea2f29548224f4b469030be3bb9a65c6858fdf58d8eadc2c3305d91f",
|
|
"user_name": "asmith",
|
|
"wg_ip": "172.16.100.13"
|
|
},
|
|
{
|
|
"email": "lutz.finsterle@mahle.com",
|
|
"public_key": "bd99a73acd6f6d7c925996d2aaa4aa322e7443d1bd857580b2cfbbf7dd6086ab",
|
|
"user_name": "finstl1",
|
|
"wg_ip": "172.16.100.14"
|
|
},
|
|
{
|
|
"email": "john.doe@company.com",
|
|
"public_key": "8d25d50ed5012d300f52770233c7517cd589d9be9f761e8bf4612dc904369c23",
|
|
"user_name": "jdoe",
|
|
"wg_ip": "172.16.100.15"
|
|
}
|
|
],
|
|
"subnet": "10.100.0.0/24",
|
|
"type": "openwrt",
|
|
"vni": 100,
|
|
"wg_ip": "172.16.100.3",
|
|
"wg_listen_port": 51920,
|
|
"wg_private_key": "kJ8w03s95KxcROZ4MDn0JGeqeZLBhkKoduoaiPIWvRUm",
|
|
"wg_public_key": "121507f174a5822f22f1e939b2940dfdb83aa6f2ed2f9d9032a02435f2fe1838"
|
|
},
|
|
"lab100-lab100-rt1": {
|
|
"api_port": 8728,
|
|
"dhcp_mode": "failover",
|
|
"dhcp_role": "secondary",
|
|
"hostname": "lab100-rt1",
|
|
"lab_if": "ether2",
|
|
"lab_name": "lab100",
|
|
"mgmt_ip": "192.168.1.12",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.11",
|
|
"from": "lab100-rt1",
|
|
"public_key": "XivDZJP1Jt0hMzkg28XcbImykp2OepiajCdnSThpJ4EN",
|
|
"to": "lab100-gw1",
|
|
"to_type": "linux",
|
|
"wg_ip": "172.16.100.1"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.14",
|
|
"from": "lab100-rt1",
|
|
"public_key": "kJ8w03s95KxcROZ4MDn0JGeqeZLBhkKoduoaiPIWvRUm",
|
|
"to": "lab100-openwrt1",
|
|
"to_type": "openwrt",
|
|
"wg_ip": "172.16.100.3"
|
|
}
|
|
],
|
|
"road_warrior": true,
|
|
"rw_clients": [
|
|
{
|
|
"email": "alice.smith@company.com",
|
|
"public_key": "e678c242ea2f29548224f4b469030be3bb9a65c6858fdf58d8eadc2c3305d91f",
|
|
"user_name": "asmith",
|
|
"wg_ip": "172.16.100.13"
|
|
},
|
|
{
|
|
"email": "lutz.finsterle@mahle.com",
|
|
"public_key": "bd99a73acd6f6d7c925996d2aaa4aa322e7443d1bd857580b2cfbbf7dd6086ab",
|
|
"user_name": "finstl1",
|
|
"wg_ip": "172.16.100.14"
|
|
},
|
|
{
|
|
"email": "john.doe@company.com",
|
|
"public_key": "8d25d50ed5012d300f52770233c7517cd589d9be9f761e8bf4612dc904369c23",
|
|
"user_name": "jdoe",
|
|
"wg_ip": "172.16.100.15"
|
|
}
|
|
],
|
|
"subnet": "10.100.0.0/24",
|
|
"type": "mikrotik",
|
|
"vni": 100,
|
|
"wg_ip": "172.16.100.2",
|
|
"wg_listen_port": 51920,
|
|
"wg_private_key": "uRgOFY6Lml5bm1SkpMnJCDR7tqBu8U8KWinrzvwPwtq8",
|
|
"wg_public_key": "0ad05299182076819239dc37e57e02fc1ce7ff1fca122c797bf891802da5940f"
|
|
},
|
|
"lab200-lab200-openwrt1": {
|
|
"api_port": 22,
|
|
"dhcp_mode": "simple",
|
|
"dhcp_role": "primary",
|
|
"hostname": "lab200-openwrt1",
|
|
"lab_if": "lan1",
|
|
"lab_name": "lab200",
|
|
"mgmt_ip": "192.168.1.21",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.22",
|
|
"from": "lab200-openwrt1",
|
|
"public_key": "LbBa8hG48wqJCOPQgEi4LKIWE5nrK1HiLQdsIlbxblMW",
|
|
"to": "lab200-openwrt2",
|
|
"to_type": "openwrt",
|
|
"wg_ip": "172.16.200.2"
|
|
}
|
|
],
|
|
"road_warrior": false,
|
|
"rw_clients": [],
|
|
"subnet": "10.200.0.0/24",
|
|
"type": "openwrt",
|
|
"vni": 200,
|
|
"wg_ip": "172.16.200.1",
|
|
"wg_listen_port": 52020,
|
|
"wg_private_key": "AQMhcavQwY7RBBk3qnDBP3sxjTGie6Fw6QUvwnLXI3Yo",
|
|
"wg_public_key": "1045e3900850df7aba0061f1fd0dde7e96c2c6b44903b5c769308c5a89ba5116"
|
|
},
|
|
"lab200-lab200-openwrt2": {
|
|
"api_port": 22,
|
|
"dhcp_mode": "simple",
|
|
"dhcp_role": "secondary",
|
|
"hostname": "lab200-openwrt2",
|
|
"lab_if": "lan1",
|
|
"lab_name": "lab200",
|
|
"mgmt_ip": "192.168.1.22",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.21",
|
|
"from": "lab200-openwrt2",
|
|
"public_key": "AQMhcavQwY7RBBk3qnDBP3sxjTGie6Fw6QUvwnLXI3Yo",
|
|
"to": "lab200-openwrt1",
|
|
"to_type": "openwrt",
|
|
"wg_ip": "172.16.200.1"
|
|
}
|
|
],
|
|
"road_warrior": false,
|
|
"rw_clients": [],
|
|
"subnet": "10.200.0.0/24",
|
|
"type": "openwrt",
|
|
"vni": 200,
|
|
"wg_ip": "172.16.200.2",
|
|
"wg_listen_port": 52020,
|
|
"wg_private_key": "LbBa8hG48wqJCOPQgEi4LKIWE5nrK1HiLQdsIlbxblMW",
|
|
"wg_public_key": "33e4ef4b6e8dbcf6b78ba1652eed1941149578a308429776a82b779db70ff179"
|
|
}
|
|
},
|
|
"type": [
|
|
"object",
|
|
{
|
|
"lab100-lab100-gw1": [
|
|
"object",
|
|
{
|
|
"api_port": "number",
|
|
"dhcp_mode": "string",
|
|
"dhcp_role": "string",
|
|
"hostname": "string",
|
|
"lab_if": "string",
|
|
"lab_name": "string",
|
|
"mgmt_ip": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"from": "string",
|
|
"public_key": "string",
|
|
"to": "string",
|
|
"to_type": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"from": "string",
|
|
"public_key": "string",
|
|
"to": "string",
|
|
"to_type": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"road_warrior": "bool",
|
|
"rw_clients": [
|
|
"list",
|
|
[
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"public_key": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"type": "string",
|
|
"vni": "number",
|
|
"wg_ip": "string",
|
|
"wg_listen_port": "number",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
],
|
|
"lab100-lab100-openwrt1": [
|
|
"object",
|
|
{
|
|
"api_port": "number",
|
|
"dhcp_mode": "string",
|
|
"dhcp_role": "string",
|
|
"hostname": "string",
|
|
"lab_if": "string",
|
|
"lab_name": "string",
|
|
"mgmt_ip": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"from": "string",
|
|
"public_key": "string",
|
|
"to": "string",
|
|
"to_type": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"from": "string",
|
|
"public_key": "string",
|
|
"to": "string",
|
|
"to_type": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"road_warrior": "bool",
|
|
"rw_clients": [
|
|
"list",
|
|
[
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"public_key": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"type": "string",
|
|
"vni": "number",
|
|
"wg_ip": "string",
|
|
"wg_listen_port": "number",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
],
|
|
"lab100-lab100-rt1": [
|
|
"object",
|
|
{
|
|
"api_port": "number",
|
|
"dhcp_mode": "string",
|
|
"dhcp_role": "string",
|
|
"hostname": "string",
|
|
"lab_if": "string",
|
|
"lab_name": "string",
|
|
"mgmt_ip": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"from": "string",
|
|
"public_key": "string",
|
|
"to": "string",
|
|
"to_type": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"from": "string",
|
|
"public_key": "string",
|
|
"to": "string",
|
|
"to_type": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"road_warrior": "bool",
|
|
"rw_clients": [
|
|
"list",
|
|
[
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"public_key": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"type": "string",
|
|
"vni": "number",
|
|
"wg_ip": "string",
|
|
"wg_listen_port": "number",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
],
|
|
"lab200-lab200-openwrt1": [
|
|
"object",
|
|
{
|
|
"api_port": "number",
|
|
"dhcp_mode": "string",
|
|
"dhcp_role": "string",
|
|
"hostname": "string",
|
|
"lab_if": "string",
|
|
"lab_name": "string",
|
|
"mgmt_ip": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"from": "string",
|
|
"public_key": "string",
|
|
"to": "string",
|
|
"to_type": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"road_warrior": "bool",
|
|
"rw_clients": [
|
|
"list",
|
|
[
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"public_key": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"type": "string",
|
|
"vni": "number",
|
|
"wg_ip": "string",
|
|
"wg_listen_port": "number",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
],
|
|
"lab200-lab200-openwrt2": [
|
|
"object",
|
|
{
|
|
"api_port": "number",
|
|
"dhcp_mode": "string",
|
|
"dhcp_role": "string",
|
|
"hostname": "string",
|
|
"lab_if": "string",
|
|
"lab_name": "string",
|
|
"mgmt_ip": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"from": "string",
|
|
"public_key": "string",
|
|
"to": "string",
|
|
"to_type": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"road_warrior": "bool",
|
|
"rw_clients": [
|
|
"list",
|
|
[
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"public_key": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"type": "string",
|
|
"vni": "number",
|
|
"wg_ip": "string",
|
|
"wg_listen_port": "number",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sensitive": true
|
|
},
|
|
"road_warrior_configs": {
|
|
"value": {
|
|
"asmith-lab100": {
|
|
"email": "alice.smith@company.com",
|
|
"lab_name": "lab100",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.11",
|
|
"gateway": "lab100-gw1",
|
|
"gw_type": "linux",
|
|
"listen_port": 51920,
|
|
"public_key": "XivDZJP1Jt0hMzkg28XcbImykp2OepiajCdnSThpJ4EN",
|
|
"wg_ip": "172.16.100.1"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.12",
|
|
"gateway": "lab100-rt1",
|
|
"gw_type": "mikrotik",
|
|
"listen_port": 51920,
|
|
"public_key": "uRgOFY6Lml5bm1SkpMnJCDR7tqBu8U8KWinrzvwPwtq8",
|
|
"wg_ip": "172.16.100.2"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.14",
|
|
"gateway": "lab100-openwrt1",
|
|
"gw_type": "openwrt",
|
|
"listen_port": 51920,
|
|
"public_key": "kJ8w03s95KxcROZ4MDn0JGeqeZLBhkKoduoaiPIWvRUm",
|
|
"wg_ip": "172.16.100.3"
|
|
}
|
|
],
|
|
"subnet": "10.100.0.0/24",
|
|
"user_name": "asmith",
|
|
"wg_ip": "172.16.100.13",
|
|
"wg_private_key": "WzAAWAf9paoVPnRblDVBMUqfL2ieuMDeaEwr8xLgP3Hm",
|
|
"wg_public_key": "e678c242ea2f29548224f4b469030be3bb9a65c6858fdf58d8eadc2c3305d91f"
|
|
},
|
|
"finstl1-lab100": {
|
|
"email": "lutz.finsterle@mahle.com",
|
|
"lab_name": "lab100",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.11",
|
|
"gateway": "lab100-gw1",
|
|
"gw_type": "linux",
|
|
"listen_port": 51920,
|
|
"public_key": "XivDZJP1Jt0hMzkg28XcbImykp2OepiajCdnSThpJ4EN",
|
|
"wg_ip": "172.16.100.1"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.12",
|
|
"gateway": "lab100-rt1",
|
|
"gw_type": "mikrotik",
|
|
"listen_port": 51920,
|
|
"public_key": "uRgOFY6Lml5bm1SkpMnJCDR7tqBu8U8KWinrzvwPwtq8",
|
|
"wg_ip": "172.16.100.2"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.14",
|
|
"gateway": "lab100-openwrt1",
|
|
"gw_type": "openwrt",
|
|
"listen_port": 51920,
|
|
"public_key": "kJ8w03s95KxcROZ4MDn0JGeqeZLBhkKoduoaiPIWvRUm",
|
|
"wg_ip": "172.16.100.3"
|
|
}
|
|
],
|
|
"subnet": "10.100.0.0/24",
|
|
"user_name": "finstl1",
|
|
"wg_ip": "172.16.100.14",
|
|
"wg_private_key": "qGbsVHrl6vOdqrVN0xxWzbzgJUGCCb6MZt4FEhZUS6WV",
|
|
"wg_public_key": "bd99a73acd6f6d7c925996d2aaa4aa322e7443d1bd857580b2cfbbf7dd6086ab"
|
|
},
|
|
"finstl1-lab200": {
|
|
"email": "lutz.finsterle@mahle.com",
|
|
"lab_name": "lab200",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.21",
|
|
"gateway": "lab200-openwrt1",
|
|
"gw_type": "openwrt",
|
|
"listen_port": 52020,
|
|
"public_key": "AQMhcavQwY7RBBk3qnDBP3sxjTGie6Fw6QUvwnLXI3Yo",
|
|
"wg_ip": "172.16.200.1"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.22",
|
|
"gateway": "lab200-openwrt2",
|
|
"gw_type": "openwrt",
|
|
"listen_port": 52020,
|
|
"public_key": "LbBa8hG48wqJCOPQgEi4LKIWE5nrK1HiLQdsIlbxblMW",
|
|
"wg_ip": "172.16.200.2"
|
|
}
|
|
],
|
|
"subnet": "10.200.0.0/24",
|
|
"user_name": "finstl1",
|
|
"wg_ip": "172.16.200.12",
|
|
"wg_private_key": "NsbuQIZK3NSpl8PlFcr25W11qH7PYplhxku2YjMGMh6j",
|
|
"wg_public_key": "d64d224ad309c89ebb46b5626fe3392d7be16cede395dedf75d44665778f4dcf"
|
|
},
|
|
"jdoe-lab100": {
|
|
"email": "john.doe@company.com",
|
|
"lab_name": "lab100",
|
|
"peers": [
|
|
{
|
|
"endpoint": "192.168.1.11",
|
|
"gateway": "lab100-gw1",
|
|
"gw_type": "linux",
|
|
"listen_port": 51920,
|
|
"public_key": "XivDZJP1Jt0hMzkg28XcbImykp2OepiajCdnSThpJ4EN",
|
|
"wg_ip": "172.16.100.1"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.12",
|
|
"gateway": "lab100-rt1",
|
|
"gw_type": "mikrotik",
|
|
"listen_port": 51920,
|
|
"public_key": "uRgOFY6Lml5bm1SkpMnJCDR7tqBu8U8KWinrzvwPwtq8",
|
|
"wg_ip": "172.16.100.2"
|
|
},
|
|
{
|
|
"endpoint": "192.168.1.14",
|
|
"gateway": "lab100-openwrt1",
|
|
"gw_type": "openwrt",
|
|
"listen_port": 51920,
|
|
"public_key": "kJ8w03s95KxcROZ4MDn0JGeqeZLBhkKoduoaiPIWvRUm",
|
|
"wg_ip": "172.16.100.3"
|
|
}
|
|
],
|
|
"subnet": "10.100.0.0/24",
|
|
"user_name": "jdoe",
|
|
"wg_ip": "172.16.100.15",
|
|
"wg_private_key": "yDIq0PioXao7aLR0e6FIhQH58NkFSH8q1EDSqvDIE6K1",
|
|
"wg_public_key": "8d25d50ed5012d300f52770233c7517cd589d9be9f761e8bf4612dc904369c23"
|
|
}
|
|
},
|
|
"type": [
|
|
"object",
|
|
{
|
|
"asmith-lab100": [
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"lab_name": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
],
|
|
"finstl1-lab100": [
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"lab_name": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
],
|
|
"finstl1-lab200": [
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"lab_name": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
],
|
|
"jdoe-lab100": [
|
|
"object",
|
|
{
|
|
"email": "string",
|
|
"lab_name": "string",
|
|
"peers": [
|
|
"tuple",
|
|
[
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
],
|
|
[
|
|
"object",
|
|
{
|
|
"endpoint": "string",
|
|
"gateway": "string",
|
|
"gw_type": "string",
|
|
"listen_port": "number",
|
|
"public_key": "string",
|
|
"wg_ip": "string"
|
|
}
|
|
]
|
|
]
|
|
],
|
|
"subnet": "string",
|
|
"user_name": "string",
|
|
"wg_ip": "string",
|
|
"wg_private_key": "string",
|
|
"wg_public_key": "string"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sensitive": true
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "random_id",
|
|
"name": "rw_public_key",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": "asmith-lab100",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "5njCQuovKVSCJPS0aQML47uaZcaFj99Y2OrcLDMF2R8=",
|
|
"b64_url": "5njCQuovKVSCJPS0aQML47uaZcaFj99Y2OrcLDMF2R8",
|
|
"byte_length": 32,
|
|
"dec": "104245317564734910190649937978759168669880762103445249530466650136801532303647",
|
|
"hex": "e678c242ea2f29548224f4b469030be3bb9a65c6858fdf58d8eadc2c3305d91f",
|
|
"id": "5njCQuovKVSCJPS0aQML47uaZcaFj99Y2OrcLDMF2R8",
|
|
"keepers": {
|
|
"private_key": "WzAAWAf9paoVPnRblDVBMUqfL2ieuMDeaEwr8xLgP3Hm"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.rw_private_key"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "finstl1-lab100",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "vZmnOs1vbXySWZbSqqSqMi50Q9G9hXWAss+7991ghqs=",
|
|
"b64_url": "vZmnOs1vbXySWZbSqqSqMi50Q9G9hXWAss-7991ghqs",
|
|
"byte_length": 32,
|
|
"dec": "85758610160100119405589937166567556978060558536582938355350111939955718653611",
|
|
"hex": "bd99a73acd6f6d7c925996d2aaa4aa322e7443d1bd857580b2cfbbf7dd6086ab",
|
|
"id": "vZmnOs1vbXySWZbSqqSqMi50Q9G9hXWAss-7991ghqs",
|
|
"keepers": {
|
|
"private_key": "qGbsVHrl6vOdqrVN0xxWzbzgJUGCCb6MZt4FEhZUS6WV"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.rw_private_key"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "finstl1-lab200",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "1k0iStMJyJ67RrVib+M5LXvhbO3jld7fddRGZXePTc8=",
|
|
"b64_url": "1k0iStMJyJ67RrVib-M5LXvhbO3jld7fddRGZXePTc8",
|
|
"byte_length": 32,
|
|
"dec": "96931233497443705264887866061589728932226838334022735490996744838560292490703",
|
|
"hex": "d64d224ad309c89ebb46b5626fe3392d7be16cede395dedf75d44665778f4dcf",
|
|
"id": "1k0iStMJyJ67RrVib-M5LXvhbO3jld7fddRGZXePTc8",
|
|
"keepers": {
|
|
"private_key": "NsbuQIZK3NSpl8PlFcr25W11qH7PYplhxku2YjMGMh6j"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.rw_private_key"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "jdoe-lab100",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "jSXVDtUBLTAPUncCM8dRfNWJ2b6fdh6L9GEtyQQ2nCM=",
|
|
"b64_url": "jSXVDtUBLTAPUncCM8dRfNWJ2b6fdh6L9GEtyQQ2nCM",
|
|
"byte_length": 32,
|
|
"dec": "63842955463480482826459552839830143054294100763940965499152032631942448323619",
|
|
"hex": "8d25d50ed5012d300f52770233c7517cd589d9be9f761e8bf4612dc904369c23",
|
|
"id": "jSXVDtUBLTAPUncCM8dRfNWJ2b6fdh6L9GEtyQQ2nCM",
|
|
"keepers": {
|
|
"private_key": "yDIq0PioXao7aLR0e6FIhQH58NkFSH8q1EDSqvDIE6K1"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.rw_private_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "random_id",
|
|
"name": "wg_public_key",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": "lab100-lab100-gw1",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "VMFZi+Fir9oGP03TupaPlKw6eZmLRBydzr7z4fgA7ck=",
|
|
"b64_url": "VMFZi-Fir9oGP03TupaPlKw6eZmLRBydzr7z4fgA7ck",
|
|
"byte_length": 32,
|
|
"dec": "38335898791089918962883662109942557336431256020482982646064009696829021154761",
|
|
"hex": "54c1598be162afda063f4dd3ba968f94ac3a79998b441c9dcebef3e1f800edc9",
|
|
"id": "VMFZi-Fir9oGP03TupaPlKw6eZmLRBydzr7z4fgA7ck",
|
|
"keepers": {
|
|
"private_key": "XivDZJP1Jt0hMzkg28XcbImykp2OepiajCdnSThpJ4EN"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.wg_private_key"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "lab100-lab100-openwrt1",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "EhUH8XSlgi8i8ek5spQN/bg6pvLtL52QMqAkNfL+GDg=",
|
|
"b64_url": "EhUH8XSlgi8i8ek5spQN_bg6pvLtL52QMqAkNfL-GDg",
|
|
"byte_length": 32,
|
|
"dec": "8178789884715027473260303375377936683841709700029945744949863445161987414072",
|
|
"hex": "121507f174a5822f22f1e939b2940dfdb83aa6f2ed2f9d9032a02435f2fe1838",
|
|
"id": "EhUH8XSlgi8i8ek5spQN_bg6pvLtL52QMqAkNfL-GDg",
|
|
"keepers": {
|
|
"private_key": "kJ8w03s95KxcROZ4MDn0JGeqeZLBhkKoduoaiPIWvRUm"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.wg_private_key"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "lab100-lab100-rt1",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "CtBSmRggdoGSOdw35X4C/Bzn/x/KEix5e/iRgC2llA8=",
|
|
"b64_url": "CtBSmRggdoGSOdw35X4C_Bzn_x_KEix5e_iRgC2llA8",
|
|
"byte_length": 32,
|
|
"dec": "4891202745919694193089765763204043058376189930231295615988054493050240865295",
|
|
"hex": "0ad05299182076819239dc37e57e02fc1ce7ff1fca122c797bf891802da5940f",
|
|
"id": "CtBSmRggdoGSOdw35X4C_Bzn_x_KEix5e_iRgC2llA8",
|
|
"keepers": {
|
|
"private_key": "uRgOFY6Lml5bm1SkpMnJCDR7tqBu8U8KWinrzvwPwtq8"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.wg_private_key"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "lab200-lab200-openwrt1",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "EEXjkAhQ33q6AGHx/Q3efpbCxrRJA7XHaTCMWom6URY=",
|
|
"b64_url": "EEXjkAhQ33q6AGHx_Q3efpbCxrRJA7XHaTCMWom6URY",
|
|
"byte_length": 32,
|
|
"dec": "7360488604330779802432218673950229681572177804711932122578897241401491869974",
|
|
"hex": "1045e3900850df7aba0061f1fd0dde7e96c2c6b44903b5c769308c5a89ba5116",
|
|
"id": "EEXjkAhQ33q6AGHx_Q3efpbCxrRJA7XHaTCMWom6URY",
|
|
"keepers": {
|
|
"private_key": "AQMhcavQwY7RBBk3qnDBP3sxjTGie6Fw6QUvwnLXI3Yo"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.wg_private_key"
|
|
]
|
|
},
|
|
{
|
|
"index_key": "lab200-lab200-openwrt2",
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"b64_std": "M+TvS26NvPa3i6FlLu0ZQRSVeKMIQpd2qCt3nbcP8Xk=",
|
|
"b64_url": "M-TvS26NvPa3i6FlLu0ZQRSVeKMIQpd2qCt3nbcP8Xk",
|
|
"byte_length": 32,
|
|
"dec": "23472447959531600187434437035396006440843095667520878254192437055997053235577",
|
|
"hex": "33e4ef4b6e8dbcf6b78ba1652eed1941149578a308429776a82b779db70ff179",
|
|
"id": "M-TvS26NvPa3i6FlLu0ZQRSVeKMIQpd2qCt3nbcP8Xk",
|
|
"keepers": {
|
|
"private_key": "LbBa8hG48wqJCOPQgEi4LKIWE5nrK1HiLQdsIlbxblMW"
|
|
},
|
|
"prefix": null
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "keepers"
|
|
},
|
|
{
|
|
"type": "index",
|
|
"value": {
|
|
"value": "private_key",
|
|
"type": "string"
|
|
}
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0,
|
|
"dependencies": [
|
|
"random_password.wg_private_key"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "random_password",
|
|
"name": "rw_private_key",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": "asmith-lab100",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$VAwEUOERw/VpoC4m7A.1DuhKP6EzZpb/arRN3.U1lxvBOEixNLFwC",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "WzAAWAf9paoVPnRblDVBMUqfL2ieuMDeaEwr8xLgP3Hm",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
},
|
|
{
|
|
"index_key": "finstl1-lab100",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$Fl1vaDwvIXD1LubeyZ4IvuEKhixwBsZjF2Mbj9iDKN5vbOuN4nRlO",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "qGbsVHrl6vOdqrVN0xxWzbzgJUGCCb6MZt4FEhZUS6WV",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
},
|
|
{
|
|
"index_key": "finstl1-lab200",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$1LbzY86oVpzDK0vVDQS02up2au3/F02nOAxko2J65t6a581.U.fuy",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "NsbuQIZK3NSpl8PlFcr25W11qH7PYplhxku2YjMGMh6j",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
},
|
|
{
|
|
"index_key": "jdoe-lab100",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$eCcnN.YQc5AMs1EAOTzh/uPNZV9mko2Uyt2CkvaxhGIpvgksn2bWa",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "yDIq0PioXao7aLR0e6FIhQH58NkFSH8q1EDSqvDIE6K1",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "random_password",
|
|
"name": "wg_private_key",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/random\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": "lab100-lab100-gw1",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$rdpERNsVnIYkIz6/tIp6lOJ45ZHzBtbWr0J6xYiWbjPmNSaGoeHxu",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "XivDZJP1Jt0hMzkg28XcbImykp2OepiajCdnSThpJ4EN",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
},
|
|
{
|
|
"index_key": "lab100-lab100-openwrt1",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$HOHtUEvYIRVd/IlUMlh95etHLMrA8KK9Udp.V409f78T6CaKXWKwi",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "kJ8w03s95KxcROZ4MDn0JGeqeZLBhkKoduoaiPIWvRUm",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
},
|
|
{
|
|
"index_key": "lab100-lab100-rt1",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$3yP5fIhNlMd.wlZe0BpL8OTo/rRY2yj3XEoyyA2J0AKu.B7K1qoOy",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "uRgOFY6Lml5bm1SkpMnJCDR7tqBu8U8KWinrzvwPwtq8",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
},
|
|
{
|
|
"index_key": "lab200-lab200-openwrt1",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$F3axniNQZp2S97Ex8/x05uu71kTk/EaILHnoTyza3r9zGgsQWB.t.",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "AQMhcavQwY7RBBk3qnDBP3sxjTGie6Fw6QUvwnLXI3Yo",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
},
|
|
{
|
|
"index_key": "lab200-lab200-openwrt2",
|
|
"schema_version": 3,
|
|
"attributes": {
|
|
"bcrypt_hash": "$2a$10$MFY.UM7LQbV4jOFsySKC0.bqb/KHKg9HnMk5j7IZm3sCM4hK9c77y",
|
|
"id": "none",
|
|
"keepers": null,
|
|
"length": 44,
|
|
"lower": true,
|
|
"min_lower": 0,
|
|
"min_numeric": 0,
|
|
"min_special": 0,
|
|
"min_upper": 0,
|
|
"number": true,
|
|
"numeric": true,
|
|
"override_special": null,
|
|
"result": "LbBa8hG48wqJCOPQgEi4LKIWE5nrK1HiLQdsIlbxblMW",
|
|
"special": false,
|
|
"upper": true
|
|
},
|
|
"sensitive_attributes": [
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "bcrypt_hash"
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"type": "get_attr",
|
|
"value": "result"
|
|
}
|
|
]
|
|
],
|
|
"identity_schema_version": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|