From f09146168a32fab65784fff46702b609f51556f4 Mon Sep 17 00:00:00 2001 From: sagilaufer1992 Date: Sun, 10 Nov 2024 15:15:28 +0200 Subject: [PATCH] Chore: missing permissions for custom role (#973) * Update resource_custom_role.go missing: MOVE/IMPORT_ENVIRONMENTS * Update resource_custom_role.go it failed to compile, seems like a missing comma --- env0/resource_custom_role.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/env0/resource_custom_role.go b/env0/resource_custom_role.go index 7270e7af..dc766c20 100644 --- a/env0/resource_custom_role.go +++ b/env0/resource_custom_role.go @@ -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, ", "))