Skip to content

Commit 5583566

Browse files
committed
Make code_owner_approval_required ForceNew
This seems like the simplest approach to fixing the test failure, since for this resource type an update and a create are essentially the same thing.
1 parent ab0e4e1 commit 5583566

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/resource_gitlab_branch_protection.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ func resourceGitlabBranchProtection() *schema.Resource {
4343
"code_owner_approval_required": {
4444
Type: schema.TypeBool,
4545
Optional: true,
46+
ForceNew: true,
4647
},
4748
},
4849
}

0 commit comments

Comments
 (0)