Circular dependency in tfe_workspace
using execution_mode=agent and tfe_agent_pool_allowed_workspaces
#1111
Labels
tfe_workspace
using execution_mode=agent and tfe_agent_pool_allowed_workspaces
#1111
Terraform Cloud/Enterprise version
Terraform Cloud
Terraform version
Terraform Configuration Files
Debug Output
Expected Behavior
The workspace should be created with the intended agent pool as its execution mode.
Actual Behavior
Workspace cannot be created and configured accordingly. Agent pool id is required if execution_mode is set to
agent
.Additional Context
Seen during new workspace creation.
The desire in this configuration it to create and control which workspaces have access to which agent pools.
Possible solution: allow
tfe_workspace
to configure allowed workspaces for the target agent pool id if the caller has appropriate permissions.The text was updated successfully, but these errors were encountered: