test(e2e): add GCP dynamic host catalog e2e tests (#5294)

* test(e2e): add GCP infra resources and tests for enos testing

- add 1 new `gcp_target` module that creates a GCP VM instance with labels for filtering
- add GCP dynamic host catalog e2e tests
This commit is contained in:
Elim Tsiagbey authored and GitHub committed 2024-12-17 14:06:14 -05:00
1 parent 862a30c389
commit a4f2a704fd
16 files changed
+992 -6

No files matched your search

+53
View File
@@ -200,3 +200,56 @@ variable "hcp_boundary_cluster_id" {
// If using HCP int, ensure that the cluster id starts with "int-"
// Example: "int-19283a-123123-..."
}
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
}