terraform-provider-yandex icon indicating copy to clipboard operation
terraform-provider-yandex copied to clipboard

Inconsistent order of disk_ids in resource yandex_compute_snapshot_schedule trigger update

Open spirkaa opened this issue 1 year ago • 4 comments

Inconsistent order of disk_ids values in resource yandex_compute_snapshot_schedule trigger update when it shouldn`t:

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # yandex_compute_snapshot_schedule.snapshot_schedule[0] will be updated in-place
  ~ resource "yandex_compute_snapshot_schedule" "snapshot_schedule" {
      ~ disk_ids       = [
          - "fhmb9g1kvmqml0rr8o7v",
            "fhmrib7e413mgscr7b9q",
          + "fhmb9g1kvmqml0rr8o7v",
            "fhmo2pffs3fcoleejq2m",
        ]
        id             = "fd8ufkl3jv89s8pthrpp"
        name           = "test01-schedule"
        # (5 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # yandex_compute_snapshot_schedule.snapshot_schedule[0] will be updated in-place
  ~ resource "yandex_compute_snapshot_schedule" "snapshot_schedule" {
      ~ disk_ids       = [
          - "ef3094k87d0alvus31qr",
            "fhmrib7e413mgscr7b9q",
          - "ef3atl9bh0en2kea8lio",
          - "ef3fo82fh6o0vvihpahj",
            "epd96evdhacbkgcl3u70",
          - "ef3kljud8b4i78am6cbu",
          - "fhmh9pjib2i27729e0ov",
            "ef3mjm86e3o8ph0po94h",
          + "fhmuuru79gp25vtmlshp",
          + "epdb62blu203n9agf6ae",
            "ef3qluli8m3k1di4v8e3",
          + "fhmb9g1kvmqml0rr8o7v",
          + "fhmo2pffs3fcoleejq2m",
            "epdjesav48ckhua0dof3",
          - "epda63qfnhq3cal8rdb6",
          - "epdb62blu203n9agf6ae",
          - "epddnbttmbcmbcks9li7",
            "epdip8a9t3qhufmt973d",
          - "fhmuuru79gp25vtmlshp",
          + "ef3kljud8b4i78am6cbu",
          + "ef3atl9bh0en2kea8lio",
            "fhm1idqteujo7hvrgac9",
          - "fhmb9g1kvmqml0rr8o7v",
          - "fhmo2pffs3fcoleejq2m",
          + "fhmh9pjib2i27729e0ov",
          + "epddnbttmbcmbcks9li7",
          + "epda63qfnhq3cal8rdb6",
          + "ef3094k87d0alvus31qr",
          + "ef3fo82fh6o0vvihpahj",
        ]
        id             = "fd853con6m796n15206a"
        name           = "test01-schedule"
        # (5 unchanged attributes hidden)

        # (2 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

spirkaa avatar Mar 29 '23 11:03 spirkaa

Hello! Same problem

dimarez avatar Apr 06 '23 07:04 dimarez

Hello, and I have the same problem.

InfernoFeniks avatar Apr 28 '23 06:04 InfernoFeniks

Hello, we have the same issue.

al-cheb avatar Nov 10 '23 07:11 al-cheb

This issue was fixed in https://github.com/yandex-cloud/terraform-provider-yandex/commit/6b618e19e4226c38e50d17fb650dbb0df3c04ece

al-cheb avatar Mar 06 '24 10:03 al-cheb