|
|
|
|
@ -26,7 +26,7 @@ output "admin_username" {
|
|
|
|
|
// 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)
|
|
|
|
|
value = nonsensitive(rsadecrypt(aws_instance.client.password_data, tls_private_key.rsa-4096-key.private_key_pem))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
output "test_username" {
|
|
|
|
|
@ -35,7 +35,7 @@ output "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))
|
|
|
|
|
value = nonsensitive(local.test_password)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
output "test_dir" {
|
|
|
|
|
|