Lightlines
By hashicorp

run-acceptance-tests

hashicorp3.5k installs

Check Terraform providers against real infrastructure.

What it does

Guides running and diagnosing Terraform provider acceptance tests against real infrastructure.

When to use it

Use when asked to run acceptance tests or TestAcc tests, resolve missing environment variables, or investigate failing or suspiciously passing tests.

How to use it

Give it an acceptance test name in the project; it runs the test and reports results, with procedures for diagnosing failures or checking suspicious passes.

What you provide

  • an acceptance test name
  • An existing project

Good to know

  • cannot be undone: provider's live API

Latest review

What you need · 3

Requires Go to run the acceptance tests with go test.

Requires credentials configured for a test account on the provider's live API; confirm the account before proceeding.

Requires configured credentials for the provider's test account. Their source depends on the provider; inspect its Configure method and test setup to determine resolution and any required environment variables.


Access · 1

This skill

provider's live API

Write

Creates real infrastructure (irreversible)