Skip to content

Commit 9f907c7

Browse files
authored
Mark identity_source_id as Computed on policy role binding (#2302)
NSX can populate this field even when it's left unset in config, causing spurious drift. Mark it Computed so Terraform accepts the server-assigned value. Partial port of #1959 ("Revise LDAP tests to pass with OpenLDAP server"): only this production schema fix is applicable here, the rest of that PR revises LDAP acceptance tests to target OpenLDAP infrastructure specifics unrelated to this branch.
1 parent ca52510 commit 9f907c7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nsxt/resource_nsxt_policy_role_binding.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ func resourceNsxtPolicyUserManagementRoleBinding() *schema.Resource {
6666
Type: schema.TypeString,
6767
Description: "ID of the external identity source",
6868
Optional: true,
69+
Computed: true,
6970
},
7071
"identity_source_type": {
7172
Type: schema.TypeString,

0 commit comments

Comments
 (0)