terraform-provider-env0 icon indicating copy to clipboard operation
terraform-provider-env0 copied to clipboard

removing `agent_project_assignment` does not auto re-assign to the default agent

Open away168 opened this issue 1 year ago • 0 comments

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_assignment to 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_assignment project should use default agent.

Provider Version 1.19.7

Screenshots CleanShot 2024-07-30 at 09 16 59

Additional context

away168 avatar Jul 30 '24 16:07 away168