fix: destroy the resource on drift#1351
Conversation
|
👋 Hey Friends, this pull request has been automatically marked as |
|
hopefully will figure out how to test this locally one day 😢 |
|
@yordis have you had a peek at our CONTRIBUTING.md yet? There's some environment configuration you need but testing changes locally is very doable. |
2fdc3cf to
2d80855
Compare
|
@kfcampbell definitely helped a ton, my breakpoint is being hit now. Now trying to figure out how we suppose to setup the test case for it! |
752ab9b to
04c83c0
Compare
|
I am trying to figure out what function would allow me to check if a new |
|
The thing is working! Just the testing environment is tricky! I am unsure how to create a scenario where the external resource change and whatnot ... 😢 2023-08-10_19-27-09.mp4 |
|
@yordis can you build a version of the provider locally and use it to manually test? |
|
@kfcampbell good idea! |
|
Hey I gave it a try to test it by building the local plugin, but I couldn't figure out how to make it work: I did the following: cat ~/.terraformrc
provider_installation {
dev_overrides {
"integrations/github" = "/Users/ubi/Developer/github.com/integrations/terraform-provider-github/bin/"
}
direct {}
}No luck, I tested manually as I showed before, so maybe try on your end if you do not mind. |
|
I tried that guideline multiple times, and it didn't work. As shown in the video, I tested by running the code in the test environment. I would appreciate it if someone took the lead in helping to do an integration test out of the generated binary. |
|
👋 Hey Friends, this pull request has been automatically marked as |
|
keep |
|
Hi @yordis We're running into the same problem just with regular action secrets. I can see your approach is to add a new |
|
Why wasn't this merged? |
|
👋 Hey Friends, this pull request has been automatically marked as |
|
this is funny, because we can't |
|
Thanks for updating the documentation in this PR 👍 |
closes #749
Based on the request from @jcudit #749 (comment) related to #749 (comment)