diff --git a/bitbucket/resource_branch_restriction.go b/bitbucket/resource_branch_restriction.go index 67fbf256..8fbb2ad3 100644 --- a/bitbucket/resource_branch_restriction.go +++ b/bitbucket/resource_branch_restriction.go @@ -72,22 +72,22 @@ func resourceBranchRestriction() *schema.Resource { Type: schema.TypeString, Required: true, ValidateFunc: validation.StringInSlice([]string{ - "require_tasks_to_be_completed", "allow_auto_merge_when_builds_pass", - "require_passing_builds_to_merge", - "force", - "require_all_dependencies_merged", - "require_commits_behind", - "restrict_merges", + "delete", "enforce_merge_checks", - "reset_pullrequest_changes_requested_on_change", - "require_no_changes_requested", - "smart_reset_pullrequest_approvals", + "force", "push", + "require_all_dependencies_merged", "require_approvals_to_merge", + "require_commits_behind", "require_default_reviewer_approvals_to_merge", + "require_no_changes_requested", + "require_passing_builds_to_merge", + "require_tasks_to_be_completed", "reset_pullrequest_approvals_on_change", - "delete", + "reset_pullrequest_changes_requested_on_change", + "restrict_merges", + "smart_reset_pullrequest_approvals", }, false), }, "branch_match_kind": {