From 934a7771603f5e890f59dd505a9464e8997d9af1 Mon Sep 17 00:00:00 2001 From: gitops_test Date: Wed, 3 Dec 2025 17:17:50 +0000 Subject: [PATCH] Delete OVh_Vm_Template_20251103_v6_20251203_085218.TF --- ...Vm_Template_20251103_v6_20251203_085218.TF | 74 ------------------- 1 file changed, 74 deletions(-) delete mode 100644 OVh_Vm_Template_20251103_v6_20251203_085218.TF diff --git a/OVh_Vm_Template_20251103_v6_20251203_085218.TF b/OVh_Vm_Template_20251103_v6_20251203_085218.TF deleted file mode 100644 index 127af5d..0000000 --- a/OVh_Vm_Template_20251103_v6_20251203_085218.TF +++ /dev/null @@ -1,74 +0,0 @@ - -terraform { - required_providers { - ionoscloud = { - source = "registry.terraform.io/ionos-cloud/ionoscloud" - version = "6.7.0" - } - } -} - -data "ionoscloud_image" "simpl_vm" { - type = "HDD" - cloud_init = "V1" - image_alias = "ubuntu:latest" - location = "de" -} - -resource "ionoscloud_datacenter" "simpl_vm" { - name = "test_env_ionos" - location = "de" - description = "var.simpl_datacenter_description" - sec_auth_protection = false -} - -resource "ionoscloud_lan" "simpl_vm" { - datacenter_id = ionoscloud_datacenter.simpl_vm.id - public = true - name = "simpl_vm_lan" -} - -resource "ionoscloud_ipblock" "simpl_vm" { - location = ionoscloud_datacenter.simpl_vm.location - size = 1 - name = "test_env_ionos" -} - -resource "ionoscloud_server" "simpl_vm" { - name = "simpl_vm_server" - datacenter_id = ionoscloud_datacenter.simpl_vm.id - cores = 1 - ram = 10241 - availability_zone = "AUTO" - image_name = data.ionoscloud_image.simpl_vm.name - image_password = "test1234" - type = "ENTERPRISE" - - volume { - name = "volume" - size = 11 - disk_type = "SSD Standard" - bus = "VIRTIO" - availability_zone = "AUTO" - user_data = "var.simpl_cloud_init" - } - - nic { - lan = ionoscloud_lan.simpl_vm.id - name = "nic" - dhcp = true - ips = [ionoscloud_ipblock.simpl_vm.ips[0]] - } -} - -output "vmIps" { - value = ionoscloud_server.simpl_vm.nic[0].ips -} - -output "datacenterId" { - value = ionoscloud_datacenter.simpl_vm.id -} - -output "volumeId" { - value = ionoscloud_server.simpl_vm.boot_volume -}