OpenNebula / terraform-provider-opennebula

Terraform provider for OpenNebula
https://www.terraform.io/docs/providers/opennebula/
Mozilla Public License 2.0
63 stars 53 forks source link

`opennebula_group`: Warning: Failed to find vector, group (ID: XXX): %!s(<nil>) #440

Closed frousselet closed 1 year ago

frousselet commented 1 year ago

Description

Got a warning when updating a group:

╷
│ Warning: Failed to find vector
│ 
│   with module.customers["IG1_IAAS.json"].module.one[0].opennebula_group.customer_admins,
│   on modules/one/groups.tf line 1, in resource "opennebula_group" "customer_admins":
│    1: resource "opennebula_group" "customer_admins" {
│ 
│ group (ID: 426): %!s(<nil>)
│ 
│ (and 6 more similar warnings elsewhere)
╵

Terraform and Provider version

Provider built from v1.2.1-rc1 tag.

Terraform v1.3.5
on darwin_arm64
+ provider one.test/one/opennebula v0.0.1

Affected resources and data sources

Terraform configuration

resource "opennebula_group" "customer_appliances" {
  count = var.deploy_services ? 1 : 0

  name = "${var.tri} - SERVICES"

  quotas {
    vm_quotas {
      cpu              = 2
      memory           = 1024
      vms              = 2
      running_cpu      = 2
      running_memory   = 1024
      running_vms      = 2
      system_disk_size = 5120
    }
  }

  template_section {
    name = "SUNSTONE"
    elements = {
      "DEFAULT_VIEW" = "user"
      "VIEWS"        = ""
    }
  }

  lifecycle {
    ignore_changes = [
      sunstone
    ]
  }
}

Expected behavior

Should pass without any warning.

Actual behavior

Got warning.

Steps to Reproduce

Debug output

No response

Panic output

No response

Important factoids

No response

References

No response