Skip to content

fix: replace volume when the creation options change#1299

Open
erdnaxeli wants to merge 1 commit intodmacvicar:mainfrom
erdnaxeli:main
Open

fix: replace volume when the creation options change#1299
erdnaxeli wants to merge 1 commit intodmacvicar:mainfrom
erdnaxeli:main

Conversation

@erdnaxeli
Copy link

@erdnaxeli erdnaxeli commented Mar 16, 2026

Hi,

I changed my libvirt_cloudinit_disk resource, which then triggered an update of the related libvirt_volume. But as the code says, volumes are immutable and cannot be updated.

This PR indicates to Terraform that the any change to the create field of a volume (which happens when the source cloudinit disk changes) should trigger a replacement instead of an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant