2 lines
6.5 KiB
JSON
2 lines
6.5 KiB
JSON
{"version":4,"terraform_version":"1.9.1","serial":18,"lineage":"ce704470-5118-016c-99d1-2da73ef37040","outputs":{},"resources":[{"mode":"managed","type":"proxmox_virtual_environment_download_file","name":"ubuntu_cloud_image","provider":"provider[\"registry.opentofu.org/bpg/proxmox\"]","instances":[{"schema_version":0,"attributes":{"checksum":null,"checksum_algorithm":null,"content_type":"iso","datastore_id":"local","decompression_algorithm":null,"file_name":"jammy-server-cloudimg-amd64.img","id":"local:iso/jammy-server-cloudimg-amd64.img","node_name":"azpve","overwrite":true,"overwrite_unmanaged":false,"size":678153216,"upload_timeout":600,"url":"https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img","verify":true},"sensitive_attributes":[],"private":"eyJvcmlnaW5hbF9zdGF0ZV9zaXplIjoiTmpjNE1UVXpNakUyIn0="}]},{"mode":"managed","type":"proxmox_virtual_environment_file","name":"cloud_config","provider":"provider[\"registry.opentofu.org/bpg/proxmox\"]","instances":[{"schema_version":0,"attributes":{"content_type":"snippets","datastore_id":"local","file_mode":null,"file_modification_date":null,"file_name":"cloud-config.yaml","file_size":null,"file_tag":null,"id":"local:snippets/cloud-config.yaml","node_name":"azpve","overwrite":true,"source_file":[],"source_raw":[{"data":"#cloud-config\nchpasswd:\n list: |\n ubuntu:example\n expire: false\nhostname: example-hostname\npackages:\n - qemu-guest-agent\nruncmd:\n - systemctl enable qemu-guest-agent\n - systemctl start qemu-guest-agent\nusers:\n - default\n - name: ubuntu\n groups: sudo\n shell: /bin/bash\n lock_passwd: true\n ssh-authorized-keys:\n - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPXX3ZtFW5sRVTb8CPDbGp0E/1uuNYnjlhnnkwF3iLVB sascha.koenig@azintec.com\n sudo: ALL=(ALL) NOPASSWD:ALL\n","file_name":"cloud-config.yaml","resize":0}],"timeout_upload":1800},"sensitive_attributes":[],"private":"bnVsbA=="}]},{"mode":"managed","type":"proxmox_virtual_environment_vm","name":"ubuntu_clone","provider":"provider[\"registry.opentofu.org/bpg/proxmox\"]","instances":[{"status":"tainted","schema_version":0,"attributes":{"acpi":true,"agent":[{"enabled":true,"timeout":"15m","trim":false,"type":"virtio"}],"amd_sev":[],"audio_device":[],"bios":"seabios","boot_order":null,"cdrom":[],"clone":[{"datastore_id":"","full":true,"node_name":"","retries":1,"vm_id":9000}],"cpu":[],"description":null,"disk":[],"efi_disk":[],"hook_script_file_id":null,"hostpci":[],"id":"102","initialization":[{"datastore_id":"local-lvm","dns":[{"domain":"","servers":["1.1.1.1"]}],"interface":"","ip_config":[{"ipv4":[{"address":"dhcp","gateway":""}],"ipv6":[]}],"meta_data_file_id":"","network_data_file_id":"","type":"","user_account":[{"keys":null,"password":"password","username":"user"}],"user_data_file_id":"","vendor_data_file_id":""}],"ipv4_addresses":null,"ipv6_addresses":null,"keyboard_layout":"en-us","kvm_arguments":null,"mac_addresses":null,"machine":null,"memory":[{"dedicated":768,"floating":0,"hugepages":"","keep_hugepages":false,"shared":0}],"migrate":false,"name":"ubuntu-clone","network_device":null,"network_interface_names":null,"node_name":"azpve","numa":[],"on_boot":true,"operating_system":[],"pool_id":null,"protection":false,"reboot":false,"reboot_after_update":true,"rng":[],"scsi_hardware":"virtio-scsi-pci","serial_device":[],"smbios":[],"started":true,"startup":[],"stop_on_destroy":false,"tablet_device":true,"tags":null,"template":false,"timeout_clone":1800,"timeout_create":1800,"timeout_migrate":1800,"timeout_move_disk":1800,"timeout_reboot":1800,"timeout_shutdown_vm":1800,"timeout_start_vm":1800,"timeout_stop_vm":300,"tpm_state":[],"usb":[],"vga":null,"virtiofs":[],"vm_id":102,"watchdog":[]},"sensitive_attributes":[[{"type":"get_attr","value":"initialization"},{"type":"index","value":{"value":0,"type":"number"}},{"type":"get_attr","value":"user_account"},{"type":"index","value":{"value":0,"type":"number"}},{"type":"get_attr","value":"password"}]],"private":"bnVsbA==","dependencies":["proxmox_virtual_environment_download_file.ubuntu_cloud_image","proxmox_virtual_environment_file.cloud_config","proxmox_virtual_environment_vm.ubuntu_template"]}]},{"mode":"managed","type":"proxmox_virtual_environment_vm","name":"ubuntu_template","provider":"provider[\"registry.opentofu.org/bpg/proxmox\"]","instances":[{"schema_version":0,"attributes":{"acpi":true,"agent":[],"amd_sev":[],"audio_device":[],"bios":"ovmf","boot_order":null,"cdrom":[],"clone":[],"cpu":[{"affinity":"","architecture":"","cores":2,"flags":null,"hotplugged":0,"limit":0,"numa":false,"sockets":1,"type":"qemu64","units":1024}],"description":"","disk":[{"aio":"io_uring","backup":true,"cache":"none","datastore_id":"local-lvm","discard":"on","file_format":"raw","file_id":"local:iso/jammy-server-cloudimg-amd64.img","import_from":"","interface":"virtio0","iothread":true,"path_in_datastore":"vm-9000-disk-1","replicate":true,"serial":"","size":20,"speed":[],"ssd":false}],"efi_disk":[{"datastore_id":"local-lvm","file_format":"raw","pre_enrolled_keys":false,"type":"4m"}],"hook_script_file_id":null,"hostpci":[],"id":"9000","initialization":[{"datastore_id":"local-lvm","dns":[],"interface":"ide2","ip_config":[{"ipv4":[{"address":"dhcp","gateway":""}],"ipv6":[]}],"meta_data_file_id":"","network_data_file_id":"","type":"","user_account":[],"user_data_file_id":"local:snippets/cloud-config.yaml","vendor_data_file_id":""}],"ipv4_addresses":[],"ipv6_addresses":[],"keyboard_layout":"en-us","kvm_arguments":"","mac_addresses":["BC:24:11:3B:D2:62"],"machine":"q35","memory":[{"dedicated":2048,"floating":0,"hugepages":"","keep_hugepages":false,"shared":0}],"migrate":false,"name":"ubuntu-template","network_device":[{"bridge":"vmbr0","disconnected":false,"enabled":true,"firewall":false,"mac_address":"BC:24:11:3B:D2:62","model":"virtio","mtu":0,"queues":0,"rate_limit":0,"trunks":"","vlan_id":0}],"network_interface_names":[],"node_name":"azpve","numa":[],"on_boot":true,"operating_system":[],"pool_id":null,"protection":false,"reboot":false,"reboot_after_update":true,"rng":[],"scsi_hardware":"virtio-scsi-pci","serial_device":[],"smbios":[],"started":null,"startup":[],"stop_on_destroy":false,"tablet_device":true,"tags":null,"template":true,"timeout_clone":1800,"timeout_create":1800,"timeout_migrate":1800,"timeout_move_disk":1800,"timeout_reboot":1800,"timeout_shutdown_vm":1800,"timeout_start_vm":1800,"timeout_stop_vm":300,"tpm_state":[],"usb":[],"vga":[],"virtiofs":[],"vm_id":9000,"watchdog":[]},"sensitive_attributes":[],"private":"bnVsbA==","dependencies":["proxmox_virtual_environment_download_file.ubuntu_cloud_image","proxmox_virtual_environment_file.cloud_config"]}]}],"check_results":null}
|