-
Notifications
You must be signed in to change notification settings - Fork 399
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] Extra checks for resources in statefile not found (#188) #305
Conversation
* Adds checks when resources found in the state file are not found in the Snowflake environment. The resources are then removed from the statefile and a warning is produced.
Great!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this, it makes sense. Would it be possible to write some tests for this? I know it might seem a bit laborious, but making changes to this project without writing tests has been biting us pretty hard.
@ryanking if you could give me some guidance on how to build those tests, I would be glad to write them. |
@edwinbdr I opened a PR to your fork with the tests. Can you merge it and add it to this PR? |
…s#339) This PR is a redo of Snowflake-Labs#305, since it was missing tests and some resources were not working. Fixes Snowflake-Labs#188 Co-authored-by: Edwin De Jong <edwin.de.jong@bigdatarepublic.nl> Co-authored-by: Ryan King <rking@chanzuckerberg.com>
Hi @lgwacker can you fix the conflicts and I will take a look at this again? |
…s#339) This PR is a redo of Snowflake-Labs#305, since it was missing tests and some resources were not working. Fixes Snowflake-Labs#188 Co-authored-by: Edwin De Jong <edwin.de.jong@bigdatarepublic.nl> Co-authored-by: Ryan King <rking@chanzuckerberg.com>
…s#339) This PR is a redo of Snowflake-Labs#305, since it was missing tests and some resources were not working. Fixes Snowflake-Labs#188 Co-authored-by: Edwin De Jong <edwin.de.jong@bigdatarepublic.nl> Co-authored-by: Ryan King <rking@chanzuckerberg.com>
Test Plan
References