Bash autocompletion script for the terraform command
ShellGPL-2.0
Bash completion for the terraform command (v0.11.7)
This is not yet complete, but it can autocomplete most of the stuff, it will work with older versions of terraform as well for, at least, the main terraform commands.