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

vga changed on second run with unchanged source #1224

Open
bpg opened this issue Apr 18, 2024 Discussed in #1221 · 2 comments
Open

vga changed on second run with unchanged source #1224

bpg opened this issue Apr 18, 2024 Discussed in #1221 · 2 comments
Labels
🐛 bug Something isn't working topic:clone
Milestone

Comments

@bpg
Copy link
Owner

bpg commented Apr 18, 2024

Discussed in #1221

Originally posted by xoxys April 18, 2024
Hi,

I have a template created with packer. After the initial vm resource creation from this template with terraform-provider-proxmox I re-run opentofu, and it always detects a change even if the definition of this resource has not changed:

OpenTofu will perform the following actions:

  # module.pve_server.proxmox_virtual_environment_vm.server["chromia"] will be updated in-place
  ~ resource "proxmox_virtual_environment_vm" "server" {
        id                      = "106"
        name                    = "chromia.rknet.org"
        tags                    = [
            "os_redhat",
            "provisioner_terraform",
            "service_k3s-pve",
            "type_k3s-node",
            "zone_lan",
        ]
        # (26 unchanged attributes hidden)

      - vga {
          - enabled = true -> null
          - memory  = 0 -> null
        }

        # (10 unchanged blocks hidden)
    }

Is this a bug, or am I doing something wrong?

@bpg bpg added 🐛 bug Something isn't working topic:clone labels Apr 18, 2024
@konstantin-kornienko
Copy link

same for me

@bpg
Copy link
Owner Author

bpg commented May 27, 2024

Fixed in #1328 for #1231

@bpg bpg added this to the v1.0 milestone May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working topic:clone
Projects
None yet
Development

No branches or pull requests

2 participants