Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stacks: ensure that all components in state are referenced in configuration #35677

Merged
merged 2 commits into from
Sep 7, 2024

Conversation

liamcervante
Copy link
Member

This PR adds a check to the root Stack object such that it will add diagnostics if it discovers any components within state that are not referenced by a component or a removed block. This ensures that users don't think they are deleting resources by removing a component block and forgetting to add a removed block.

@liamcervante liamcervante requested a review from a team September 5, 2024 14:09
Base automatically changed from liamcervante/stacks/removed-functionality to main September 7, 2024 12:36
@liamcervante liamcervante merged commit 6f9df8f into main Sep 7, 2024
6 checks passed
@liamcervante liamcervante deleted the liamcervante/stacks/removed-state-validation branch September 7, 2024 12:54
Copy link
Contributor

github-actions bot commented Sep 7, 2024

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

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 Oct 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants