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

deferred actions: fix config generation when importing an unknown resource #35319

Merged

Conversation

liamcervante
Copy link
Member

This PR fixes config generation when importing a resource with an unknown ID.

Previously, we would return an error and then crash when generating config for a resource with an unknown import ID. This PR updates the planning process so it exits early with a dummy value instead of attempting to validate configuration that doesn't exist.

The config will be properly generated in a follow up plan when the import ID is known.

Base automatically changed from liamcervante/deferred-actions/unknown-import-id to main June 12, 2024 10:59
@liamcervante liamcervante force-pushed the liamcervante/deferred-actions/unknown-import-config-gen branch from 31485ff to fef3696 Compare June 12, 2024 11:16
@liamcervante liamcervante merged commit f715c6e into main Jun 12, 2024
6 checks passed
@liamcervante liamcervante deleted the liamcervante/deferred-actions/unknown-import-config-gen branch June 12, 2024 11:26
Copy link

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

Copy link

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 Jul 13, 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