Skip to content

Conversation

@jbardin
Copy link
Member

@jbardin jbardin commented Mar 19, 2025

The graph expansion code always wants a valid, non-empty graph now, but the ephemeral apply nodes could expand into zero instances and result in an empty graph. Make sure there is at least a root node to satisfy the graph validator during the apply walk.

Fixes #36714

Target Release

1.11.x

The graph expansion code always wants a valid, non-empty graph now, but
the ephemeral apply nodes could expand into zero instances and result in
an empty graph. Make sure there is at least a root node to satisfy the
graph validator during the apply walk.
@jbardin jbardin added the 1.11-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Mar 19, 2025
@jbardin jbardin marked this pull request as ready for review March 19, 2025 13:14
@jbardin jbardin requested a review from a team as a code owner March 19, 2025 13:14
@jbardin jbardin merged commit 6776664 into main Mar 19, 2025
14 checks passed
@jbardin jbardin deleted the jbardin/zero-instance-ephem branch March 19, 2025 13:26
@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

1.11-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error for ephemeral resource in module with count = 0

2 participants