Closed wallies closed 5 years ago
I thought we made the decision to use the docker image that @tayzlor had come up with combined with the bash scripts
As it is today, TF-0.6.16 is useless (see https://github.com/hashicorp/terraform/issues/6998), the binaries for 6.16 have been compiled using dynamic linking.
We have 3 options, to build our own TF version, to downgrade TF to 0.6.15
Ideally, we want to upgrade TF but to do so, we have to update all the tf files that are using the old format (view this guide)
The third option is to use different docker images (ansible, terraform, ruby...) so, each step can be to execute a bunch of docker images and mount kubeform
project on them.
Sadly, there's no low-hanging fruit here :cry:
Given than any choice requires a reasonable effort, upgrading terraform should be the way to go. I've done some work on this already a while ago https://github.com/Capgemini/kubeform/pull/86/files
Some thoughts here: There are three different approaches we can follow here.
The first one still relies on the user installing the right version an dependencies is not really cross platform unless we make sure we stick to POSIX standards The last one requires more effort may be the way to go in the long term The docker image is my preference at the moment it would allows us to handle all the dependencies (with the exception of docker itself) in one place and it's transparent to the user.