{ "version": 4, "terraform_version": "1.1.2", "serial": 203, "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\nHOSTNAME=\"$(hostname)\"\n\nif [[ $(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\nfi\n\n# Always stop and mask firewalld\nsystemctl stop firewalld\nsystemctl mask firewalld\n\n# Always set to permissive.\nsed -i 's/enforcing/permissive/' /etc/sysconfig/selinux\nsed -i 's/enforcing/permissive/' /etc/selinux/config\n\n# Disable agent forwarding, in case user forwards agent, so as not to confuse ansible\ncat \u003c\u003c EOF | tee -a /etc/ssh/sshd_config\nMatch User root\n AllowAgentForwarding no\n\nEOF\n\nsystemctl restart sshd\n\ntouch /etc/cloud/cloud-init.disabled || exit 1\ntrue\n", "content_base64": "ZG5mIC15IHVwZ3JhZGUgJgoKSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgoKaWYgW1sgJChob3N0bmFtZSkgPX4gaW5mcmEgXV07IHRoZW4KICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KICAgIGdpdCBjbG9uZSAtLWJyYW5jaCBmZWF0dXJlL3JvY2t5OCAtLXNpbmdsZS1icmFuY2ggaHR0cHM6Ly9naXRodWIuY29tL05laWxIYW5sb24vb3BlbnN0YWNrLWFuc2libGUuZ2l0IC9vcHQvb3BlbnN0YWNrLWFuc2libGUKZmkKCiMgQWx3YXlzIHN0b3AgYW5kIG1hc2sgZmlyZXdhbGxkCnN5c3RlbWN0bCBzdG9wIGZpcmV3YWxsZApzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKCiMgQWx3YXlzIHNldCB0byBwZXJtaXNzaXZlLgpzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CnNlZCAtaSAncy9lbmZvcmNpbmcvcGVybWlzc2l2ZS8nIC9ldGMvc2VsaW51eC9jb25maWcKCiMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKY2F0IDw8IEVPRiB8IHRlZSAtYSAvZXRjL3NzaC9zc2hkX2NvbmZpZwpNYXRjaCBVc2VyIHJvb3QKICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwoKRU9GCgpzeXN0ZW1jdGwgcmVzdGFydCBzc2hkCgp0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCnRydWUK", "filename": "./files/startup.sh", "id": "0e17daa7c5419279a2f47d3cdb3975d4e8729cdf" }, "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": "b39eaea4-d1e3-48a8-a7f2-235dae0dcdfc", "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": [ { "status": "tainted", "schema_version": 0, "attributes": { "activation_email": false, "allowed_bandwidth": 10000, "app_id": 0, "backups": "disabled", "backups_schedule": [], "date_created": "2021-12-29T22:18:45+00:00", "ddos_protection": false, "default_password": "6T=m5CQv]$2zBUJM", "disk": 110, "enable_ipv6": false, "enable_private_network": false, "features": [], "firewall_group_id": "", "gateway_v4": "149.28.32.1", "hostname": "ala-compute1", "id": "452fbbfb-f28e-40bc-b501-dc1c4b51013e", "image_id": null, "internal_ip": "", "iso_id": null, "kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8dnp1Z0R2aEcwYWR6bk54WWNlUHRCemE3WnNCaHF2a3Z8lPFY7sSsB-aVm3rMP3HhtB1bTQGd_6PxB9NfPaLQlWEk5pmK-XrKAPsQ5e2LS-D4SOuzUFTboMX2sZiaJ-v6SEG7euaSwuzqeBZEW5uxuM9r1nqIls2UGLHHwFSE-QmNRMH97CmP5THOeV3TqVKDGgpxlrfQ_bOaboCh3GcbBbH94LG3U4n1idr1AuFsvlt-juqYrvn9LkszsQ", "label": "compute1", "main_ip": "149.28.33.91", "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": [ { "status": "tainted", "schema_version": 0, "attributes": { "activation_email": false, "allowed_bandwidth": 10000, "app_id": 0, "backups": "disabled", "backups_schedule": [], "date_created": "2021-12-29T22:18:45+00:00", "ddos_protection": false, "default_password": "K5g?JD%vAoQsMSEZ", "disk": 110, "enable_ipv6": false, "enable_private_network": false, "features": [], "firewall_group_id": "", "gateway_v4": "207.246.92.1", "hostname": "ala-infra1", "id": "e706954d-e296-429c-928f-fd8809e48197", "image_id": null, "internal_ip": "", "iso_id": null, "kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8VUI1REdGUXFhM1NjX2tBa0JUTldla2xLTGRlNFRheTV8WgaFw8-KPQir6AngKs7wa3afkn0dupBWw0vnZJ5-qzyj6AvdNaYRahvGeyqrOYKgJ552yqPn5fH6XQrxlS90n-CagM8Wo3XKs8ClBMlAJEXBtp9kadV0GNuyTJjW67ZiZAutpMPbUL21vsPW14HfR9kmB6pLP_abFxcQu9Zgw5A8ejAYj1Y_c-8bnBQl-VS_uOvDjU5JM0M", "label": "infra1", "main_ip": "207.246.93.170", "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": [ { "status": "tainted", "schema_version": 0, "attributes": { "activation_email": false, "allowed_bandwidth": 4000, "app_id": 0, "backups": "disabled", "backups_schedule": [], "date_created": "2021-12-29T22:18:45+00:00", "ddos_protection": false, "default_password": "!t5Lpkhd.{DEP!QX", "disk": 160, "enable_ipv6": false, "enable_private_network": false, "features": [], "firewall_group_id": "", "gateway_v4": "45.77.78.1", "hostname": "ala-storage1", "id": "b39eaea4-d1e3-48a8-a7f2-235dae0dcdfc", "image_id": null, "internal_ip": "", "iso_id": null, "kvm": "https://my.vultr.com/subs/vps/novnc/api.php?data=djJ8bDhJNk5faDNScVlUYVNWdzZFQWZhWm5tSG40emxFWVF8Ko-ZlONHHxB4_nT6QtxJHYnzYQIxGTJQI7gOrOoUS40pZHeMqPFUeF3UZI7lcXSams2_c9FvLEN2c4-YxXhEyKzop2NUUNJkdYsT_S7FlxFG5-HN7JWW1sGfGVWCTlAJNezl2s2MMnnf7s0L8TcKHjpvCaG1bIwI8rz3gFpx0eow5DLa0sGvJ0LeMemHu0moLP_UOQncbeR_pw", "label": "storage1", "main_ip": "45.77.78.203", "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-29T22:04:12+00:00", "id": "0eeabbfb-2d2f-4797-a85a-82d3e1f235bd", "name": "advancedlsa", "script": "ZG5mIC15IHVwZ3JhZGUgJgoKSE9TVE5BTUU9IiQoaG9zdG5hbWUpIgoKaWYgW1sgJChob3N0bmFtZSkgPX4gaW5mcmEgXV07IHRoZW4KICAgIGRuZiAteSBpbnN0YWxsIGdpdC1jb3JlIGdpdCB3Z2V0IHB5dGhvbjM2IGNocm9ueSBvcGVuc3NoLXNlcnZlciBweXRob24zLWRldmVsIHN1ZG8KICAgIGdpdCBjbG9uZSAtLWJyYW5jaCBmZWF0dXJlL3JvY2t5OCAtLXNpbmdsZS1icmFuY2ggaHR0cHM6Ly9naXRodWIuY29tL05laWxIYW5sb24vb3BlbnN0YWNrLWFuc2libGUuZ2l0IC9vcHQvb3BlbnN0YWNrLWFuc2libGUKZmkKCiMgQWx3YXlzIHN0b3AgYW5kIG1hc2sgZmlyZXdhbGxkCnN5c3RlbWN0bCBzdG9wIGZpcmV3YWxsZApzeXN0ZW1jdGwgbWFzayBmaXJld2FsbGQKCiMgQWx3YXlzIHNldCB0byBwZXJtaXNzaXZlLgpzZWQgLWkgJ3MvZW5mb3JjaW5nL3Blcm1pc3NpdmUvJyAvZXRjL3N5c2NvbmZpZy9zZWxpbnV4CnNlZCAtaSAncy9lbmZvcmNpbmcvcGVybWlzc2l2ZS8nIC9ldGMvc2VsaW51eC9jb25maWcKCiMgRGlzYWJsZSBhZ2VudCBmb3J3YXJkaW5nLCBpbiBjYXNlIHVzZXIgZm9yd2FyZHMgYWdlbnQsIHNvIGFzIG5vdCB0byBjb25mdXNlIGFuc2libGUKY2F0IDw8IEVPRiB8IHRlZSAtYSAvZXRjL3NzaC9zc2hkX2NvbmZpZwpNYXRjaCBVc2VyIHJvb3QKICBBbGxvd0FnZW50Rm9yd2FyZGluZyBubwoKRU9GCgpzeXN0ZW1jdGwgcmVzdGFydCBzc2hkCgp0b3VjaCAvZXRjL2Nsb3VkL2Nsb3VkLWluaXQuZGlzYWJsZWQgfHwgZXhpdCAxCnRydWUK", "type": "boot" }, "sensitive_attributes": [], "private": "bnVsbA==", "dependencies": [ "data.local_file.startup" ] } ] } ] }