chore(e2e): Add module for rdp member server (#5976)
* chore(e2e): Add module for rdp member server * CR: Update Domain mode to be compatible with newer versions of Windows * CR: Add comments to ports * CR: Simplify adding computer to the domain
This commit is contained in:
1 parent
91050dcd46
commit
71fc7a5ec4
12 files changed
+652
-156
No files matched your search
@@ -0,0 +1,48 @@
|
||||
# Copyright (c) HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
output "public_dns_address" {
|
||||
value = aws_instance.domain_controller.public_dns
|
||||
}
|
||||
|
||||
output "public_ip" {
|
||||
value = aws_instance.domain_controller.public_ip
|
||||
}
|
||||
|
||||
output "private_ip" {
|
||||
value = aws_instance.domain_controller.private_ip
|
||||
}
|
||||
|
||||
output "ipv6" {
|
||||
value = flatten(aws_instance.domain_controller.ipv6_addresses)
|
||||
}
|
||||
|
||||
output "admin_username" {
|
||||
description = "The username of the administrator account"
|
||||
value = "Administrator"
|
||||
}
|
||||
|
||||
output "password" {
|
||||
description = "This is the decrypted administrator password for the EC2 instance"
|
||||
value = nonsensitive(local.password)
|
||||
}
|
||||
|
||||
output "ssh_private_key" {
|
||||
description = "Private key to ssh into the windows client"
|
||||
value = abspath(local_sensitive_file.private_key.filename)
|
||||
}
|
||||
|
||||
output "security_group_id_list" {
|
||||
description = "List of security group IDs attached to the RDP server"
|
||||
value = aws_instance.domain_controller.vpc_security_group_ids
|
||||
}
|
||||
|
||||
output "keypair_name" {
|
||||
description = "The name of the keypair used for the instance"
|
||||
value = aws_key_pair.rdp-key.key_name
|
||||
}
|
||||
|
||||
output "domain_name" {
|
||||
description = "The domain name the instance is joined to"
|
||||
value = var.active_directory_domain
|
||||
}
|
||||
Reference in new issue
Block a user