Merge pull request 'fenix-admin' (#99) from fenix-admin into main

Reviewed-on: fenix-gitea-admin/iac-teste#99
This commit is contained in:
2025-08-24 22:24:11 +00:00
2 changed files with 5 additions and 6 deletions

View File

@ -14,7 +14,7 @@ terraform {
} }
proxmox = { proxmox = {
source = "bpg/proxmox" source = "bpg/proxmox"
version = "0.82.1" version = "~> 0.70.1"
} }
} }
backend "consul" { backend "consul" {

View File

@ -17,12 +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-snippets" datastore_id = "local"
node_name = "fenix" node_name = "fenix"
url = "https://cloud-images.ubuntu.com/jammy/20250619/jammy-server-cloudimg-amd64.img" url = "https://mirror.i3d.net/pub/fedora/linux/releases/42/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-42-1.1.x86_64.qcow2"
# need to rename the file to *.qcow2 to indicate the actual file format for import file_name = "FedoraCloudBaseGeneric42.img"
file_name = "jammyservercloudimgamd64.img"
} }
resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" { resource "proxmox_virtual_environment_vm" "proxmox-kubernetes-VM-template" {