{ "version": 4, "terraform_version": "1.1.5", "serial": 574, "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-30T00:30:37+00:00", "filter": [ { "name": "name", "values": [ "advancedlsa" ] } ], "id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd", "name": "advancedlsa", "script": "I2RuZiAteSB1cGdyYWRlICYKIwojSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgojCiNpZiBbWyAkKGhvc3RuYW1lKSA9fiBpbmZyYSBdXTsgdGhlbgojICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KIyAgICBnaXQgY2xvbmUgLS1icmFuY2ggZmVhdHVyZS9yb2NreTggLS1zaW5nbGUtYnJhbmNoIGh0dHBzOi8vZ2l0aHViLmNvbS9OZWlsSGFubG9uL29wZW5zdGFjay1hbnNpYmxlLmdpdCAvb3B0L29wZW5zdGFjay1hbnNpYmxlCiNmaQojCiMjIEFsd2F5cyBzdG9wIGFuZCBtYXNrIGZpcmV3YWxsZAojc3lzdGVtY3RsIHN0b3AgZmlyZXdhbGxkCiNzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKIwojIyBBbHdheXMgc2V0IHRvIHBlcm1pc3NpdmUuCiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CiNzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3NlbGludXgvY29uZmlnCiMKIyMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKI2NhdCA8PCBFT0YgfCB0ZWUgLWEgL2V0Yy9zc2gvc3NoZF9jb25maWcKI01hdGNoIFVzZXIgcm9vdAojICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwojCiNFT0YKIwojc3lzdGVtY3RsIHJlc3RhcnQgc3NoZAojCiN0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCiN0cnVlCg==", "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": "4d7f75d3-d8c4-4e83-877d-2fb53cb8a62c", "cost": 10, "date_created": "2022-02-07T21:46:11+00:00", "id": "310f2d34-3d2a-43df-99b4-b773a38236ce", "label": "ala-storage-cinder", "live": false, "mount_id": "ewr-310f2d343d2a43", "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": "2022-02-12T20:48:15+00:00", "ddos_protection": false, "default_password": "Kq2.st%(RP78bCah", "disk": 110, "enable_ipv6": false, "enable_private_network": false, "features": [], "firewall_group_id": "", "gateway_v4": "45.76.0.1", "hostname": "ala-compute1", "id": "c6c23822-ddba-4e08-8507-65d49feb280f", "image_id": null, "internal_ip": "", "iso_id": null, "kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8b250XzBjR0FudFBEcEpiaDI2OF9pYjB6VHY1aWhWNXB8_d9QS1bR2jM1gsv8bem4u7RrqSRMsY0fG5lFm70lj3ap9CrXqec_XIhIxzNs5LPg_RIpWdzBDDmVEJv4Zaw-scHGTKLSNrK8i7bkMRcFSM6NLAzjRX-zMMWXwCPpcPm1Tv9hFAQQctPijReRudVo_nY-0tNHL1J6vzzX_5aH-3Z8Ejq94buowJ3LzwomH-LpHQFsPjJjUV0ADg", "label": "compute1", "main_ip": "45.76.1.95", "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 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": 20000, "app_id": 0, "backups": "disabled", "backups_schedule": [], "date_created": "2022-02-12T20:48:15+00:00", "ddos_protection": false, "default_password": "_N9e#?e$3QWn12C)", "disk": 110, "enable_ipv6": false, "enable_private_network": false, "features": [], "firewall_group_id": "", "gateway_v4": "108.61.78.193", "hostname": "ala-infra1", "id": "fa0c5097-6ae6-4a5a-a0ae-89d9684c5c1d", "image_id": null, "internal_ip": "", "iso_id": null, "kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8QlZyOGszcUxaVkVRWjFidkx1aFl5Snd1SjZQT0dqVk985cLdsJjwxbsRUA46xwUUyEQr8bdJp2ZAmLMJ3RVsT2yfsFvXUyMoqDzY47T8jk5mKxd4mS4rPZ-quaGBmWzv55cNCERI0DC-U0SqM7XgvCkhWyUr3shdEp6P8XZHNEo0Va28BWkceJGoQHGVaqGT8tYaTSnTVzQpM3tlDNn8SFcoi7qlayC64J_EQCoV2Q5zFoIUZpKBZlc", "label": "infra1", "main_ip": "108.61.78.236", "netmask_v4": "255.255.255.192", "os": "Rocky Linux x64", "os_id": 448, "plan": "vdc-4c-16gb", "power_status": "running", "private_network_ids": [ "6bc8c36b-c3b1-4710-9880-c8ad4a53399c", "ec94cea3-8385-49dd-930c-b2f0a1304a16", "52bf92d4-a2cd-4266-b8a4-5dbd4190b174" ], "ram": 16384, "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": 4 }, "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": 3000, "app_id": 0, "backups": "disabled", "backups_schedule": [], "date_created": "2022-02-12T20:48:15+00:00", "ddos_protection": false, "default_password": "4g%KAboY7fpgT9#q", "disk": 80, "enable_ipv6": false, "enable_private_network": false, "features": [], "firewall_group_id": "", "gateway_v4": "45.77.144.1", "hostname": "ala-storage1", "id": "4d7f75d3-d8c4-4e83-877d-2fb53cb8a62c", "image_id": null, "internal_ip": "", "iso_id": null, "kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8QTlISk4wNnhseXRTWU1XRTNoYzF3UU5wRGp1cWY0c2x8HjtxsSItPk5rsLKhzzB3pICKe9BHapJl5ZsfZR_YxRj0rmKSSbNuFuwoNCYNKWyMmBDlASic0iD0CA5mMfqfAEZwG2lMcRO9RK_y0pdg9TYFlpwNFe66BKk1VdvBdgsodLZDv10SOHROO_NuGBIGA5W8xlMPnWtf2Y2Y5YwIyyxQdIXPSRsTtLzQUQAKZgydujRqt29BvjUZ", "label": "storage1", "main_ip": "45.77.144.28", "netmask_v4": "255.255.254.0", "os": "Rocky Linux x64", "os_id": 448, "plan": "vc2-2c-4gb", "power_status": "running", "private_network_ids": [ "ec94cea3-8385-49dd-930c-b2f0a1304a16", "52bf92d4-a2cd-4266-b8a4-5dbd4190b174" ], "ram": 4096, "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": 2 }, "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" ] } ] } ] }