Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore changes not working for disk arrays in VM's #514

Open
joaogl opened this issue Dec 27, 2024 · 1 comment
Open

Ignore changes not working for disk arrays in VM's #514

joaogl opened this issue Dec 27, 2024 · 1 comment

Comments

@joaogl
Copy link

joaogl commented Dec 27, 2024

Hello,

I've noticed that even though pulumi it self should support this, the proxmoxve doesn't seem to be supporting the wildcard for ignoreChanges.

This works:

vmInstance, err := vm.NewVirtualMachine(ctx, vmName, &vmArgs, pulumi.Provider(provider), pulumi.IgnoreChanges([]string{"disks[0].fileFormat", "disks[0].speed"}))

This doesn't work but should:
vmInstance, err := vm.NewVirtualMachine(ctx, vmName, &vmArgs, pulumi.Provider(provider), pulumi.IgnoreChanges([]string{"disks[0].fileFormat", "disks[*].speed"}))

@muhlba91
Copy link
Owner

muhlba91 commented Jan 8, 2025

this is an interesting one because the provider just wraps the upstream Terraform provider and lets Pulumi handle everything else. there's no logic w.r.t. ignoreChanges or similar.
can you verify this works for other providers?

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

No branches or pull requests

2 participants