schema-coverage

Installation
SKILL.md

Schema Coverage (Terraform resource vs acceptance tests)

Goal

Given a Terraform resource, compare its schema attributes/blocks to what the acceptance tests configure and assert, then highlight opportunities to improve coverage.

Report findings in this order:

  1. Attributes with no coverage
  2. Attributes with poor coverage

Inputs (infer if not provided)

  • Resource name (e.g. elasticstack_elasticsearch_security_api_key)
  • Or the schema file / acceptance test file path
  • Or the Go package directory containing the resource and *_acc_test.go
Installs
1
GitHub Stars
209
First Seen
12 days ago
schema-coverage — elastic/terraform-provider-elasticstack