spacelift-io / terraform-provider-spacelift

Terraform provider to interact with Spacelift
MIT License
74 stars 28 forks source link

spacelift_policy renames require resource replacement #345

Closed alexjurkiewicz closed 1 year ago

alexjurkiewicz commented 2 years ago
  # spacelift_policy.base_plan_policy must be replaced
-/+ resource "spacelift_policy" "base_plan_policy" {
      ~ id       = "base-plan" -> (known after apply)
      ~ name     = "Base Plan" -> "base-plan" # forces replacement
      ~ space_id = "legacy" -> (known after apply)
        # (3 unchanged attributes hidden)
    }

Changing the name of a policy shouldn't force replacement. You can rename policies in-place in the Spacelift UI.

marcinwyszynski commented 1 year ago

On it.

michieldewilde commented 1 year ago

The issue has been addressed with the v0.1.28 release.

alexjurkiewicz commented 1 year ago

Thank you!!!

On Wed, 5 Oct 2022, 00:13 michiel de wilde, @.***> wrote:

Closed #345 https://github.com/spacelift-io/terraform-provider-spacelift/issues/345 as completed.

— Reply to this email directly, view it on GitHub https://github.com/spacelift-io/terraform-provider-spacelift/issues/345#event-7516381496, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC4U5KSZULPGD32H4MPW3LWBQUORANCNFSM56T4KTLA . You are receiving this because you authored the thread.Message ID: <spacelift-io/terraform-provider-spacelift/issue/345/issue_event/7516381496 @github.com>