1 2 3
#compdef terraform autoload -U +X bashcompinit && bashcompinit complete -o nospace -C /usr/bin/terraform terraform