Skip to content

Commit a1e69fb

Browse files
authored
Merge pull request #1119 from vmware/fix-roles
Add ForceNew to nested role bindings spec
2 parents 738d9dd + 328154c commit a1e69fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nsxt/resource_nsxt_policy_role_binding.go

+2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func getRolesForPathSchema(forceNew bool) *schema.Schema {
9696
Type: schema.TypeString,
9797
Description: "Path of the entity in parent hierarchy.",
9898
Required: true,
99+
ForceNew: forceNew,
99100
},
100101
"roles": {
101102
Type: schema.TypeSet,
@@ -104,6 +105,7 @@ func getRolesForPathSchema(forceNew bool) *schema.Schema {
104105
Elem: &schema.Schema{
105106
Type: schema.TypeString,
106107
},
108+
ForceNew: forceNew,
107109
},
108110
},
109111
},

0 commit comments

Comments
 (0)