terraform command to check your script code example
Example: enable tab completion in terraform
#Enable Auto-Complete when using bash or sh
terraform -install-autocomplete
#Enable Auto-Complete when using bash or sh
terraform -install-autocomplete