You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the ENV0 module is created with terraform (exists in the state) and later is removed from UI or with API, terraform does not detect changes.
To Reproduce
Create ENV0 module with terraform and env0_module resource
Remove that module using ENV0 UI
Run terraform plan again, there will be no changes
Expected behavior
env0_module detects that the module was removed and will show the diff that the resource will be created again
Provider Version
1.24.2
Screenshots
Additional context
ENV0 provider uses this function to read the module from the ENV0 API. This will return the response even if the module was deleted, "isDeleted":true will be in the response JSON. IMHO that function should check if "isDeleted" is true or false in the response and return the module object when "isDeleted" is false
The text was updated successfully, but these errors were encountered:
Describe the bug
When the ENV0 module is created with terraform (exists in the state) and later is removed from UI or with API, terraform does not detect changes.
To Reproduce
Expected behavior
env0_module detects that the module was removed and will show the diff that the resource will be created again
Provider Version
1.24.2
Screenshots
Additional context
ENV0 provider uses this function to read the module from the ENV0 API. This will return the response even if the module was deleted,
"isDeleted":true
will be in the response JSON. IMHO that function should check if "isDeleted" is true or false in the response and return the module object when "isDeleted" is falseThe text was updated successfully, but these errors were encountered: