terraform-autocomplete
terraform-autocomplete copied to clipboard
Basic autocomplete/hinting for terraform in Visual Studio Code
Terraform Autocomplete
WARNING! This is very beta, things might not work as expected so don't rely solely on this extension as a complete reference to terraform parameters and exported arguments. PRs welcome!
This extension provides basic autocomplete on AWS resources. Scraping functionality can be found at https://github.com/erd0s/terraform-scrape.
Requirements
Doesn't include any highlighting functionality or linting, will go well with Mikael Olenfalk's Terraform extension (but not required).
What Works?
Hinting on aws resource types
Hinting on resource arguments
Hinting on variables ${<hints here>.<more hints>.<wow! hints!>}
Go to definition for AWS resources
What Doesn't Work?
- Any other providers than AWS (could be added easily by adding to the aws-resources.ts file).
- Exporting attributes across files.
- Autocomplete on nested varibles, eg.
aws_s3_bucket_notification.somename.queue.<can't complete past here>
.
Known Issues
I found that having the advanced terraform snippets extension enabled at the same time as this obscured the hints in some instances.
Release Notes
See the changelog for more info.