pulumi preview in 01-proxmox-infra shows a disks[n].speed change with all values at 0 on k3s VMs. Applying it does not clear the diff. k3s-worker-3 kept the diff after a successful pulumi up.
Cause
The Terraform provider has an internal default for the speed block. Terraform does not use it, but the Pulumi bridge does. Proxmox stores nothing when a disk has no limit, so Pulumi always compares a block of zeros with an empty value.
Ignore speed for each disk by index. Setting zeros does not help, and a real limit would throttle etcd and Longhorn.
Trade-off
Pulumi will not manage disk speed limits on existing VMs. To add a real limit later, remove the ignore entries first.
## Problem
`pulumi preview` in `01-proxmox-infra` shows a `disks[n].speed` change with all values at `0` on k3s VMs. Applying it does not clear the diff. `k3s-worker-3` kept the diff after a successful `pulumi up`.
## Cause
The Terraform provider has an internal default for the `speed` block. Terraform does not use it, but the Pulumi bridge does. Proxmox stores nothing when a disk has no limit, so Pulumi always compares a block of zeros with an empty value.
- [pulumi-proxmoxve #664](https://github.com/muhlba91/pulumi-proxmoxve/issues/664): open, same diff
- [terraform-provider-proxmox #3291](https://github.com/bpg/terraform-provider-proxmox/issues/3291) and [#3292](https://github.com/bpg/terraform-provider-proxmox/pull/3292): closed without a fix
- [pulumi-proxmoxve #514](https://github.com/muhlba91/pulumi-proxmoxve/issues/514): `disks[*].speed` is reported not to work in `ignoreChanges`
## Fix
Ignore `speed` for each disk by index. Setting zeros does not help, and a real limit would throttle etcd and Longhorn.
## Trade-off
Pulumi will not manage disk speed limits on existing VMs. To add a real limit later, remove the ignore entries first.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
pulumi previewin01-proxmox-infrashows adisks[n].speedchange with all values at0on k3s VMs. Applying it does not clear the diff.k3s-worker-3kept the diff after a successfulpulumi up.Cause
The Terraform provider has an internal default for the
speedblock. Terraform does not use it, but the Pulumi bridge does. Proxmox stores nothing when a disk has no limit, so Pulumi always compares a block of zeros with an empty value.disks[*].speedis reported not to work inignoreChangesFix
Ignore
speedfor each disk by index. Setting zeros does not help, and a real limit would throttle etcd and Longhorn.Trade-off
Pulumi will not manage disk speed limits on existing VMs. To add a real limit later, remove the ignore entries first.