Skip to content
H

hashicorp/refactor-module

Transform monolithic Terraform configurations into reusable modules

Open source

Star
#12747in AI Skills
0In stores

Description

refactor-module is an agent skill from HashiCorp that turns a monolithic Terraform configuration into reusable modules, following HashiCorp'…

Highlights

  • Splits configurations into reusable modules
  • Interface design and encapsulation
  • Generates moved blocks for state migration
  • Typed variable validation
  • Works with local, private and public registries

Ratings & Reviews

No ratings yet

Be the first to rate hashicorp/refactor-module.

People also visit

R

refactor-module

Transform monolithic Terraform configurations into reusable

AI Skills
Get
T

terraform-module-generation

Terraform module generation and refactoring skills including module design

AI Skills
Get
T

terraform-style-guide

Generate Terraform HCL code following HashiCorp's official style conventions

AI Skills
Get
T

terraform-skill

by Anton Babenko

AI Skills
Get
T

terraform-engineer

Implementing infrastructure as code with Terraform across AWS, Azure, or GCP

AI Skills
Get
T

terraform-code-generation

Terraform code generation skills including HCL generation, style guides

AI Skills
Get

hashicorp/refactor-module FAQ

What does refactor-module do?

Turns a monolithic Terraform configuration into reusable modules, handling interfaces, state and documentation.

How do I install it?

Run npx skills add https://github.com/hashicorp/agent-skills --skill refactor-module.

Does it move state safely?

The page says it generates moved blocks to relocate state without destroying and recreating resources.

Which registries are supported?

Local, private and public module registries, according to the page.

Who publishes it?

HashiCorp, in its agent-skills repository on GitHub. The page labels it official.

What are the best hashicorp/refactor-module alternatives?

Popular alternatives to hashicorp/refactor-module include refactor-module, terraform-module-generation and terraform-style-guide. See all hashicorp/refactor-module alternatives

Developer Stuff

Badges