Skip to content

Releases: blz-ea/terraform-provider-proxmox

v0.3.3

15 Jan 19:24
Compare
Choose a tag to compare
fix(proxmoxtf): provider crash

Provider was crashing due to the incorrect configuration being picked up from Terraform files

v0.3.2-pre-6

02 Jan 02:38
Compare
Choose a tag to compare
docs: update README

v0.3.2-pre-5

28 Dec 13:42
Compare
Choose a tag to compare
Fix multiple bugs in VM Resource

- Fix #41
- Fix #42
- Fix issues when `vm` resource is created without `initialization` block. Related to #42

VM resource created without `initialization` block does not correctly set `initialization` block state attributes

## To Reproduce
1. Create a VM
```hcl
resource "proxmox_virtual_environment_vm" "testvm" {
  node_name   = "<your_node_name>"
  pool_id     = "<existing_pool>" # required due to #41
}
```
2. `terraform apply`
3. `terraform plan`
```hcl
  # proxmox_virtual_environment_vm.testvm must be replaced
-/+ resource "proxmox_virtual_environment_vm" "testvm" {
        acpi                    = true
        bios                    = "seabios"
      ~ id                      = "103" -> (known after apply)
      ~ ipv4_addresses          = [] -> (known after apply)
      ~ ipv6_addresses          = [] -> (known after apply)
        keyboard_layout         = "en-us"
      ~ mac_addresses           = [] -> (known after apply)
      ~ network_interface_names = [] -> (known after apply)
        node_name               = "pve"
        pool_id                 = "pve"
        started                 = true
        tablet_device           = true
        template                = false
        vm_id                   = -1

      - initialization {
        }
    }

Plan: 1 to add, 0 to change, 1 to destroy.
```