Files
threshold/enos/modules/aws_rdp_member_server/outputs.tf
T
429247f407 [COMPLIANCE] Update Copyright Headers (#6282)
* [COMPLIANCE] Update Copyright and License Headers

* chore: make gen to generate files with copyright headers

* chore: update missed copyright headers

---------

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Justin Nguyen <justin.nguyen@hashicorp.com>
2026-01-28 11:05:07 -06:00

35 lines
990 B
Terraform

# Copyright IBM Corp. 2020, 2025
# SPDX-License-Identifier: BUSL-1.1
output "public_dns_address" {
description = "This is the public DNS address of our instance"
value = aws_instance.member_server.public_dns
}
output "public_ip" {
value = aws_instance.member_server.public_ip
}
output "private_ip" {
value = aws_instance.member_server.private_ip
}
output "ipv6" {
value = flatten(aws_instance.member_server.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(rsadecrypt(data.aws_instance.instance_password.password_data, file(var.domain_controller_private_key)))
}
output "domain_hostname" {
description = "The hostname of the member server"
value = var.server_version != "2016" ? trimspace(enos_local_exec.get_hostname[0].stdout) : ""
}