Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 10, 2025

Backport

This PR is auto-generated from #37888 to be assessed for backporting due to the inclusion of the label 1.14-backport.

I manually cherrypicked 2c075b9

The below text is copied from the body of the original PR.


This change implements the missing component source resolution case in the stack configuration loader, enabling Terraform Stacks to properly handle component registry sources from HCP Terraform and other component registries.

The implementation mirrors the existing module registry resolution workflow, where component sources are first resolved to their versioned form using the source bundle's component metadata, then converted to final source addresses that can be used to locate the actual component code. This completes the integration between the terraform-registry-address component parsing capabilities and the go-slug sourcebundle component resolution APIs.

Fixes #

Target Release

1.15.x

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

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

Overview of commits

@dsa0x dsa0x force-pushed the backport/jpogran/add_registry_component_source_support/correctly-allowed-anchovy branch from 022cecd to b863abf Compare December 10, 2025 14:32
@github-actions
Copy link
Contributor Author

Changelog Warning

Currently this PR would target a v1.15 release. Please add a changelog entry for in the .changes/v1.15 folder, or discuss which release you'd like to target with your reviewer. If you believe this change does not need a changelog entry, please add the 'no-changelog-needed' label.

jpogran-hashi and others added 8 commits December 10, 2025 15:48
This change implements the missing component source resolution case in the stack configuration loader, enabling Terraform Stacks to properly handle component registry sources from HCP Terraform and other component registries.

The implementation mirrors the existing module registry resolution workflow, where component sources are first resolved to their versioned form using the source bundle's component metadata, then converted to final source addresses that can be used to locate the actual component code. This completes the integration between the terraform-registry-address component parsing capabilities and the go-slug sourcebundle component resolution APIs.
@dsa0x dsa0x force-pushed the backport/jpogran/add_registry_component_source_support/correctly-allowed-anchovy branch from b863abf to 0aa05e9 Compare December 10, 2025 14:55
@dsa0x dsa0x force-pushed the backport/jpogran/add_registry_component_source_support/correctly-allowed-anchovy branch from 39fbcfe to 0b5c8ba Compare December 10, 2025 15:26
@dsa0x dsa0x force-pushed the backport/jpogran/add_registry_component_source_support/correctly-allowed-anchovy branch from 0b5c8ba to 24c9c92 Compare December 10, 2025 15:29
@dsa0x dsa0x marked this pull request as ready for review December 10, 2025 15:47
@dsa0x dsa0x requested review from a team as code owners December 10, 2025 15:47
@dsa0x dsa0x merged commit eb62e3e into v1.14 Dec 11, 2025
14 checks passed
@dsa0x dsa0x deleted the backport/jpogran/add_registry_component_source_support/correctly-allowed-anchovy branch December 11, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants