Skip to content

Support multiple products and only copy/compile files for those products#28058

Merged
modular-magician merged 1 commit into
hashicorp:mainfrom
modular-magician:downstream-pr-8365d3b4742cddd91231c398d3b1f98aff8820be
Jun 26, 2026
Merged

Support multiple products and only copy/compile files for those products#28058
modular-magician merged 1 commit into
hashicorp:mainfrom
modular-magician:downstream-pr-8365d3b4742cddd91231c398d3b1f98aff8820be

Conversation

@modular-magician

Copy link
Copy Markdown
Collaborator

This lets us optimize various workflows by reducing the time we spend with copy/compile to only the products we care about.

As a side effect, this also does the same thing as GoogleCloudPlatform/magic-modules#17971 - removing beta-only products from the GA provider. While we could keep the old behavior for cases where the whole provider is generated, I think the implementation makes more sense if we're consistent.

Time for compute GA: 7.5s with main, 5.3s with this branch
Time for alloydb GA: 5s with main, 2.5s with this branch
Time for full GA: 15s-16.4s with main, 13.6-14.8s with this branch - maybe a slight improvement, due to parallelization

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.


Derived from GoogleCloudPlatform/magic-modules#18089

…cts (hashicorp#18089)

[upstream:8365d3b4742cddd91231c398d3b1f98aff8820be]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 415faff into hashicorp:main Jun 26, 2026
3 checks passed
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.

1 participant