Files
threshold/enos/modules/aws_windows_client/outputs.tf
T
dillanb-hashi 76fccfb912 test(e2e): Created module for windows client (#5942)
e2e(test): Created module and scenario for windows client for rdp testing
2025-08-06 09:55:15 -07:00

49 lines
1.2 KiB
Terraform

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
// This is the public DNS address of our instance
output "public_dns_address" {
value = aws_instance.client.public_dns
}
output "public_ip" {
value = aws_instance.client.public_ip
}
output "public_ip_list" {
value = [aws_instance.client.public_ip]
}
output "private_ip" {
value = aws_instance.client.private_ip
}
output "admin_username" {
description = "The username of the administrator account"
value = "Administrator"
}
// This is the decrypted administrator password for the EC2 instance
output "admin_password" {
description = "The password for the administrator account"
value = nonsensitive(local.admin_password)
}
output "test_username" {
description = "The username of the test account"
value = local.test_username
}
output "test_password" {
description = "The password of the test account"
value = nonsensitive(local.test_password)
}
output "test_dir" {
description = "The directory where the test files are stored"
value = local.test_dir
}
output "ssh_private_key" {
description = "Private key to ssh into the windows client"
value = abspath(local_sensitive_file.private_key.filename)
}