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
│ Error: Invalid Configuration: Cannot have multiple roles with the same workspace id
│
│ with astro_team.admin_team,
│ on astro.tf line 27, in resource "astro_team" "admin_team":
│ 27: resource "astro_team" "admin_team" {
│
│ Please provide a unique workspace id for each role. The following workspace ids are duplicated: []
So the error message sounds reasonable, but it is not true in my situation. The same I have observed for WORKSPACE_VIEWER as well.
Steps To Reproduce
Try to create team as shown above.
Acceptance Criteria
ability to assign one team as WORKSPACE_OWNER to more than one workspace
Anything else?
No response
The text was updated successfully, but these errors were encountered:
I think errors comes from this lines of code, but I have no idea how it it possible:
duplicateWorkspaceIds := common.GetDuplicateWorkspaceIds(workspaceRoles)
if len(duplicateWorkspaceIds) > 0 {
resp.Diagnostics.AddError(
"Invalid Configuration: Cannot have multiple roles with the same workspace id",
fmt.Sprintf("Please provide a unique workspace id for each role. The following workspace ids are duplicated: %v", duplicateWorkspaceIds),
)
return
}
Description
We cannot create team with e.g. WORKSPACE_OWNER of 2 different workspaces. Example:
Because terraform raises following error:
So the error message sounds reasonable, but it is not true in my situation. The same I have observed for WORKSPACE_VIEWER as well.
Steps To Reproduce
Try to create team as shown above.
Acceptance Criteria
Anything else?
No response
The text was updated successfully, but these errors were encountered: