provider-actions

Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecy…

hashicorp 752 ↓ 2.6k MPL-2.0 updated 1mo ago
Claude Code
View source ↗

What it does

  • Terraform Plugin Framework
  • Terraform Actions RFC
  • Using types.String instead of fwtypes.String in model structs
  • Using types.StringType instead of fwtypes.StringType in schema
  • Mixing framework types with plugin-framework types
  • Attributes with defaults must be both Optional: true and Computed: true
  • Don't mark action inputs as Computed unless they have defaults

Requirements & configuration

  • For operations that require waiting for completion:
  • terraformdata can serve as a no-op trigger resource for action tests that don't need real infrastructure. This is valuable for error-case and validation tests:

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy).

Source

Repository: https://github.com/hashicorp/agent-skills

provider-actions FAQ

What does the provider-actions skill do?

Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy). Terraform Plugin Framework Terraform Actions RFC

What does provider-actions require?

For operations that require waiting for completion: terraformdata can serve as a no-op trigger resource for action tests that don't need real infrastructure. This is valuable for error-case and validation tests:

How do I install provider-actions?

Run: npx -y skills add https://github.com/hashicorp/agent-skills --skill provider-actions --agent claude-code — the source lives at github.com/hashicorp/agent-skills.

Maintain provider-actions?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[provider-actions on getagentictools](https://getagentictools.com/skills/hashicorp-agent-skills-provider-actions?ref=badge)
npx agentictools info skills/hashicorp-agent-skills-provider-actions

The second line is the CLI lookup for this page — handy in READMEs and docs.