From 4e78c681958a3519e2109f763a9c1ee49cd63051 Mon Sep 17 00:00:00 2001 From: dillanb-hashi Date: Thu, 6 Nov 2025 09:28:44 -0700 Subject: [PATCH] chore(rdp): add client ssh key to enos variable output (#6224) --- enos/enos-scenario-e2e-aws-rdp-base.hcl | 1 + enos/modules/test_e2e/main.tf | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/enos/enos-scenario-e2e-aws-rdp-base.hcl b/enos/enos-scenario-e2e-aws-rdp-base.hcl index e39888aae..9a31be0ba 100644 --- a/enos/enos-scenario-e2e-aws-rdp-base.hcl +++ b/enos/enos-scenario-e2e-aws-rdp-base.hcl @@ -320,6 +320,7 @@ scenario "e2e_aws_rdp_base" { client_username = step.create_windows_client.test_username client_password = step.create_windows_client.test_password client_test_dir = step.create_windows_client.test_dir + client_ssh_key = step.create_windows_client.ssh_private_key vault_addr_public = step.create_vault_cluster.instance_public_ips_ipv4[0] vault_addr_private = step.create_vault_cluster.instance_private_ips[0] vault_root_token = step.create_vault_cluster.vault_root_token diff --git a/enos/modules/test_e2e/main.tf b/enos/modules/test_e2e/main.tf index 29d1c4409..013c09ad0 100644 --- a/enos/modules/test_e2e/main.tf +++ b/enos/modules/test_e2e/main.tf @@ -226,7 +226,11 @@ variable "client_test_dir" { type = string default = "" } - +variable "client_ssh_key" { + description = "Path to the ssh key for the windows client" + type = string + default = "" +} variable "ip_version" { description = "ip version used to setup boundary instance, should be 4, 6, or dual" type = string @@ -291,6 +295,7 @@ resource "enos_local_exec" "run_e2e_test" { E2E_CLIENT_PASSWORD = var.client_password E2E_CLIENT_TEST_DIR = var.client_test_dir E2E_CLIENT_VERSION = var.client_version + E2E_CLIENT_SSH_KEY = var.client_ssh_key } inline = var.debug_no_run ? [""] : [