-
Notifications
You must be signed in to change notification settings - Fork 188
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi there! :) Recently my team was working on a project to build out a custom TF provider. We used a setup which included a dev container, Taskfile, and other toolings to help streamline the development experience and keep things consistent between contributors.
We would love to contribute the (generalized) template Taskfile.yml and/or devcontainer.json configuration, etc. to help others get started quickly on developing their own TF provider. For example, a typical workflow with this setup would look like this:
- Open the repo in VS Code inside the dev container, which will automatically install all the necessary tools and dependencies.
- Make changes to provider code.
- Run
task buildto build the provider binary using GoReleaser. - Run
task testto run unit/acceptance tests. - When testing an example Terraform configuration, run
task tfpto runterraform plan, andtask tfato runterraform applywith auto-approval. - If all of the testing results look good, run
task lintto check for linting errors or security concerns using the variety of linters set up through the dev container. - Run
task docsto automatically generate documentation for the provider usingtfplugindocs. - Commit to feature branch, and open PR.
I wanted to submit an issue here first to see if it was of interest before opening a PR or anything. Thanks!
zhuykovkb
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request