Extension which provides the user with pre-build snippets of commonly used code for Pulumi. The extension is build for automating work process and propagate best practices for Pulumi scripts to improve quality of modern IaC scripts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
The extension provides extension for the most common Pulumi code. The snippets create new code when a user types a short code for the code that needs to be generated. Currently, the extension is limited to use for HitHub as it is in early development phase.
exiting snippets:
GitHub
pugri: pulumi GitHub Repository template with imports
pugr: only pulumi GitHub Repository template
pugrci: add github.RepositoryCollaborator template with imports
pugrc: only add github.RepositoryCollaborator template
pugrbpi: pulumi github.BranchProtection template with imports
pugrbp: only add github.BranchProtection template
pugu: only pulumi github.getUser template
pugui: pulumi github.getUser template with imports
pugbi: pulumi add Github Branch with necessary imports
Docker
pudci: pulumi add docker image
pudcii: pulumi add docker image with necessary imports
pudcc: pulumi add snippet for docker container.
pudcci: pulumi add snippet for docker container with imports.