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

Changing the name of spacelift_context should not trigger replacement #578

Open
gszzzzzz opened this issue Oct 29, 2024 · 1 comment · May be fixed by #591
Open

Changing the name of spacelift_context should not trigger replacement #578

gszzzzzz opened this issue Oct 29, 2024 · 1 comment · May be fixed by #591

Comments

@gszzzzzz
Copy link

Currently it triggers a replacement when we attempt to change the name of the spacelift_context resource:

  # spacelift_context.google_staging must be replaced
-/+ resource "spacelift_context" "google_staging" {
      # ...
      ~ id             = "foobar" -> (known after apply)
      ~ name           = "foobar" -> "barfoo" # forces replacement
        # (1 unchanged attribute hidden)
    }

However, it is possible to change the name in the Web UI:

image

I think it should be working in the Terraform as well.

@zhimsel zhimsel linked a pull request Dec 19, 2024 that will close this issue
14 tasks
@zhimsel
Copy link

zhimsel commented Dec 19, 2024

It should be as simple as this: #591

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants