#spacelift - February 2024

spaceliftArchived
1 messages
February 2024
Jeremy G (Cloud Posse)
Jeremy G (Cloud Posse)over 2 years ago
Note to Spacelift users. Cloud Posse distributed Spacelift configuration scripts that included the line
ln -sfTv /bin/terraform /usr/bin/terraform

Due to changes in Debian and Ubuntu (specifically, replacing the /bin directory with a symlink to /usr/bin, this line should be changed to
[ /bin -ef /usr/bin ] || ln -sfTv /bin/terraform /usr/bin/terraform

Otherwise you will find that the terraform command cannot be found, and you might get an error like
Using Terraform: 
+ which terraform
[01HPMBE7B9D1XJBM622MGSGM46] Unexpected exit code when initializing workspace: 1