Skip to content

Cannot create new resources on each apply job #10

@zuse-z3

Description

@zuse-z3

Resources after each apply tofu are only updated, not created when changes are detected.

OpenTofu will perform the following actions:

  # openstack_compute_instance_v2.vm[0] will be updated in-place
  ~ resource "openstack_compute_instance_v2" "vm" {
        id                  = "75387c82-e29c-4b62-b4bd-904c5a2b3edc"
      ~ name                = "benchmark-vm-0-0" -> "benchmark-vm-1-0"
        tags                = []
        # (17 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

  # openstack_compute_instance_v2.vm[1] will be updated in-place
  ~ resource "openstack_compute_instance_v2" "vm" {
        id                  = "b7be2218-68d0-45e8-bcb3-8fe64c6afa0b"
      ~ name                = "benchmark-vm-0-1" -> "benchmark-vm-1-1"
        tags                = []
        # (17 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

Desired behavior described here:
hashicorp/terraform#15485

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions