terraform-provider-aws: Microsoft AD Size ignored

Hi there,

Terraform Version

Terraform v0.10.7

Affected Resource(s)

aws_directory_service_directory

Terraform Configuration Files

resource "aws_directory_service_directory" "active-directory" {
  name     = "${var.name}"
  password = "${var.password}"
  type     = "MicrosoftAD"
  size     = "Small"

  vpc_settings {
    vpc_id     = "${var.vpc_id}"
    subnet_ids = ["${var.subnet1}", "${var.subnet2}"]
  }
}

Expected Behavior

I would expect a Microsoft AD to be created on AWS with a Size of Standard

Actual Behavior

Microsoft AD is created with a Size of Enterprise

Steps to Reproduce

  1. terraform apply

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (12 by maintainers)

Most upvoted comments

Seems size terminology could also refer to edition for type=MicrosoftAD going forward?

@edwardbartholomew That’s what it seems to me:

  • type=MicrosoftAD and size=Small would be Standard Edition.
  • type=MicrosoftAD and size=Large would be Enterprise Edition.

I didn’t see an issue on the aws-sdk-go project, so I created one: https://github.com/aws/aws-sdk-go/issues/1664