-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from NetApp/25-new-resource-name-servicesldap
25 new resource name servicesldap
- Loading branch information
Showing
14 changed files
with
778 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "netapp-ontap_name_services_ldap_resource Resource - terraform-provider-netapp-ontap" | ||
subcategory: "name-services" | ||
description: |- | ||
Name Services LDAP resource | ||
--- | ||
|
||
# Resource name services LDAP | ||
|
||
Create/Modify/Delete an LDAP configuration for an SVM | ||
|
||
## Supported Platforms | ||
* On-perm ONTAP system 9.6 or higher | ||
|
||
## Important notes | ||
* Each SVM can have one LDAP configuration. | ||
* The LDAP servers and Active Directory domain are mutually exclusive fields. These fields cannot be empty. At any point in time, either the LDAP servers or Active Directory domain must be populated. | ||
* LDAP configuration with Active Directory domain cannot be created on an admin SVM. | ||
* IPv6 must be enabled if IPv6 family addresses are specified. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "netapp-ontap_name_services_ldap_resource" "name_services_ldap_example1" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
svm_name = "testsvm1" | ||
servers = ["2.4.6.9", "1.6.1.8"] | ||
skip_config_validation = true | ||
} | ||
resource "netapp-ontap_name_services_ldap_resource" "name_services_ldap_examp2" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster4" | ||
svm_name = "testsvm2" | ||
servers = ["ldap1.example.company.com", "ldap2.example.company.com"] | ||
query_timeout = 5 | ||
skip_config_validation = true | ||
} | ||
``` | ||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cx_profile_name` (String) Connection profile name | ||
- `svm_name` (String) NameServicesLDAP svm name | ||
|
||
### Optional | ||
|
||
- `ad_domain` (String) Specifies the name of the Active Directory domain used to discover LDAP servers for use by this client | ||
- `base_dn` (String) Specifies the default base DN for all searches | ||
- `base_scope` (String) Specifies the default search scope for LDAP queries | ||
- `bind_as_cifs_server` (Boolean) Specifies whether or not CIFS server's credentials are used to bind to the LDAP server | ||
- `bind_dn` (String) Specifies the user that binds to the LDAP servers | ||
- `bind_password` (String, Sensitive) Specifies the bind password for the LDAP servers | ||
- `ldaps_enabled` (Boolean) Specifies whether or not LDAPS is enabled | ||
- `min_bind_level` (String) The minimum bind authentication level | ||
- `port` (Number) The port used to connect to the LDAP Servers | ||
- `preferred_ad_servers` (Set of String) This parameter specifies a list of LDAP servers preferred over discovered servers | ||
- `query_timeout` (Number) Specifies the timeout for LDAP queries | ||
- `referral_enabled` (Boolean) Specifies whether or not LDAP referral is enabled | ||
- `schema` (String) The name of the schema template used by the SVM | ||
- `servers` (Set of String) List of LDAP servers used for this client configuration | ||
- `session_security` (String) Specifies the level of security to be used for LDAP communications | ||
- `skip_config_validation` (Boolean) Specifies whether or not to skip the validation of the LDAP configuration. Only support ONTAP 9.9.1 or highter. | ||
- `use_start_tls` (Boolean) Specifies whether or not to use Start TLS over LDAP connections | ||
|
||
### Read-Only | ||
|
||
- `id` (String) NameServicesLDAP ID | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../provider/provider.tf |
8 changes: 8 additions & 0 deletions
8
examples/resources/netapp-ontap_name_services_ldap/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resource "netapp-ontap_name_services_ldap_resource" "name_services_ldap" { | ||
# required to know which system to interface with | ||
cx_profile_name = "cluster1" | ||
svm_name = "svm5" | ||
servers = ["1.2.3.4", "5.6.7.8"] | ||
query_timeout = 5 | ||
skip_config_validation = true | ||
} |
1 change: 1 addition & 0 deletions
1
examples/resources/netapp-ontap_name_services_ldap/terraform.tfvars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../provider/terraform.tfvars |
1 change: 1 addition & 0 deletions
1
examples/resources/netapp-ontap_name_services_ldap/variables.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../provider/variables.tf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.