The Verified Terraform module is a template repository to help developers create their own Terraform Module.
As we've used Microsoft 1ES Runners Pool as our acceptance test runner, only Microsoft members could use this template for now.
Enjoy it by following steps:
- Use this template to create your repository.
- Read Onboard 1ES hosted Github Runners Pool through Azure Portal, install 1ES Resource Management on your repo.
- Add a Github Environment named acctests in your repo, setup Required Reviewers.
- Update
acc-test.yaml
, modifyruns-on: [self-hosted, 1ES.Pool=<YOUR_REPO_NAME>]
with your 1es runners' pool name (basically it's your repo's name). - Write Terraform code in a new branch.
- Run
docker run --rm -v ${pwd}:/src -w /src mcr.microsoft.com/azterraform:latest make pre-commit
to format the code. - Run
docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make pr-check
to run the check in local. - Create a pull request for the main branch.
- CI pr-check will be executed automatically.
- Once pr-check was passed, with manually approval, the e2e test and version upgrade test would be executed.
- Merge pull request.
- Enjoy it!
Name | Version |
---|---|
terraform | >= 1.1 |
null | >= 3.1 |
Name | Version |
---|---|
null | >= 3.1 |
No modules.
Name | Type |
---|---|
null_resource.nop | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
echo_text | The text to echo | string |
n/a | yes |
tracing_tags_enabled | Whether enable tracing tags that generated by BridgeCrew Yor. | bool |
false |
no |
tracing_tags_prefix | Default prefix for generated tracing tags | string |
"avm_" |
no |
Name | Description |
---|---|
echo_text | The text to echo |