AdvancedLinuxAdmin/terraform/vultr/terraform.tfstate
2021-12-29 19:37:01 -05:00

443 lines
19 KiB
JSON

{
"version": 4,
"terraform_version": "1.1.2",
"serial": 212,
"lineage": "9182161d-2dda-d6b4-a789-8481586b33b1",
"outputs": {},
"resources": [
{
"mode": "data",
"type": "local_file",
"name": "startup",
"provider": "provider[\"registry.terraform.io/hashicorp/local\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"content": "#dnf -y upgrade \u0026\n#\n#HOSTNAME=\"$(hostname)\"\n#\n#if [[ $(hostname) =~ infra ]]; then\n# dnf -y install git-core git wget python36 chrony openssh-server python3-devel sudo\n# git clone --branch feature/rocky8 --single-branch https://github.com/NeilHanlon/openstack-ansible.git /opt/openstack-ansible\n#fi\n#\n## Always stop and mask firewalld\n#systemctl stop firewalld\n#systemctl mask firewalld\n#\n## Always set to permissive.\n#sed -i 's/enforcing/permissive/' /etc/sysconfig/selinux\n#sed -i 's/enforcing/permissive/' /etc/selinux/config\n#\n## Disable agent forwarding, in case user forwards agent, so as not to confuse ansible\n#cat \u003c\u003c EOF | tee -a /etc/ssh/sshd_config\n#Match User root\n# AllowAgentForwarding no\n#\n#EOF\n#\n#systemctl restart sshd\n#\n#touch /etc/cloud/cloud-init.disabled || exit 1\n#true\n",
"content_base64": "I2RuZiAteSB1cGdyYWRlICYKIwojSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgojCiNpZiBbWyAkKGhvc3RuYW1lKSA9fiBpbmZyYSBdXTsgdGhlbgojICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KIyAgICBnaXQgY2xvbmUgLS1icmFuY2ggZmVhdHVyZS9yb2NreTggLS1zaW5nbGUtYnJhbmNoIGh0dHBzOi8vZ2l0aHViLmNvbS9OZWlsSGFubG9uL29wZW5zdGFjay1hbnNpYmxlLmdpdCAvb3B0L29wZW5zdGFjay1hbnNpYmxlCiNmaQojCiMjIEFsd2F5cyBzdG9wIGFuZCBtYXNrIGZpcmV3YWxsZAojc3lzdGVtY3RsIHN0b3AgZmlyZXdhbGxkCiNzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKIwojIyBBbHdheXMgc2V0IHRvIHBlcm1pc3NpdmUuCiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3NlbGludXgvY29uZmlnCiMKIyMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKI2NhdCA8PCBFT0YgfCB0ZWUgLWEgL2V0Yy9zc2gvc3NoZF9jb25maWcKI01hdGNoIFVzZXIgcm9vdAojICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwojCiNFT0YKIwojc3lzdGVtY3RsIHJlc3RhcnQgc3NoZAojCiN0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCiN0cnVlCg==",
"filename": "./files/startup.sh",
"id": "5f996b64baace058772b3b1aa86db83787468974"
},
"sensitive_attributes": []
}
]
},
{
"mode": "data",
"type": "vultr_startup_script",
"name": "script",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"date_created": "2021-10-30T21:37:07+00:00",
"date_modified": "2021-12-29T22:04:12+00:00",
"filter": [
{
"name": "name",
"values": [
"advancedlsa"
]
}
],
"id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
"name": "advancedlsa",
"script": "ZG5mIC15IHVwZ3JhZGUgJgoKSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgoKaWYgW1sgJChob3N0bmFtZSkgPX4gaW5mcmEgXV07IHRoZW4KICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KICAgIGdpdCBjbG9uZSAtLWJyYW5jaCBmZWF0dXJlL3JvY2t5OCAtLXNpbmdsZS1icmFuY2ggaHR0cHM6Ly9naXRodWIuY29tL05laWxIYW5sb24vb3BlbnN0YWNrLWFuc2libGUuZ2l0IC9vcHQvb3BlbnN0YWNrLWFuc2libGUKZmkKCiMgQWx3YXlzIHN0b3AgYW5kIG1hc2sgZmlyZXdhbGxkCnN5c3RlbWN0bCBzdG9wIGZpcmV3YWxsZApzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKCiMgQWx3YXlzIHNldCB0byBwZXJtaXNzaXZlLgpzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CnNlZCAtaSAncy9lbmZvcmNpbmcvcGVybWlzc2l2ZS8nIC9ldGMvc2VsaW51eC9jb25maWcKCiMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKY2F0IDw8IEVPRiB8IHRlZSAtYSAvZXRjL3NzaC9zc2hkX2NvbmZpZwpNYXRjaCBVc2VyIHJvb3QKICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwoKRU9GCgpzeXN0ZW1jdGwgcmVzdGFydCBzc2hkCgp0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCnRydWUK",
"type": "boot"
},
"sensitive_attributes": []
}
]
},
{
"mode": "managed",
"type": "vultr_block_storage",
"name": "cinder",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"attached_to_instance": "bad7f87e-b0cb-488a-8175-688084830935",
"cost": 10,
"date_created": "2021-12-28T22:51:10+00:00",
"id": "1b5e5064-bf92-4c80-b6a2-137eefb9fae9",
"label": "ala-storage-cinder",
"live": false,
"mount_id": "ewr-1b5e5064bf924c",
"region": "ewr",
"size_gb": 100,
"status": "active"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"vultr_instance.storage1",
"vultr_private_network.mgmt",
"vultr_private_network.storage",
"vultr_ssh_key.terraform"
]
}
]
},
{
"mode": "managed",
"type": "vultr_instance",
"name": "compute1",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"activation_email": false,
"allowed_bandwidth": 10000,
"app_id": 0,
"backups": "disabled",
"backups_schedule": [],
"date_created": "2021-12-30T00:30:40+00:00",
"ddos_protection": false,
"default_password": ".wB2=mJACz#Tcz[j",
"disk": 110,
"enable_ipv6": false,
"enable_private_network": false,
"features": [],
"firewall_group_id": "",
"gateway_v4": "149.28.234.1",
"hostname": "ala-compute1",
"id": "31a0a20d-ea96-4f83-870e-fea812a9e2f2",
"image_id": null,
"internal_ip": "",
"iso_id": null,
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8OFFsTVFteHZlZzFFdnN1emhlVElKamxhYWhDWXhmNnV8AlNjpeU0Oc8mQjlzrNeQ3lC8HGsYPIWNrwR43ljQRa12eliKNUlgQdodCf_l-WSB3MFtVL-lD3KmN-vEW8ovggslmZ_FlZ1M7knEhpzLXnNPDGcw-DVcCHKeeoAXQar1NRRaJeegQ4RCAjLiyjZHs8n2b9i09ERRm0yPugaVz4XN3PWgbhHq1lxEWkh2MKSYndOXvKtBB-1Y7Q",
"label": "compute1",
"main_ip": "149.28.235.85",
"netmask_v4": "255.255.254.0",
"os": "Rocky Linux x64",
"os_id": 448,
"plan": "vdc-2c-8gb",
"power_status": "running",
"private_network_ids": [
"6bc8c36b-c3b1-4710-9880-c8ad4a53399c",
"52bf92d4-a2cd-4266-b8a4-5dbd4190b174",
"ec94cea3-8385-49dd-930c-b2f0a1304a16"
],
"ram": 8192,
"region": "ewr",
"reserved_ip_id": null,
"script_id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
"server_status": "installingbooting",
"snapshot_id": null,
"ssh_key_ids": [
"f57eb103-38ce-4a82-a5de-3ffcf1646792"
],
"status": "active",
"tag": "advancedlsa compute",
"timeouts": null,
"user_data": null,
"v6_main_ip": "",
"v6_network": "",
"v6_network_size": 0,
"vcpu_count": 2
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozNjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjM2MDAwMDAwMDAwMDB9fQ==",
"dependencies": [
"vultr_private_network.mgmt",
"vultr_private_network.storage",
"vultr_private_network.tunnel",
"vultr_ssh_key.terraform"
]
}
]
},
{
"mode": "managed",
"type": "vultr_instance",
"name": "infra1",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"activation_email": false,
"allowed_bandwidth": 10000,
"app_id": 0,
"backups": "disabled",
"backups_schedule": [],
"date_created": "2021-12-30T00:30:41+00:00",
"ddos_protection": false,
"default_password": "$p6Te@XS#_x4-oD7",
"disk": 110,
"enable_ipv6": false,
"enable_private_network": false,
"features": [],
"firewall_group_id": "",
"gateway_v4": "45.77.202.1",
"hostname": "ala-infra1",
"id": "faa1968f-71e6-4fe8-aad6-81e4feb2a98b",
"image_id": null,
"internal_ip": "",
"iso_id": null,
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8MFhsWkNVVE5iRFc2TUhqd29qeUg5Ui1XZ211XzdiYld8UP8GA-ji2VmHY0l_YwwnJA4AfCPwX3zcXzVF23LcwYuj2YbgOmdthuX1XhKt9TK9xjffm-RtFn4Vn6Ct7jtvuG-bbGI5ttjQTwK6IDnKq_pK2kxK-6J8eBzmn7vEyBYT-W9iRKKSbYl7XtfVBXMy5M1sBzRa1eAq6yzPyoJxZP6kthclTxj0HHbapxZpsqrbsM3e72_FloQ",
"label": "infra1",
"main_ip": "45.77.203.158",
"netmask_v4": "255.255.254.0",
"os": "Rocky Linux x64",
"os_id": 448,
"plan": "vdc-2c-8gb",
"power_status": "running",
"private_network_ids": [
"6bc8c36b-c3b1-4710-9880-c8ad4a53399c",
"ec94cea3-8385-49dd-930c-b2f0a1304a16",
"52bf92d4-a2cd-4266-b8a4-5dbd4190b174"
],
"ram": 8192,
"region": "ewr",
"reserved_ip_id": null,
"script_id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
"server_status": "installingbooting",
"snapshot_id": null,
"ssh_key_ids": [
"f57eb103-38ce-4a82-a5de-3ffcf1646792"
],
"status": "active",
"tag": "advancedlsa infra",
"timeouts": null,
"user_data": null,
"v6_main_ip": "",
"v6_network": "",
"v6_network_size": 0,
"vcpu_count": 2
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozNjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjM2MDAwMDAwMDAwMDB9fQ==",
"dependencies": [
"vultr_private_network.mgmt",
"vultr_private_network.storage",
"vultr_private_network.tunnel",
"vultr_ssh_key.terraform"
]
}
]
},
{
"mode": "managed",
"type": "vultr_instance",
"name": "storage1",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"activation_email": false,
"allowed_bandwidth": 4000,
"app_id": 0,
"backups": "disabled",
"backups_schedule": [],
"date_created": "2021-12-30T00:30:40+00:00",
"ddos_protection": false,
"default_password": "d2E[ysEA%Vq68cjm",
"disk": 160,
"enable_ipv6": false,
"enable_private_network": false,
"features": [],
"firewall_group_id": "",
"gateway_v4": "149.28.226.1",
"hostname": "ala-storage1",
"id": "bad7f87e-b0cb-488a-8175-688084830935",
"image_id": null,
"internal_ip": "",
"iso_id": null,
"kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8Z2d1S3VMQ1NfSklkcmpHXy1OVGxld29DdXhMcDN4MEV8I5cntwvGLX3d34T0I78QrGOYGz5lehs1uGquIhOMOXdNOYjQX3ih9OD6kYW6_uHiv6uoXFr9I-jy38eAS_nm44sIpxXaoV_VDrWWoefIWH4HmIoTHg1TF1fXwHYaqRtaOVPNcWsX4uB-oe8FDQkOYTUv64mWmR2CkpoAceW7NolIkdSVfgpbeRGhr_Tvs0r-7cN2mUY4TL399g",
"label": "storage1",
"main_ip": "149.28.227.188",
"netmask_v4": "255.255.254.0",
"os": "Rocky Linux x64",
"os_id": 448,
"plan": "vc2-4c-8gb",
"power_status": "running",
"private_network_ids": [
"ec94cea3-8385-49dd-930c-b2f0a1304a16",
"52bf92d4-a2cd-4266-b8a4-5dbd4190b174"
],
"ram": 8192,
"region": "ewr",
"reserved_ip_id": null,
"script_id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
"server_status": "installingbooting",
"snapshot_id": null,
"ssh_key_ids": [
"f57eb103-38ce-4a82-a5de-3ffcf1646792"
],
"status": "active",
"tag": "advancedlsa storage",
"timeouts": null,
"user_data": null,
"v6_main_ip": "",
"v6_network": "",
"v6_network_size": 0,
"vcpu_count": 4
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozNjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjM2MDAwMDAwMDAwMDB9fQ==",
"dependencies": [
"vultr_private_network.mgmt",
"vultr_private_network.storage",
"vultr_ssh_key.terraform"
]
}
]
},
{
"mode": "managed",
"type": "vultr_private_network",
"name": "mgmt",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"date_created": "2021-10-30T21:37:07+00:00",
"description": "Management network",
"id": "52bf92d4-a2cd-4266-b8a4-5dbd4190b174",
"region": "ewr",
"v4_subnet": "172.29.220.0",
"v4_subnet_mask": 22
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "vultr_private_network",
"name": "mgmt2",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"date_created": "2021-12-05T22:09:55+00:00",
"description": "Management network",
"id": "e11bbba9-c00a-4e88-bf49-075b880692c3",
"region": "ewr",
"v4_subnet": "172.29.220.0",
"v4_subnet_mask": 22
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "vultr_private_network",
"name": "storage",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"date_created": "2021-10-30T21:37:07+00:00",
"description": "Storage Network",
"id": "ec94cea3-8385-49dd-930c-b2f0a1304a16",
"region": "ewr",
"v4_subnet": "172.29.228.0",
"v4_subnet_mask": 22
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "vultr_private_network",
"name": "tunnel",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"date_created": "2021-10-30T21:37:07+00:00",
"description": "Tunnel (VXLAN) network",
"id": "6bc8c36b-c3b1-4710-9880-c8ad4a53399c",
"region": "ewr",
"v4_subnet": "172.29.224.0",
"v4_subnet_mask": 22
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "vultr_private_network",
"name": "tunnel2",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"date_created": "2021-12-05T22:09:55+00:00",
"description": "Tunnel (VXLAN) network",
"id": "0ccc4d19-501e-46cb-a8de-174756d233de",
"region": "ewr",
"v4_subnet": "172.29.224.0",
"v4_subnet_mask": 22
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "vultr_ssh_key",
"name": "terraform",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"date_created": "2021-10-30T21:37:07+00:00",
"id": "f57eb103-38ce-4a82-a5de-3ffcf1646792",
"name": "advancedlsa-ed25519",
"ssh_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINjvRik77vZm9Uy8mxnQakfsWLrkpwYLoVT/TdxScoWj advancedlsa_terraform"
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
},
{
"mode": "managed",
"type": "vultr_startup_script",
"name": "startup_ala",
"provider": "provider[\"registry.terraform.io/vultr/vultr\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"date_created": "2021-10-30T21:37:07+00:00",
"date_modified": "2021-12-30T00:30:37+00:00",
"id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd",
"name": "advancedlsa",
"script": "I2RuZiAteSB1cGdyYWRlICYKIwojSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgojCiNpZiBbWyAkKGhvc3RuYW1lKSA9fiBpbmZyYSBdXTsgdGhlbgojICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KIyAgICBnaXQgY2xvbmUgLS1icmFuY2ggZmVhdHVyZS9yb2NreTggLS1zaW5nbGUtYnJhbmNoIGh0dHBzOi8vZ2l0aHViLmNvbS9OZWlsSGFubG9uL29wZW5zdGFjay1hbnNpYmxlLmdpdCAvb3B0L29wZW5zdGFjay1hbnNpYmxlCiNmaQojCiMjIEFsd2F5cyBzdG9wIGFuZCBtYXNrIGZpcmV3YWxsZAojc3lzdGVtY3RsIHN0b3AgZmlyZXdhbGxkCiNzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKIwojIyBBbHdheXMgc2V0IHRvIHBlcm1pc3NpdmUuCiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3NlbGludXgvY29uZmlnCiMKIyMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKI2NhdCA8PCBFT0YgfCB0ZWUgLWEgL2V0Yy9zc2gvc3NoZF9jb25maWcKI01hdGNoIFVzZXIgcm9vdAojICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwojCiNFT0YKIwojc3lzdGVtY3RsIHJlc3RhcnQgc3NoZAojCiN0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCiN0cnVlCg==",
"type": "boot"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.local_file.startup"
]
}
]
}
]
}