Skip to content

Jingwei-MS/terraform-azure-keyvault

Repository files navigation

Microsoft Verified Terraform Module

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:

  1. Use this template to create your repository.
  2. Read Onboard 1ES hosted Github Runners Pool through Azure Portal, install 1ES Resource Management on your repo.
  3. Add a Github Environment named acctests in your repo, setup Required Reviewers.
  4. Update acc-test.yaml, modify runs-on: [self-hosted, 1ES.Pool=<YOUR_REPO_NAME>] with your 1es runners' pool name (basically it's your repo's name).
  5. Write Terraform code in a new branch.
  6. Run docker run --rm -v ${pwd}:/src -w /src mcr.microsoft.com/azterraform:latest make pre-commit to format the code.
  7. Run docker run --rm -v $(pwd):/src -w /src mcr.microsoft.com/azterraform:latest make pr-check to run the check in local.
  8. 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.
  9. Merge pull request.
  10. Enjoy it!

Requirements

Name Version
terraform >= 1.1
null >= 3.1

Providers

Name Version
null >= 3.1

Modules

No modules.

Resources

Name Type
null_resource.nop resource

Inputs

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

Outputs

Name Description
echo_text The text to echo

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published