test(e2e): Add a test for a single-hop worker (#3690)

* refact(e2e): Add env for workers

* test(e2e): Add test for single-hop worker

* fixup! refact(e2e): Add env for workers

* fixup! test(e2e): Add test for single-hop worker

* fixup! test(e2e): Add test for single-hop worker

* fixup! test(e2e): Add test for single-hop worker

* fixup! test(e2e): Add test for single-hop worker
This commit is contained in:
Michael Li authored and GitHub committed 2023-09-11 14:25:32 -04:00
1 parent 5f66f2fa8e
commit ff34cb629e
20 files changed
+573 -89

No files matched your search

+6 -2
View File
@@ -179,6 +179,10 @@ scenario "e2e_aws" {
}
}
locals {
egress_tag = "egress"
}
step "create_isolated_worker" {
module = module.worker
depends_on = [step.create_boundary_cluster]
@@ -194,7 +198,7 @@ scenario "e2e_aws" {
cluster_tag = step.create_boundary_cluster.cluster_tag
controller_addresses = step.create_boundary_cluster.public_controller_addresses
controller_sg_id = step.create_boundary_cluster.controller_aux_sg_id
worker_type_tags = ["worker_e2e_test"]
worker_type_tags = [local.egress_tag]
config_file_path = "templates/worker.hcl"
}
}
@@ -247,7 +251,7 @@ scenario "e2e_aws" {
aws_host_set_filter2 = step.create_tag2_inputs.tag_string
aws_host_set_ips2 = step.create_targets_with_tag2.target_ips
target_address = step.create_isolated_target.target_ips[0]
worker_tags = step.create_isolated_worker.worker_tags
worker_tag_egress = local.egress_tag
}
}