Heads up / FYI - We’ve used a docker container for...
# contributing-to-airbyte
j
Heads up / FYI - We’ve used a docker container for terraform in the past, for purposes of controlling the version of terraform that runs. There is a wrapper for this which gives better flexibility while maintaining version management, called
tfenv
. On mac, you can get it with
brew install tfenv
- it looks in the current directory for a
.terraform-version
file and automatically pulls the right version when you run
terraform plan
etc. This way the command line stays standard, and versions are per-directory, which gives us the ability to support a different version for a contributed connector if necessary. I’ve used tfenv in my previous work. It elegantly solves the versioning issue while enabling flexibility and growth. I’m picking up @s’s PR stubbing out terraform for ssh tunnel work, and we’ll be switching that to recommend the use of tfenv rather than the docker container, for version consistency. Feedback welcome if you see potential issues with this.