Skip to content

Commit

Permalink
Chore: missing permissions for custom role (#973)
Browse files Browse the repository at this point in the history
* Update resource_custom_role.go

missing:
MOVE/IMPORT_ENVIRONMENTS

* Update resource_custom_role.go

it failed to compile, seems like a missing comma
  • Loading branch information
sagilaufer1992 authored Nov 10, 2024
1 parent 2b9ac7b commit f091461
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions env0/resource_custom_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ func resourceCustomRole() *schema.Resource {
"ASSIGN_ROLE_ON_ENVIRONMENT",
"EDIT_ALLOW_REMOTE_APPLY",
"EDIT_VCS_ENVIRONMENT",
"MOVE_ENVIRONMENTS",
"IMPORT_ENVIRONMENTS",
}

allowedCustomRoleTypesStr := fmt.Sprintf("(allowed values: %s)", strings.Join(allowedCustomRoleTypes, ", "))
Expand Down

0 comments on commit f091461

Please sign in to comment.