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

Fix configuration resources not reseting ID when they are manually deleted #667

Merged

Conversation

alexhung
Copy link
Member

@alexhung alexhung commented Feb 27, 2023

Fixes #665

Instead of returning an error to Terraform and causes the process to quit, we reset the resource's ID so that Terraform knows it needs to re-create the resource.

@alexhung alexhung marked this pull request as ready for review February 27, 2023 17:44
Copy link
Contributor

@Turhsus Turhsus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexhung alexhung merged commit ad91c2c into master Feb 27, 2023
@alexhung alexhung deleted the GH-665-fix-configuration-resource-incorrect-state-refresh branch February 27, 2023 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants