Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a reference to provider configuration in Test Integrated Modules #814

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions website/docs/cloud-docs/registry/test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ To add environment variables to your module's tests:
1. Provide a **Key** and **Value** for your environment variable, and if you want to protect the variable's value, click the **Sensitive** checkbox. `TF_VAR_x` variables of a string type that are not defined in a config must be wrapped in double-quotes.
1. Click **Add variable** to save it.

## Provider configurations

You can define test-specific provider configurations that HCP Terraform will use for testing. For guidance on how to implement a test-specific provider configuration, please refer to the [Terraform Test documentation](/terraform/language/tests#providers).

<!-- BEGIN: TFC:only name:generate-module-tests -->

## Generated module tests
Expand Down