Skip to content

[WIP] Module Code Ephemeral Migrator - #74

Open
drewmullen wants to merge 4 commits into
hashicorp:mainfrom
drewmullen:ephemeral-migrator
Open

[WIP] Module Code Ephemeral Migrator#74
drewmullen wants to merge 4 commits into
hashicorp:mainfrom
drewmullen:ephemeral-migrator

Conversation

@drewmullen

@drewmullen drewmullen commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Modules that contain secret-ful resources (those that generate and store secrets in state) that have been deployed prior to ephemerals release are a pain to migrate. In order for organizations to benefit from ephemerals they must provide a route for new deployments of their module without breaking old deployments.

A more thorough description of the problem can be found (here)

This skill should be run by module developers to analyze and appropriately upgrade their module code. Once complete they can publish a new major version of their module. As part of the skill execution it generates a customized, tailored migration guide / skill for the module's consumers. Make consumers aware of the new major version, provide them the generated SKILL and they can easily and safely upgrade their root to use the latest version.

Opinion: this skill directs the agent to create a new branch for the module changes and creates a PR. This allows for a summary of the changes, reasons why, etc.

@drewmullen
drewmullen requested a review from a team as a code owner June 24, 2026 16:45
@leefowlercu leefowlercu self-assigned this Jun 30, 2026
@drewmullen

Copy link
Copy Markdown
Contributor Author

Feedback from customers:

  • Move the variable write functionality to the 1st step in the process. Most of the teams managing variables are platform teams
  • Can consider using a provider set to implement the new variable
  • Last mile user experience should be as simple as a version bump (ideally)

@drewmullen drewmullen changed the title Module Code Ephemeral Migrator [WIP] Module Code Ephemeral Migrator Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants