-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft AD Size ignored #2192
Comments
I couldn't find in the AWS docs but there is only one size (Large/Enterprise) for type = MicrosoftAD. If you try to create MicrosoftAD in the console, you will notice there are no options for size. |
I think it's something of a new feature. You can see the option in the API docs. Edit: Does look to be hard-coded to Large Edit 2: Rather, the |
There is an option for Standard and Enterprise from the console. If you create a standard in the console and import it to terraform it reads as Small. I think it’s also an issue in the Go AWS API.
…Sent from my iPad
On 8 Nov 2017, at 21:54, Edward Bartholomew ***@***.***> wrote:
I couldn't find in the AWS docs but there is only one size (Large/Enterprise) for type = MicrosoftAD. If you try to create MicrosoftAD in the console, you will notice there are no options for size.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I just tried and didn’t have any option called Size like there is for SimpleAD. There is a distinction between Microsoft AD Standard Edition and Microsoft AD Enterprise Edition which I don’t remember from a couple months ago. Thanks for the link lorengordon. Seems size terminology could also refer to edition for type=MicrosoftAD going forward? |
@edwardbartholomew That's what it seems to me:
|
I think this issue is two-fold... |
@philharle it looks to me like it's present in the API: http://docs.aws.amazon.com/directoryservice/latest/devguide/API_CreateMicrosoftAD.html#DirectoryService-CreateMicrosoftAD-request-Size. Where are you looking that makes it seem otherwise? |
@lorengordon Apologies my bad, I had incorrectly assumed Terraform had a dependency on the AWS SDK. What I should be saying is that AWS haven't added the size parameter into their own Go SDK. It exists for SimpleAD here: |
@philharle you are quite right. I believe the SDK code is auto-generated from the model, https://github.com/aws/aws-sdk-go/blob/master/models/apis/ds/2015-04-16/api-2.json#L901-L915. That will need to be updated with a Size parameter before terraform can address this issue. |
I didn't see an issue on the aws-sdk-go project, so I created one: aws/aws-sdk-go#1664 |
Seems like the SDK just added this functionality in v1.12.58: https://github.com/aws/aws-sdk-go/releases/tag/v1.12.58 |
Ah sorry, edition (standard/enterprise) was added in v1.12.58. Created an issue for that specifically: #2912 |
Implementing |
This has been merged into master and will be released in v1.10.0 of the AWS provider, likely the end of this week. |
This has been released in version 1.10.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Hi there,
Terraform Version
Terraform v0.10.7
Affected Resource(s)
aws_directory_service_directory
Terraform Configuration Files
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
terraform apply
The text was updated successfully, but these errors were encountered: