Fork the repo, work on an issue
make docker-testacc
Run a single test with terraform debug enabled:
env TF_LOG=DEBUG make docker-testacc TESTARGS='-run ^TestAccResourceDataStreamLifecycle$$'
A way to forward debug logs to a file:
env TF_ACC_LOG_PATH=/tmp/tf.log TF_ACC_LOG=DEBUG TF_LOG=DEBUG make docker-testacc
Update documentation templates in ./templates
directory and re-generate docs via:
make docs-generate
List of previous commits is a good example of what should be included in the changelog.
Format the code before pushing:
make fmt
Check if the linting:
make lint
Create a PR and check acceptance test matrix is green.
TBD
Releasing is implemented in CI pipeline.
To release a new provider version:
- Create PR which
- updates Makefile with the new provider VERSION (e.g.
VERSION ?= 0.11.13
); - updates CHANGELOG.md with the list of changes being released. Example.
- Once the PR merged, the release CI pipeline can be started by pushing a new release tag to
main
branch.