Configures an FSx ONTAP storage virtual machine with a self-managed Microsoft Active Directory, including DNS settings and domain details.

Terraform Template

resource "aws_fsx_ontap_storage_virtual_machine" "test" {

  active_directory_configuration {
    netbios_name = "mysvm"

    self_managed_active_directory_configuration {
      dns_ips = ["10.0.0.111", "10.0.0.222"]
      domain_name = "corp.example.com"
      password = "avoid-plaintext-passwords"
      username = "Admin"
    }
  }
  file_system_id = "aws_fsx_ontap_file_system.test.id"
  name = "mysvm"
}