boundary icon indicating copy to clipboard operation
boundary copied to clipboard

test(e2e): Add resource IPs to output

Open moduli opened this issue 1 year ago • 0 comments

This PR updates enos scenarios to output IP addresses for the resources it creates. This only applies to AWS-based scenarios.

This PR also addresses a few issues related to multi-worker and multi-target configurations

  • Addresses an issue with multi-worker registration. Took a fix from here: https://github.com/hashicorp/terraform-enos-aws-boundary/pull/42
  • Modifies some scenarios to respect the target_count variable

Example:

❯ enos scenario output e2e_aws builder:local
Scenario: e2e_aws [builder:local] ✅
  target_ips = [
    "3.238.63.109",
    "3.80.33.188",
  ]
  test_results = ""
  worker_ips = [
    "3.231.55.31",
    "54.90.134.206",
  ]
  controller_ips = [
    "34.201.25.85",
    "3.88.140.74",
  ]

❯ ssh -i <key> [email protected]

https://hashicorp.atlassian.net/browse/ICU-14021 https://hashicorp.atlassian.net/browse/ICU-14022

moduli avatar Jun 27 '24 17:06 moduli