#spacelift (2024-02)
2024-02-14
![Jeremy G (Cloud Posse) avatar](https://avatars.slack-edge.com/2020-07-04/1229022582372_22757dbc9ef96d371614_72.jpg)
Jeremy G (Cloud Posse)
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
2
![Erik Osterman (Cloud Posse) avatar](https://secure.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-72.png)
Erik Osterman (Cloud Posse)
(this is specifically for users of the Cloud Posse terraform modules for controling spacelift)