UPD: removed enable_sso and alias to prevent conflicts
This commit is contained in:
parent
15942ee76c
commit
aaad6ac8cc
@ -1,8 +1,7 @@
|
||||
|
||||
resource "aws_directory_service_directory" "connector" {
|
||||
name = var.adc-domainname
|
||||
alias = var.adc-alias # required by enable-sso
|
||||
enable_sso = var.adc-enable-sso
|
||||
enable_sso = false # enabling this results in error when terraform is ran in member accounts
|
||||
password = var.adc-service-account-password
|
||||
size = var.adc-size
|
||||
type = "ADConnector"
|
||||
|
@ -6,6 +6,6 @@ output security-group-id {
|
||||
value = aws_directory_service_directory.connector.security_group_id
|
||||
}
|
||||
|
||||
output connect-settings {
|
||||
value = aws_directory_service_directory.connector.connect_settings
|
||||
output customer-dns-ip {
|
||||
value = aws_directory_service_directory.connector.connect_settings[*].customer_dns_ips
|
||||
}
|
@ -5,6 +5,4 @@ variable "adc-dns-ips" {}
|
||||
variable "adc-service-account-username" {}
|
||||
variable "adc-subnet-ids" {}
|
||||
variable "adc-vpc-id" {}
|
||||
variable "adc-alias" {}
|
||||
variable "adc-enable-sso" {}
|
||||
variable "default-tags" {}
|
Loading…
Reference in New Issue
Block a user