run-acceptance-tests

Executes and debugs Go-based Terraform acceptance tests with environment variables.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/kk0ga/terraform-aws-learning --skill run-acceptance-tests-kk0ga
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-acceptance-tests
Source: https://github.com/kk0ga/terraform-aws-learning/tree/main/.agents/skills/run-acceptance-tests
Command: npx skills add https://github.com/kk0ga/terraform-aws-learning --skill run-acceptance-tests-kk0ga

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the execution and troubleshooting of Terraform provider acceptance tests, which are often complex to run and debug due to their reliance on live infrastructure and specific environment configurations.

Core Features & Use Cases

  • Targeted Execution: Run specific acceptance tests by name to isolate functionality.
  • Diagnostic Workflow: Provides a structured, cumulative approach to debugging failures, including verbose logging and workspace persistence.
  • Test Validation: Includes a methodology for verifying test reliability through test flipping.

Quick Start

Use the run-acceptance-tests skill to execute the specific test function TestAccFeatureHappyPath with the required environment variables.

Frequently Asked Questions about run-acceptance-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute specific Terraform acceptance tests by name?

Yes, you can debug Terraform provider acceptance test failures through a structured diagnostic workflow. It provides incremental logging and workspace persistence to diagnose failures, helping you inspect intermediate states during live infrastructure validation.

What environment is required to run Go-based Terraform acceptance tests?

Running Go-based Terraform acceptance tests requires a configured Terraform provider development environment and Go. You must also set up specific environment variables to interact with target cloud APIs during live infrastructure testing.

How can I verify the reliability of failing Terraform acceptance tests?

Verify test reliability through test flipping, a methodology included in the diagnostic workflow. By toggling test expectations and observing results, you can validate provider resource behavior and confirm whether failures are consistent or intermittent.

What's the best way to isolate a single test function in a Terraform provider development workflow?

The best way to isolate a single test function is using targeted execution to run specific acceptance tests by name. This isolates functionality for the feature, such as TestAccFeatureHappyPath, while automatically managing the required cloud API environment variables.