terraform-provider-env0
terraform-provider-env0 copied to clipboard
removing `agent_project_assignment` does not auto re-assign to the default agent
Describe the bug
when using agent_project_assignment to assign a project to a specific agent, and then removing the agent_project_assignment resource, the project is not properly re-assigned to the default agent.
To Reproduce
- have org with at least 2 agents.
- use
agent_project_assignmentto assign project to 2nd agent (non-default) - remove
agent_project_assignment - see project assignment - still stuck on 2nd agent.
Expected behavior
- after removing
agent_project_assignmentproject should use default agent.
Provider Version 1.19.7
Screenshots
Additional context