Snippets in vscode for all resources and data sources, as yanked directly from provider docs.
A vscode extension that yanks resource and data source documentation from Terraform provider repos and transforms them into structured VS Code snippets. Over 9000 snippets included.
The existing Terraform snippet extensions offer a set of user-defined snippets. Some of them are good but many lack the context to really be useful and only about 1/3 of the resources and data sources in the public providers are covered. Terraform documentation is largely good and continues to evolve alongside the providers so it makes sense to build a snippet extension that pulls snippets directly from documentation code examples. This makes for a scalable way to continuously provide up to date resource and data source snippets. The examples in documentation often give excellent context which is important for understanding how infrastructure primitives fit together.
The following commands are used to build the snippets file:
nvm use lts/dubnium
npm install ---dev
npm run build:snippets
data
or resource
in each snippet prefix.Report issues/questions/feature requests on in the issues section.
Full contributing guidelines are covered here.
The changelog captures all important release notes.
Created and maintained by Brandon Bjelland - [email protected].
MIT Licensed. See LICENSE for full details.