Skip to content

tfexec: Add provider reattach support to all terraform workspace subcommands#556

Merged
SarahFrench merged 2 commits intomainfrom
av/reattach-for-workspaces
Jan 21, 2026
Merged

tfexec: Add provider reattach support to all terraform workspace subcommands#556
SarahFrench merged 2 commits intomainfrom
av/reattach-for-workspaces

Conversation

@austinvalle
Copy link
Member

Related Issue

N/A

Description

This PR adds provider reattach support for all of the terraform workspace subcommands.

The main user of reattach configuration for this Go module is terraform-plugin-testing, which we'll eventually look to expand to support testing pluggable state storage. It's likely we'll look to the terraform workspace subcommands for help writing acceptance tests, so this PR gets ahead of that support.

The only subcommand I think we likely don't need in terraform-plugin-testing is terraform workspace show, but I just added the support for consistency and because I was in the neighborhood 😆 . If we'd prefer I undo that until we have a real use-case, just LMK and I'll update the PR.

I see #555 is WIP, so I just updated the changelog as if it's being prepped for release, although there isn't any urgency ATM 😃

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

No

@austinvalle austinvalle force-pushed the av/reattach-for-workspaces branch from 34cefc2 to 66fa386 Compare January 16, 2026 22:19
@SarahFrench SarahFrench self-assigned this Jan 20, 2026
Copy link
Member

@SarahFrench SarahFrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @austinvalle, I've taken a look through these changes and they all look good to accept & merge.

@SarahFrench SarahFrench merged commit 660ef65 into main Jan 21, 2026
107 checks passed
@SarahFrench SarahFrench deleted the av/reattach-for-workspaces branch January 21, 2026 11:59
@SarahFrench SarahFrench changed the title tfexec: Add provided reattach support to all terraform workspace subcommands tfexec: Add provider reattach support to all terraform workspace subcommands Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants