run-acceptance-tests
Automates the execution and troubleshooting of Terraform provider acceptance tests, including verbose logging and workspace persistence.
Install
mkdir -p .claude/skills/run-acceptance-tests && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2587" && unzip -o skill.zip -d .claude/skills/run-acceptance-tests && rm skill.zipInstalls to .claude/skills/run-acceptance-tests
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.Key capabilities
- →Run specific Terraform acceptance tests
- →Enable debug-level logging for tests
- →Persist Terraform workspace during testing
- →Flip test results to verify failure scenarios
How it works
It executes Go test functions prefixed with TestAcc using specific environment variables like TF_ACC=1 and provides options for verbose or debug-level output.
Inputs & outputs
When to use run-acceptance-tests
- →Running a specific Terraform acceptance test
- →Debugging failing infrastructure tests
- →Validating provider changes with verbose logging
- →Verifying test behavior by flipping pass/fail status
About run-acceptance-tests
Runs Terraform acceptance tests prefixed with 'TestAcc'. It provides instructions for enabling debug-level logging, workspace persistence, and testing test failure scenarios.
Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.
When not to use it
- →Running non-Terraform Go tests
- →Executing tests without the TestAcc prefix
Prerequisites
Limitations
- →Requires specific environment variables for certain providers
- →Tests may produce false negatives
How it compares
It provides a structured workflow for debugging and validating Terraform provider acceptance tests compared to standard go test execution.
Compared to similar skills
run-acceptance-tests side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| run-acceptance-tests (this skill) | 2 | 6mo | No flags | Intermediate |
| aws-solution-architect | 20 | 3mo | Review | Advanced |
| terraform-module-library | 7 | 4mo | No flags | Advanced |
| azure-deployment-preflight | 7 | 6mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by hashicorp
View all by hashicorp →You might also like
aws-solution-architect
alirezarezvani
Design AWS architectures for startups using serverless patterns and IaC templates. Use when asked to design serverless architecture, create CloudFormation templates, optimize AWS costs, set up CI/CD pipelines, or migrate to AWS. Covers Lambda, API Gateway, DynamoDB, ECS, Aurora, and cost optimization.
terraform-module-library
wshobson
Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.
azure-deployment-preflight
github
Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Use this skill before any deployment to Azure to preview changes, identify potential issues, and ensure the deployment will succeed. Activate when users mention deploying to Azure, validating Bicep files, checking deployment permissions, previewing infrastructure changes, running what-if, or preparing for azd provision.
terraform-azurerm-set-diff-analyzer
github
Analyze Terraform plan JSON output for AzureRM Provider to distinguish between false-positive diffs (order-only changes in Set-type attributes) and actual resource changes. Use when reviewing terraform plan output for Azure resources like Application Gateway, Load Balancer, Firewall, Front Door, NSG, and other resources with Set-type attributes that cause spurious diffs due to internal ordering changes.
terraform-skill
sickn33
Terraform infrastructure as code best practices
aws-advisor
tech-leads-club
Expert AWS Cloud Advisor for architecture design, security review, and implementation guidance. Leverages AWS MCP tools for accurate, documentation-backed answers. Use when user asks about AWS architecture, security, service selection, migrations, troubleshooting, or learning AWS. Triggers on AWS, Lambda, S3, EC2, ECS, EKS, DynamoDB, RDS, CloudFormation, CDK, Terraform, Serverless, SAM, IAM, VPC, API Gateway, or any AWS service.