test(e2e): Provide public ca key to UI tests (#4478)

This commit is contained in:
Michael Li authored and GitHub committed 2024-03-04 15:24:39 -05:00
1 parent 72d4f1142b
commit ad6893e039
3 files changed
+20 -2

No files matched your search

+12
View File
@@ -63,6 +63,16 @@ variable "target_port" {
type = string
default = ""
}
variable "target_ca_key" {
description = "CA Private Key (base64 encoded)"
type = string
default = ""
}
variable "target_ca_key_public" {
description = "CA Public Key (base64 encoded)"
type = string
default = ""
}
variable "vault_addr" {
description = "External network address of Vault. Will be converted to a URL below"
type = string
@@ -161,6 +171,8 @@ resource "enos_local_exec" "run_e2e_test" {
E2E_TARGET_PORT = var.target_port
E2E_SSH_USER = var.target_user
E2E_SSH_KEY_PATH = local.aws_ssh_private_key_path
E2E_SSH_CA_KEY = var.target_ca_key
E2E_SSH_CA_KEY_PUBLIC = var.target_ca_key_public
VAULT_ADDR = local.vault_addr
VAULT_TOKEN = var.vault_root_token
E2E_VAULT_ADDR = local.vault_addr_internal