Skip to content

Commit

Permalink
Remove PI from role binding resource
Browse files Browse the repository at this point in the history
  • Loading branch information
wsquan171 committed Nov 8, 2023
1 parent fdc4b0d commit 9663095
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions nsxt/resource_nsxt_policy_role_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ import (
nsxModel "github.com/vmware/vsphere-automation-sdk-go/services/nsxt/model"
)

// Only support local user at the moment
var roleBindingUserTypes = [](string){
nsxModel.RoleBinding_TYPE_LOCAL_USER,
nsxModel.RoleBinding_TYPE_REMOTE_USER,
nsxModel.RoleBinding_TYPE_REMOTE_GROUP,
nsxModel.RoleBinding_TYPE_PRINCIPAL_IDENTITY,
}

var roleBindingIdentitySourceTypes = [](string){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ The following arguments are supported:
* `remote_user` - This is a user which is external to NSX.
* `remote_group` - This is a group of users which is external to NSX.
* `local_user` - This is a user local to NSX. These are linux users. Note: Role bindings for local users are owned by NSX. Creation and deletion is not allowed for local users' binding. For updates, import existing bindings first.
* `principal_identity` - This is a principal identity user.
* `identity_source_type` - (Optional) Identity source type. Applicable only to `remote_user` and `remote_group` user types. Valid options are: `VIDM`, `LDAP`, `OIDC`, `CSP`. Defaults to `VIDM` when applicable.
* `identity_source_id` - (Optional) The ID of the external identity source that holds the referenced external entity. Currently, only external `LDAP` and `OIDC` servers are allowed.
* `roles_for_path` - (Required) A list of The roles that are associated with the user, limiting them to a path. In case the path is '/', the roles apply everywhere.
Expand Down

0 comments on commit 9663095

Please sign in to comment.