error when performing a refresh after a scm_address_object
is deleted
#22
Labels
bug
Something isn't working
scm_address_object
is deleted
#22
Describe the bug
When attempting to refresh after an scm_address_object has been deleted, I receive an error.
Expected behavior
I expect the refresh to detect that the scm_address_object is no longer present and remove it from state.
Current behavior
The refresh returns an error and fails.
Possible solution
I believe this is actually a bug with the API response. It should be responding with a
404 not found
but is responding back with a400 bad request
which leads the read to handle the error different that what would be expected as you can see here.Steps to reproduce
terraform apply
terraform refresh
Screenshots
Context
This appears to also be the case with most other resources as well.
Your Environment
The text was updated successfully, but these errors were encountered: