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
@@ -245,7 +245,6 @@ ${var.domain_admin_password}
|
||||
}
|
||||
|
||||
locals {
|
||||
password = rsadecrypt(aws_instance.member_server.password_data, file(var.domain_controller_private_key))
|
||||
private_key = abspath(var.domain_controller_private_key)
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,8 @@ output "admin_username" {
|
||||
|
||||
output "password" {
|
||||
description = "This is the decrypted administrator password for the EC2 instance"
|
||||
value = local.password
|
||||
value = nonsensitive(rsadecrypt(aws_instance.member_server.password_data, file(var.domain_controller_private_key)))
|
||||
|
||||
}
|
||||
|
||||
output "domain_hostname" {
|
||||
|
||||
Reference in new issue
Block a user