diff --git a/terraform/terraform.tfstate b/terraform/terraform.tfstate deleted file mode 100644 index c27b863..0000000 --- a/terraform/terraform.tfstate +++ /dev/null @@ -1,2194 +0,0 @@ -{ - "version": 4, - "terraform_version": "0.14.5", - "serial": 255, - "lineage": "3c0a2b66-37c7-52fb-dbdb-b8b2a18f1579", - "outputs": {}, - "resources": [ - { - "mode": "managed", - "type": "opennebula_group", - "name": "production", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "admins": [], - "delete_on_destruction": true, - "id": "108", - "name": "production", - "quotas": [], - "template": "SUNSTONE = [\n DEFAULT_VIEW = \"cloud\",\n VIEWS = \"group_views\"\n]", - "users": [] - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "mode": "managed", - "type": "opennebula_virtual_network", - "name": "internet", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "ar": [ - { - "ar_type": "IP4", - "global_prefix": "", - "ip4": "192.168.1.2", - "ip6": "", - "mac": "", - "prefix_length": "", - "size": 10, - "ula_prefix": "" - } - ], - "automatic_vlan_id": null, - "bridge": "vswitch", - "clusters": [ - 0 - ], - "description": null, - "dns": "1.1.1.1", - "gateway": "192.168.1.1", - "gid": 108, - "gname": "production", - "group": "production", - "guest_mtu": 1500, - "hold_ips": null, - "hold_size": null, - "id": "28", - "ip_hold": null, - "mtu": 1500, - "name": "internet", - "network_mask": null, - "permissions": "660", - "physical_device": "", - "reservation_size": null, - "reservation_vnet": null, - "security_groups": [ - 0 - ], - "tags": null, - "type": "ovswitch", - "uid": 3, - "uname": "terra", - "vlan_id": "1" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "mode": "managed", - "type": "opennebula_virtual_network", - "name": "office", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "ar": [ - { - "ar_type": "IP4", - "global_prefix": "", - "ip4": "192.168.10.250", - "ip6": "", - "mac": "", - "prefix_length": "", - "size": 5, - "ula_prefix": "" - } - ], - "automatic_vlan_id": null, - "bridge": "vswitch", - "clusters": [ - 0 - ], - "description": null, - "dns": "192.168.5.53", - "gateway": "192.168.10.254", - "gid": 108, - "gname": "production", - "group": "production", - "guest_mtu": 1500, - "hold_ips": null, - "hold_size": null, - "id": "29", - "ip_hold": null, - "mtu": 1500, - "name": "office", - "network_mask": "255.255.255.0", - "permissions": "660", - "physical_device": "", - "reservation_size": null, - "reservation_vnet": null, - "security_groups": [ - 0 - ], - "tags": null, - "type": "ovswitch", - "uid": 3, - "uname": "terra", - "vlan_id": "10" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "mode": "managed", - "type": "opennebula_virtual_network", - "name": "production", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "ar": [ - { - "ar_type": "IP4", - "global_prefix": "", - "ip4": "192.168.5.50", - "ip6": "", - "mac": "", - "prefix_length": "", - "size": 205, - "ula_prefix": "" - } - ], - "automatic_vlan_id": null, - "bridge": "vswitch", - "clusters": [ - 0 - ], - "description": null, - "dns": "192.168.5.53", - "gateway": "192.168.5.254", - "gid": 108, - "gname": "production", - "group": "production", - "guest_mtu": 1500, - "hold_ips": null, - "hold_size": null, - "id": "27", - "ip_hold": null, - "mtu": 1500, - "name": "production", - "network_mask": "255.255.255.0", - "permissions": "660", - "physical_device": "", - "reservation_size": null, - "reservation_vnet": null, - "security_groups": [ - 0 - ], - "tags": null, - "type": "ovswitch", - "uid": 3, - "uname": "terra", - "vlan_id": "5" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.dokuwiki", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "8356607493946833214", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.dokuwiki", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "32", - "lock": null, - "name": "PROD-dokuwiki-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/dokuwiki.ber.asso.fr/system/dokuwiki.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.dokuwiki", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 32, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "30", - "memory": 2048, - "name": "dokuwiki", - "nic": [ - { - "ip": "192.168.5.235", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471612, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"32\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"2048\"\nNIC=[\n IP=\"192.168.5.235\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.dokuwiki.opennebula_image.data", - "module.dokuwiki.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.dokuwiki", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [ - { - "computed_driver": "qcow2", - "computed_size": 51200, - "computed_target": "vda", - "disk_id": 0, - "driver": "", - "image_id": 32, - "size": 0, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "5914", - "type": "VNC" - } - ], - "group": "production", - "id": "14", - "instance": null, - "ip": "192.168.5.235", - "lcmstate": 3, - "memory": null, - "name": "dokuwiki.ber.asso.fr", - "nic": [ - { - "computed_ip": "192.168.5.235", - "computed_mac": "02:00:c0:a8:05:eb", - "computed_model": "virtio", - "computed_physical_device": "", - "computed_security_groups": [ - 0 - ], - "ip": "", - "mac": "", - "model": "", - "network": "production", - "network_id": 27, - "nic_id": 0, - "physical_device": "", - "security_groups": [] - } - ], - "os": null, - "pending": false, - "permissions": "600", - "state": 3, - "tags": null, - "template_id": 30, - "timeout": 10, - "uid": 3, - "uname": "terra", - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.dokuwiki.null_resource.depends_on", - "module.dokuwiki.opennebula_image.data", - "module.dokuwiki.opennebula_image.system", - "module.dokuwiki.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.dolibarr", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "7777498855337090720", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.dolibarr", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "28", - "lock": null, - "name": "PROD-DOLIBARR-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/dolibarr.ber.asso.fr/system/dolibarr.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.dolibarr", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 28, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "33", - "memory": 2048, - "name": "dolibarr", - "nic": [ - { - "ip": "192.168.5.232", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471641, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"28\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"2048\"\nNIC=[\n IP=\"192.168.5.232\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.dolibarr.opennebula_image.data", - "module.dolibarr.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.dolibarr", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [ - { - "computed_driver": "qcow2", - "computed_size": 51200, - "computed_target": "vda", - "disk_id": 0, - "driver": "", - "image_id": 28, - "size": 0, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "5919", - "type": "VNC" - } - ], - "group": "production", - "id": "19", - "instance": null, - "ip": "192.168.5.232", - "lcmstate": 3, - "memory": null, - "name": "dolibarr.ber.asso.fr", - "nic": [ - { - "computed_ip": "192.168.5.232", - "computed_mac": "02:00:c0:a8:05:e8", - "computed_model": "virtio", - "computed_physical_device": "", - "computed_security_groups": [ - 0 - ], - "ip": "", - "mac": "", - "model": "", - "network": "production", - "network_id": 27, - "nic_id": 0, - "physical_device": "", - "security_groups": [] - } - ], - "os": null, - "pending": false, - "permissions": "600", - "state": 3, - "tags": null, - "template_id": 33, - "timeout": 10, - "uid": 3, - "uname": "terra", - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.dolibarr.null_resource.depends_on", - "module.dolibarr.opennebula_image.data", - "module.dolibarr.opennebula_image.system", - "module.dolibarr.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.jorani", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "8174108748668961538", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.jorani", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "26", - "lock": null, - "name": "PROD-jorani-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/jorani.ber.asso.fr/system/jorani.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.jorani", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 26, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "26", - "memory": 2048, - "name": "jorani", - "nic": [ - { - "ip": "192.168.5.236", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471612, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"26\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"2048\"\nNIC=[\n IP=\"192.168.5.236\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.jorani.opennebula_image.data", - "module.jorani.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.jorani", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [ - { - "computed_driver": "qcow2", - "computed_size": 51200, - "computed_target": "vda", - "disk_id": 0, - "driver": "", - "image_id": 26, - "size": 0, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "5912", - "type": "VNC" - } - ], - "group": "production", - "id": "12", - "instance": null, - "ip": "192.168.5.236", - "lcmstate": 3, - "memory": null, - "name": "jorani.ber.asso.fr", - "nic": [ - { - "computed_ip": "192.168.5.236", - "computed_mac": "02:00:c0:a8:05:ec", - "computed_model": "virtio", - "computed_physical_device": "", - "computed_security_groups": [ - 0 - ], - "ip": "", - "mac": "", - "model": "", - "network": "production", - "network_id": 27, - "nic_id": 0, - "physical_device": "", - "security_groups": [] - } - ], - "os": null, - "pending": false, - "permissions": "600", - "state": 3, - "tags": null, - "template_id": 26, - "timeout": 10, - "uid": 3, - "uname": "terra", - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.jorani.null_resource.depends_on", - "module.jorani.opennebula_image.data", - "module.jorani.opennebula_image.system", - "module.jorani.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.limesurvey", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "8814848728244353128", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.limesurvey", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "31", - "lock": null, - "name": "PROD-limesurvey-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/limesurvey.ber.asso.fr/system/limesurvey.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.limesurvey", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 31, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "34", - "memory": 2048, - "name": "limesurvey", - "nic": [ - { - "ip": "192.168.5.233", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471641, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"31\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"2048\"\nNIC=[\n IP=\"192.168.5.233\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.limesurvey.opennebula_image.data", - "module.limesurvey.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.limesurvey", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [ - { - "computed_driver": "qcow2", - "computed_size": 51200, - "computed_target": "vda", - "disk_id": 0, - "driver": "", - "image_id": 31, - "size": 0, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "5920", - "type": "VNC" - } - ], - "group": "production", - "id": "20", - "instance": null, - "ip": "192.168.5.233", - "lcmstate": 3, - "memory": null, - "name": "limesurvey.ber.asso.fr", - "nic": [ - { - "computed_ip": "192.168.5.233", - "computed_mac": "02:00:c0:a8:05:e9", - "computed_model": "virtio", - "computed_physical_device": "", - "computed_security_groups": [ - 0 - ], - "ip": "", - "mac": "", - "model": "", - "network": "production", - "network_id": 27, - "nic_id": 0, - "physical_device": "", - "security_groups": [] - } - ], - "os": null, - "pending": false, - "permissions": "600", - "state": 3, - "tags": null, - "template_id": 34, - "timeout": 10, - "uid": 3, - "uname": "terra", - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.limesurvey.null_resource.depends_on", - "module.limesurvey.opennebula_image.data", - "module.limesurvey.opennebula_image.system", - "module.limesurvey.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.nextcloud", - "mode": "managed", - "type": "dns_a_record_set", - "name": "vm_dns_a_record", - "provider": "provider[\"registry.terraform.io/hashicorp/dns\"]", - "instances": [] - }, - { - "module": "module.nextcloud", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "2019882531658326180", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.nextcloud", - "mode": "managed", - "type": "opennebula_image", - "name": "data", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [] - }, - { - "module": "module.nextcloud", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [] - }, - { - "module": "module.nextcloud", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [] - }, - { - "module": "module.nineboard", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "880883751468971489", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.nineboard", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "29", - "lock": null, - "name": "PROD-nineboard-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/nineboard.ber.asso.fr/system/nineboard.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.nineboard", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 29, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "28", - "memory": 2048, - "name": "nineboard", - "nic": [ - { - "ip": "192.168.5.237", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471612, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"29\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"2048\"\nNIC=[\n IP=\"192.168.5.237\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.nineboard.opennebula_image.data", - "module.nineboard.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.nineboard", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [ - { - "computed_driver": "qcow2", - "computed_size": 51200, - "computed_target": "vda", - "disk_id": 0, - "driver": "", - "image_id": 29, - "size": 0, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "5915", - "type": "VNC" - } - ], - "group": "production", - "id": "15", - "instance": null, - "ip": "192.168.5.237", - "lcmstate": 3, - "memory": null, - "name": "nineboard.ber.asso.fr", - "nic": [ - { - "computed_ip": "192.168.5.237", - "computed_mac": "02:00:c0:a8:05:ed", - "computed_model": "virtio", - "computed_physical_device": "", - "computed_security_groups": [ - 0 - ], - "ip": "", - "mac": "", - "model": "", - "network": "production", - "network_id": 27, - "nic_id": 0, - "physical_device": "", - "security_groups": [] - } - ], - "os": null, - "pending": false, - "permissions": "600", - "state": 3, - "tags": null, - "template_id": 28, - "timeout": 10, - "uid": 3, - "uname": "terra", - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.nineboard.null_resource.depends_on", - "module.nineboard.opennebula_image.data", - "module.nineboard.opennebula_image.system", - "module.nineboard.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.ninegate", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "3652821066007781642", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.ninegate", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "34", - "lock": null, - "name": "PROD-NINEGATE-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/ninegate.ber.asso.fr/system/ninegate.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.ninegate", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 34, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "32", - "memory": 4096, - "name": "ninegate", - "nic": [ - { - "ip": "192.168.5.240", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471612, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"34\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"4096\"\nNIC=[\n IP=\"192.168.5.240\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.ninegate.opennebula_image.data", - "module.ninegate.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.ninegate", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [ - { - "computed_driver": "qcow2", - "computed_size": 51200, - "computed_target": "vda", - "disk_id": 0, - "driver": "", - "image_id": 34, - "size": 0, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "5918", - "type": "VNC" - } - ], - "group": "production", - "id": "18", - "instance": null, - "ip": "192.168.5.240", - "lcmstate": 3, - "memory": null, - "name": "ninegate.ber.asso.fr", - "nic": [ - { - "computed_ip": "192.168.5.240", - "computed_mac": "02:00:c0:a8:05:f0", - "computed_model": "virtio", - "computed_physical_device": "", - "computed_security_groups": [ - 0 - ], - "ip": "", - "mac": "", - "model": "", - "network": "production", - "network_id": 27, - "nic_id": 0, - "physical_device": "", - "security_groups": [] - } - ], - "os": null, - "pending": false, - "permissions": "600", - "state": 3, - "tags": null, - "template_id": 32, - "timeout": 10, - "uid": 3, - "uname": "terra", - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.ninegate.null_resource.depends_on", - "module.ninegate.opennebula_image.data", - "module.ninegate.opennebula_image.system", - "module.ninegate.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.piwigo", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "3526177936943702945", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.piwigo", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "30", - "lock": null, - "name": "PROD-piwigo-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/piwigo.ber.asso.fr/system/piwigo.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.piwigo", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 30, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "29", - "memory": 2048, - "name": "piwigo", - "nic": [ - { - "ip": "192.168.5.234", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471612, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"30\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"2048\"\nNIC=[\n IP=\"192.168.5.234\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.piwigo.opennebula_image.data", - "module.piwigo.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.piwigo", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [ - { - "computed_driver": "qcow2", - "computed_size": 51200, - "computed_target": "vda", - "disk_id": 0, - "driver": "", - "image_id": 30, - "size": 0, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "5916", - "type": "VNC" - } - ], - "group": "production", - "id": "16", - "instance": null, - "ip": "192.168.5.234", - "lcmstate": 3, - "memory": null, - "name": "piwigo.ber.asso.fr", - "nic": [ - { - "computed_ip": "192.168.5.234", - "computed_mac": "02:00:c0:a8:05:ea", - "computed_model": "virtio", - "computed_physical_device": "", - "computed_security_groups": [ - 0 - ], - "ip": "", - "mac": "", - "model": "", - "network": "production", - "network_id": 27, - "nic_id": 0, - "physical_device": "", - "security_groups": [] - } - ], - "os": null, - "pending": false, - "permissions": "600", - "state": 3, - "tags": null, - "template_id": 29, - "timeout": 10, - "uid": 3, - "uname": "terra", - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.piwigo.null_resource.depends_on", - "module.piwigo.opennebula_image.data", - "module.piwigo.opennebula_image.system", - "module.piwigo.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.sso", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "3316862501330127771", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.sso", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "27", - "lock": null, - "name": "PROD-SSO-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/sso.ber.asso.fr/system/sso.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.sso", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 27, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "27", - "memory": 2048, - "name": "sso", - "nic": [ - { - "ip": "192.168.5.252", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471612, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"27\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"2048\"\nNIC=[\n IP=\"192.168.5.252\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.sso.opennebula_image.data", - "module.sso.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.sso", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [ - { - "computed_driver": "qcow2", - "computed_size": 20480, - "computed_target": "vda", - "disk_id": 0, - "driver": "", - "image_id": 27, - "size": 0, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "5913", - "type": "VNC" - } - ], - "group": "production", - "id": "13", - "instance": null, - "ip": "192.168.5.252", - "lcmstate": 3, - "memory": null, - "name": "sso.ber.asso.fr", - "nic": [ - { - "computed_ip": "192.168.5.252", - "computed_mac": "02:00:c0:a8:05:fc", - "computed_model": "virtio", - "computed_physical_device": "", - "computed_security_groups": [ - 0 - ], - "ip": "", - "mac": "", - "model": "", - "network": "production", - "network_id": 27, - "nic_id": 0, - "physical_device": "", - "security_groups": [] - } - ], - "os": null, - "pending": false, - "permissions": "600", - "state": 3, - "tags": null, - "template_id": 27, - "timeout": 10, - "uid": 3, - "uname": "terra", - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.sso.null_resource.depends_on", - "module.sso.opennebula_image.data", - "module.sso.opennebula_image.system", - "module.sso.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.syspass", - "mode": "managed", - "type": "dns_a_record_set", - "name": "vm_dns_a_record", - "provider": "provider[\"registry.terraform.io/hashicorp/dns\"]", - "instances": [] - }, - { - "module": "module.syspass", - "mode": "managed", - "type": "null_resource", - "name": "depends_on", - "provider": "provider[\"registry.terraform.io/hashicorp/null\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "id": "3660615040052792267", - "triggers": { - "depends_on": "27" - } - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.syspass", - "mode": "managed", - "type": "opennebula_image", - "name": "data", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [] - }, - { - "module": "module.syspass", - "mode": "managed", - "type": "opennebula_image", - "name": "system", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "clone_from_image": null, - "datastore_id": 101, - "description": "System disk image", - "dev_prefix": "vd", - "driver": "qcow2", - "format": "qcow2", - "gid": 108, - "gname": "production", - "group": "production", - "id": "33", - "lock": null, - "name": "PROD-SYSPASS-STATIC", - "path": "http://hapy-ber.ber.asso.fr/factory/ber/production/syspass.ber.asso.fr/system/syspass.ber.asso.fr_latest.img", - "permissions": "660", - "persistent": true, - "size": null, - "tags": null, - "target": null, - "timeout": 10, - "type": null, - "uid": 3, - "uname": "terra" - }, - "sensitive_attributes": [], - "private": "bnVsbA==" - } - ] - }, - { - "module": "module.syspass", - "mode": "managed", - "type": "opennebula_template", - "name": "vm_template", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "schema_version": 0, - "attributes": { - "context": { - "DNS_HOSTNAME": "yes", - "NETWORK": "YES", - "SSH_PUBLIC_KEY": "$USER[SSH_PUBLIC_KEY]", - "USERNAME": "root" - }, - "cpu": 0.4, - "disk": [ - { - "driver": "", - "image_id": 33, - "size": -1, - "target": "" - } - ], - "gid": 108, - "gname": "production", - "graphics": [ - { - "keymap": "fr", - "listen": "0.0.0.0", - "port": "", - "type": "VNC" - } - ], - "group": "production", - "id": "31", - "memory": 2048, - "name": "syspass", - "nic": [ - { - "ip": "192.168.5.239", - "mac": "", - "model": "virtio", - "network": "", - "network_id": 27, - "physical_device": "", - "security_groups": [ - 0 - ] - } - ], - "os": null, - "permissions": "600", - "reg_time": 1613471612, - "tags": null, - "template": "CONTEXT=[\n DNS_HOSTNAME=\"yes\",\n NETWORK=\"YES\",\n SSH_PUBLIC_KEY=\"$USER[SSH_PUBLIC_KEY]\",\n USERNAME=\"root\" ]\nCPU=\"0.400000\"\nDISK=[\n IMAGE_ID=\"33\" ]\nGRAPHICS=[\n KEYMAP=\"fr\",\n LISTEN=\"0.0.0.0\",\n TYPE=\"VNC\" ]\nMEMORY=\"2048\"\nNIC=[\n IP=\"192.168.5.239\",\n MODEL=\"virtio\",\n NETWORK_ID=\"27\" ]\nVCPU=\"4\"", - "uid": 3, - "uname": "terra", - "vcpu": 4, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.syspass.opennebula_image.data", - "module.syspass.opennebula_image.system", - "opennebula_virtual_network.production" - ] - } - ] - }, - { - "module": "module.syspass", - "mode": "managed", - "type": "opennebula_virtual_machine", - "name": "vm", - "provider": "provider[\"registry.terraform.io/opennebula/opennebula\"]", - "instances": [ - { - "status": "tainted", - "schema_version": 0, - "attributes": { - "context": null, - "cpu": null, - "disk": [], - "gid": null, - "gname": null, - "graphics": null, - "group": "production", - "id": "17", - "instance": null, - "ip": null, - "lcmstate": null, - "memory": null, - "name": "syspass.ber.asso.fr", - "nic": [], - "os": null, - "pending": false, - "permissions": null, - "state": null, - "tags": null, - "template_id": 31, - "timeout": 10, - "uid": null, - "uname": null, - "vcpu": null, - "vmgroup": null - }, - "sensitive_attributes": [], - "private": "bnVsbA==", - "dependencies": [ - "module.syspass.null_resource.depends_on", - "module.syspass.opennebula_image.data", - "module.syspass.opennebula_image.system", - "module.syspass.opennebula_template.vm_template", - "opennebula_virtual_network.production" - ] - } - ] - } - ] -}