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: preserve the required components and component inputs in the state #35650

Closed
wants to merge 2 commits into from

Conversation

liamcervante
Copy link
Member

This PR adds the required components and component inputs to the state preserved by stacks for the components.

This will be used by the removed blocks to work out the correct order of operations during apply operations, and to set the input variables for terraform core during destroy operations.

Normally, these values are computed during the planning operation but for removed blocks we lose any references and connections as a result of the inputs no longer being provided. To counter this, we preserve the values from the last apply operation which can then be used to remove everything.

@liamcervante liamcervante force-pushed the liamcervante/stacks/component-inputs branch from 0e01427 to 7d11b01 Compare August 29, 2024 10:13
@liamcervante liamcervante removed the request for review from a team August 29, 2024 11:07
@liamcervante liamcervante marked this pull request as draft August 29, 2024 11:07
Base automatically changed from liamcervante/stacks/required-components to main September 5, 2024 09:21
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