2023-02-02 17:15:17 -08:00
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
2022-07-28 14:48:51 -06:00
# Infrastructure
variable "aws_ssh_keypair_name" {
description = "Name of the AWS keypair Enos will use to connect"
type = string
}
variable "aws_ssh_private_key_path" {
description = "Path to the SSH key Enos will use to connect"
type = string
}
# Tagging
variable "environment" {
description = "A environment name to use for resource tagging"
type = string
default = "dev"
}
variable "enos_user" {
description = "The user running the tests, this is by default your OS user or Github User"
type = string
}
# Test configs
2023-03-22 10:47:17 -04:00
variable "boundary_docker_image_file" {
description = "Path to Boundary Docker image"
type = string
default = ""
}
2022-07-28 14:48:51 -06:00
variable "worker_instance_type" {
description = "EC2 Instance type"
type = string
default = "t3a.small"
}
variable "worker_count" {
description = "How many worker instances to create"
type = number
default = 1
}
variable "controller_instance_type" {
description = "EC2 Instance type"
type = string
default = "t3a.small"
}
variable "controller_count" {
description = "How many controller instances to create"
type = number
default = 1
}
variable "alb_listener_api_port" {
description = "What port the ALB will listen on to proxy controller API requests"
type = string
default = 9200
}
2022-09-22 13:29:25 -04:00
variable "project_name" {
description = "The description of the project"
type = string
default = "boundary-enos-integration"
}
variable "tags" {
description = "Tags that will be applied to infrastructure resources that support tagging"
type = map ( string )
default = null
}
2022-07-28 14:48:51 -06:00
variable "target_instance_type" {
description = "Instance type for test target nodes"
type = string
default = "t2.micro"
}
variable "target_count" {
description = "How many target instances to create"
type = number
default = 1
}
variable "local_boundary_dir" {
description = "Path to local boundary executable"
type = string
2024-07-08 10:18:30 -04:00
default = null
2022-07-28 14:48:51 -06:00
}
2023-07-31 09:10:21 -04:00
variable "local_boundary_src_dir" {
description = "Path to local boundary source code directory"
type = string
2024-07-08 10:18:30 -04:00
default = null
2023-07-31 09:10:21 -04:00
}
variable "local_boundary_ui_src_dir" {
description = "Path to local boundary-ui source code directory"
2023-03-02 14:32:53 -05:00
type = string
default = null
}
2022-07-28 14:48:51 -06:00
variable "crt_bundle_path" {
description = "Path to CRT generated boundary bundle"
type = string
default = null
}
2025-08-06 09:55:15 -07:00
variable crt_bundle_path_windows {
description = "Path to CRT generated boundary bundle for windows"
type = string
default = null
}
2022-07-28 14:48:51 -06:00
variable "boundary_install_dir" {
description = "Path boundary binaries will be installed to on remote instances"
type = string
default = "/opt/boundary/bin"
}
2022-09-16 11:45:55 -04:00
variable "vault_instance_type" {
description = "Instance type for test target nodes"
type = string
default = "t3a.small"
}
2022-09-23 14:21:00 -04:00
2022-12-19 14:29:25 -05:00
variable "vault_version" {
description = "Version of Vault to use"
type = string
2025-10-22 10:18:32 -04:00
default = "1.17.6"
2022-12-19 14:29:25 -05:00
}
2022-09-23 14:21:00 -04:00
variable "test_email" {
description = "Email address for setting up AWS IAM user (module: iam_setup)"
type = string
default = null
}
2022-12-19 12:35:10 -07:00
variable "local_build_target" {
description = "Which make build target(s) to use for the local builder variant"
type = string
default = "build-ui build"
}
2023-03-02 12:37:12 -05:00
variable "e2e_debug_no_run" {
description = "If set, this will prevent test suites from running"
type = bool
default = false
}
2023-04-19 17:03:38 -04:00
variable "docker_mirror" {
2023-07-31 09:10:21 -04:00
description = "URL to the docker repository"
2023-04-19 17:03:38 -04:00
type = string
default = "docker.mirror.hashicorp.services"
}
2023-04-27 14:59:46 -04:00
variable "boundary_binary_name" {
description = "Boundary binary name"
type = string
default = "boundary"
}
variable "boundary_edition" {
description = "Edition of boundary build"
type = string
default = "oss"
}
variable "boundary_license_path" {
description = "Boundary license path"
type = string
default = null
}
2023-05-09 14:55:19 -04:00
2025-05-07 12:47:09 -07:00
variable "boundary_license" {
description = "Boundary license"
type = string
default = null
}
2025-01-21 10:37:04 -05:00
variable "vault_license_path" {
description = "Vault license path"
type = string
default = null
}
2023-05-09 14:55:19 -04:00
variable "go_test_timeout" {
description = "Timeout for go test used in e2e tests"
type = string
default = "10m"
}
2023-06-21 15:45:22 -04:00
variable "aws_region" {
description = "AWS region where the resources will be created"
type = string
2024-05-28 09:46:01 -04:00
default = "us-east-1"
2023-06-21 15:45:22 -04:00
}
2023-07-31 09:10:21 -04:00
variable "go_version" {
description = "Version of Golang used by the application under test"
type = string
default = ""
}
2024-07-23 10:59:39 -04:00
variable "hcp_boundary_cluster_id" {
description = "ID of the Boundary cluster in HCP"
type = string
default = ""
// If using HCP int , ensure that the cluster id starts with "int-"
// Example : "int-19283a-123123-..."
}
2024-12-17 14:06:14 -05:00
variable "gcp_target_instance_type" {
description = "Instance type for test target nodes"
type = string
default = "e2-micro"
}
variable "gcp_region" {
description = "GCP region where the resources will be created"
type = string
default = "us-central1"
}
variable "gcp_zone" {
description = "GCP zone where the resources will be created"
type = string
default = "us-central1-a"
}
variable "gcp_project_id" {
description = "GCP project where the resources will be created"
type = string
sensitive = true
default = ""
}
variable "gcp_private_key_path" {
description = "Path to the GCP private key"
type = string
sensitive = true
default = null
}
variable "gcp_private_key" {
description = "GCP private key"
type = string
sensitive = true
default = null
}
variable "gcp_private_key_id" {
description = "GCP private key ID"
type = string
sensitive = true
default = null
}
variable "gcp_client_email" {
description = "GCP client email"
type = string
sensitive = true
default = null
2025-07-18 17:05:16 -04:00
}
variable "windows_instance_type" {
description = "Instance type for Windows client nodes"
type = string
default = "m7i-flex.xlarge"
}
2025-10-16 15:09:45 -07:00
2025-10-17 07:44:12 -07:00
variable "ui_build_override" {
description = "Override for build for UI automation"
type = string
2025-10-17 13:49:36 -07:00
default = ""
2025-10-17 07:44:12 -07:00
}
2025-10-16 15:09:45 -07:00
variable "github_token" {
2025-10-22 13:01:46 -04:00
description = "github token to the hashicorp org. needed to run RDP automated tests (requires contents (read-only) and actions (read-only) with fine-grained tokens or repo access using classic tokens)"
2025-10-16 15:09:45 -07:00
type = string
2025-10-20 15:14:27 -07:00
default = ""
2025-10-16 15:09:45 -07:00
}