You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/enos/modules/aws_windows_client/outputs.tf

49 lines
1.3 KiB

# 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(rsadecrypt(aws_instance.client.password_data, tls_private_key.rsa-4096-key.private_key_pem))
}
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)
}