Closed nitrocode closed 1 month ago
Also got into this issue, but according to docs to manage spaces the stack needs to be in the root space https://docs.spacelift.io/concepts/spaces/access-control#roles
closing as this was answered by @AtzeDeVries , please feel free to re-open if you are still hitting issues.
In case anyone else runs into this issue - this error is also thrown when you mistakenly use the Spacelift Space name instead for the Space ID when creating stacks 😅
From this terraform plan change within an admin stack run
We receive this error when trying to update a
spacelift_space
in terraform.The spacelift space was created by terraform but it cannot be modified with terraform. I'm unsure if this is a spacelift terraform issue or a spacelift API issue, or maybe even a permissions issue.
The spacelift space is called
flex
and it's part of theinfrastructure
space which inherits from theroot
space.The workaround was to no-op the terraform by clickops'ing the change within Spacelift.
references