spacelift-io / terraform-provider-spacelift

Terraform provider to interact with Spacelift
MIT License
76 stars 29 forks source link

[bug] spacelift_module name destroy cycle #290

Closed SizZiKe closed 2 years ago

SizZiKe commented 2 years ago

if you specify name = "test module" (or any other name with spaces) for the spacelift_module resource you will end up in a constant cycle of replacement. The name ends up being a calculated value matching the ID for the module, which causes a permanent difference if the name does not end up matching the module ID exactly.

E.g.

image
cube2222 commented 2 years ago

Hey @SizZiKe! This should now be properly handled.