google_netapp_active_directory

ActiveDirectory is the public representation of the active directory config.

To get more information about activeDirectory, see:

Example Usage - Netapp Active Directory Full

resource "google_netapp_active_directory" "test_active_directory_full" {
    name = "test-active-directory-full"
    location = "us-central1"
    domain = "ad.internal"
    dns = "172.30.64.3"
    net_bios_prefix = "smbserver"
    username = "user"
    password = "pass"
    aes_encryption         = false
    backup_operators       = ["test1", "test2"]
    description            = "ActiveDirectory is the public representation of the active directory config."
    encrypt_dc_connections = false
    kdc_hostname           = "hostname"
    kdc_ip                 = "10.10.0.11"
    labels                 = { 
        "foo": "bar"
    }
    ldap_signing           = false
    nfs_users_with_ldap    = false
    organizational_unit    = "CN=Computers"
    security_operators     = ["test1", "test2"]
    site                   = "test-site"
  }

Argument Reference

The following arguments are supported:


Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

activeDirectory can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import activeDirectory using one of the formats above. For example:

import {
  id = "projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}"
  to = google_netapp_active_directory.default
}

When using the terraform import command, activeDirectory can be imported using one of the formats above. For example:

$ terraform import google_netapp_active_directory.default projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}
$ terraform import google_netapp_active_directory.default {{project}}/{{location}}/{{name}}
$ terraform import google_netapp_active_directory.default {{location}}/{{name}}

User Project Overrides

This resource supports User Project Overrides.