rdp(test): Change password retrieval for race condition (#6327)
* rdp(test): Change password retrieval for race condition
This commit is contained in:
1 parent
4c9b0553f3
commit
ed1bfe4380
8 files changed
+6
-11
No files matched your search
@@ -24,7 +24,8 @@ output "admin_username" {
|
||||
|
||||
output "password" {
|
||||
description = "This is the decrypted administrator password for the EC2 instance"
|
||||
value = nonsensitive(local.password)
|
||||
value = nonsensitive(rsadecrypt(aws_instance.domain_controller.password_data, tls_private_key.rsa_4096_key.private_key_pem))
|
||||
|
||||
}
|
||||
|
||||
output "ssh_private_key" {
|
||||
|
||||
Reference in new issue
Block a user