test(e2e): Add worker ip to aws tests (#4153)
This commit is contained in:
1 parent
f36b3d4723
commit
b696f1653d
2 files changed
+6
No files matched your search
@@ -135,6 +135,10 @@ variable "worker_tag_egress" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
variable "worker_address" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
variable "test_timeout" {
|
||||
type = string
|
||||
default = "15m"
|
||||
@@ -179,6 +183,7 @@ resource "enos_local_exec" "run_e2e_test" {
|
||||
E2E_AWS_BUCKET_NAME = var.aws_bucket_name
|
||||
E2E_WORKER_TAG_INGRESS = var.worker_tag_ingress
|
||||
E2E_WORKER_TAG_EGRESS = var.worker_tag_egress
|
||||
E2E_WORKER_ADDRESS = var.worker_address
|
||||
}
|
||||
|
||||
inline = var.debug_no_run ? [""] : [
|
||||
|
||||
@@ -19,6 +19,7 @@ type config struct {
|
||||
TargetPort string `envconfig:"E2E_TARGET_PORT" required:"true"` // e.g. "22"
|
||||
TargetAddress string `envconfig:"E2E_TARGET_ADDRESS" required:"true"` // e.g. "192.168.0.1"
|
||||
WorkerTagEgress string `envconfig:"E2E_WORKER_TAG_EGRESS" required:"true"` // e.g. "egress"
|
||||
WorkerAddress string `envconfig:"E2E_WORKER_ADDRESS" required:"true"` // e.g. ""192.168.0.2"
|
||||
}
|
||||
|
||||
func loadTestConfig() (*config, error) {
|
||||
|
||||
Reference in new issue
Block a user