Merge pull request 'Update proxmox.tf' (#111) from fenix-admin into main

Reviewed-on: fenix-gitea-admin/iac-teste#111
This commit is contained in:
2025-08-25 10:46:57 +00:00

View File

@ -17,11 +17,11 @@ provider "proxmox" {
resource "proxmox_virtual_environment_download_file" "latest_ubunto_cloud_img" { resource "proxmox_virtual_environment_download_file" "latest_ubunto_cloud_img" {
content_type = "import" content_type = "iso"
datastore_id = "local" datastore_id = "local"
node_name = "fenix" node_name = "fenix"
url = "https://cloud-images.ubuntu.com/jammy/20250725/jammy-server-cloudimg-amd64.img" url = "https://cloud-images.ubuntu.com/jammy/20250725/jammy-server-cloudimg-amd64.img"
file_name = "jammyservercloudimgamd64.qcow2" file_name = "jammyservercloudimgamd64.img"
} }
resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" { resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" {
@ -61,7 +61,7 @@ resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" {
datastore_id = "local" datastore_id = "local"
file_id = proxmox_virtual_environment_download_file.latest_ubunto_cloud_img.id file_id = proxmox_virtual_environment_download_file.latest_ubunto_cloud_img.id
interface = "scsi1" interface = "scsi1"
file_format = "qcow2" file_format = "raw"
} }
# Configuração da interface de rede # Configuração da interface de rede