19 lines
561 B
HCL
19 lines
561 B
HCL
|
|
resource "aws_directory_service_directory" "connector" {
|
|
name = var.adc-domainname
|
|
alias = var.adc-alias # required by enable-sso
|
|
enable_sso = var.adc-enable-sso
|
|
password = var.adc-service-account-password
|
|
size = var.adc-size
|
|
type = "ADConnector"
|
|
description = "ADConnector"
|
|
tags = var.default-tags
|
|
|
|
connect_settings {
|
|
customer_dns_ips = var.adc-dns-ips
|
|
customer_username = var.adc-service-account-username
|
|
subnet_ids = var.adc-subnet-ids
|
|
vpc_id = var.adc-vpc-id
|
|
}
|
|
}
|