Due to unstable and unpredicted nature of unofficial providers, the result can be vary
- clone the desired provider repo to GOPATH
- copy generate-schema folder(can be located at the plugin's repo) with the template generate-schema.go(credit goes to intellij-hcl )
- replace
<url-to-provider>
with go path to the provider, check main.go of the provider, if you are unsure, replace<provider>
with provider name,<version>
with the version that the provider currently on, and lastly<plugin-path>
is the full path to plugin - go to vim-terraform-completion and run
ruby version_dissect.rb
, checkprovider_json/<provider>
to ensure the completion is generated - add
<provider>=<version>
to the repo's .tfcompleterc or project's .tfcompleterc