output directory-id { value = aws_directory_service_directory.connector.id } output security-group-id { value = aws_directory_service_directory.connector.security_group_id } output customer-dns-ip { value = flatten(aws_directory_service_directory.connector.connect_settings[*].customer_dns_ips) }