FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

aws_directory_service_directory

Provides a Simple or Managed Microsoft directory in AWS Directory Service.

Example Usage

resource "aws_directory_service_directory" "bar" {
  name = "corp.notexample.com"
  password = "SuperSecretPassw0rd"
  size = "Small"

  vpc_settings {
    vpc_id = "${aws_vpc.main.id}"
    subnet_ids = ["${aws_subnet.foo.id}", "${aws_subnet.bar.id}"]
  }
}

resource "aws_vpc" "main" {
  cidr_block = "10.0.0.0/16"
}

resource "aws_subnet" "foo" {
  vpc_id = "${aws_vpc.main.id}"
  availability_zone = "us-west-2a"
  cidr_block = "10.0.1.0/24"
}
resource "aws_subnet" "bar" {
  vpc_id = "${aws_vpc.main.id}"
  availability_zone = "us-west-2b"
  cidr_block = "10.0.2.0/24"
}

Argument Reference

The following arguments are supported:

vpc_settings supports the following:

connect_settings supports the following:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io