|
|
|
|
@ -4,41 +4,45 @@
|
|
|
|
|
// Example variable inputs. Set these to valid values and uncomment them before
|
|
|
|
|
// running scenarios.
|
|
|
|
|
|
|
|
|
|
// Recommended to copy this file to enos-local.vars.hcl and modify the values
|
|
|
|
|
// there to avoid accidentally committing sensitive information.
|
|
|
|
|
|
|
|
|
|
// ==============================================================================
|
|
|
|
|
// REQUIRED VARIABLES
|
|
|
|
|
// ==============================================================================
|
|
|
|
|
// Build edition
|
|
|
|
|
// If using community edition, set to "oss"
|
|
|
|
|
// If using enterprise edition, set to "enterprise"
|
|
|
|
|
// boundary_edition = "oss"
|
|
|
|
|
|
|
|
|
|
// Prevents the end-to-end test suites from running when starting scenarios.
|
|
|
|
|
// Recommend setting this to true unless running in CI.
|
|
|
|
|
// e2e_debug_no_run = true
|
|
|
|
|
|
|
|
|
|
// The AWS region you want to create the resources in. Make sure you choose a
|
|
|
|
|
// region where you've got an AWS keypair.
|
|
|
|
|
// region where you've got an AWS keypair. Applies to AWS scenarios only.
|
|
|
|
|
// aws_region = "us-east-1"
|
|
|
|
|
|
|
|
|
|
// The name of the AWS keypair. You can look them up in the AWS console on a per-
|
|
|
|
|
// region basis. E.g. https://us-east-1.console.aws.amazon.com/ec2/v2/home?region=us-east-1#KeyPairs:
|
|
|
|
|
// The name of the AWS keypair in EC2 -> Key Pairs. Ensure this key pair is
|
|
|
|
|
// available in the selected region. Applies to AWS scenarios only.
|
|
|
|
|
// aws_ssh_keypair_name = "mykeypair"
|
|
|
|
|
|
|
|
|
|
// The path to the private key associated with your keypair.
|
|
|
|
|
// The path to the local copy of the private key associated with your keypair.
|
|
|
|
|
// Applies to AWS scenarios only.
|
|
|
|
|
// aws_ssh_private_key_path = "/Users/<user>/.ssh/mykeypair.pem
|
|
|
|
|
|
|
|
|
|
// The username to use for boundary. The github username of the user who trigger
|
|
|
|
|
// the workflow will be used automatically in the CI.
|
|
|
|
|
// Name of user. This is used to tag resources in AWS to more easily identify
|
|
|
|
|
// your resources. Can be set to any string.
|
|
|
|
|
/// Applies to AWS scenarios only.
|
|
|
|
|
// enos_user = "enos"
|
|
|
|
|
|
|
|
|
|
// The directory that contains the copy of boundary you want to local execution
|
|
|
|
|
// from. `make install` should install it into the $GOBIN, which is usually
|
|
|
|
|
// similar to what is listed below.
|
|
|
|
|
// local_boundary_dir = "/Users/<user>/.go/bin"
|
|
|
|
|
|
|
|
|
|
// The directory that contains the copy of boundary you want to use for e2e tests
|
|
|
|
|
// local_boundary_src_dir = "/Users/<user>/Developer/boundary"
|
|
|
|
|
|
|
|
|
|
// The directory that contains the copy of boundary-ui you want to use for UI tests
|
|
|
|
|
// local_boundary_ui_src_dir = "/Users/<user>/Developer/boundary-ui"
|
|
|
|
|
|
|
|
|
|
// Path to a license file if required
|
|
|
|
|
// ENTERPRISE ONLY
|
|
|
|
|
// Path to a license file
|
|
|
|
|
// boundary_license_path = "./support/boundary.hclic"
|
|
|
|
|
|
|
|
|
|
// Built binary custom name, if not "boundary"
|
|
|
|
|
// boundary_binary_name = "boundary"
|
|
|
|
|
|
|
|
|
|
// Build edition from CRT
|
|
|
|
|
// boundary_edition = "oss"
|
|
|
|
|
|
|
|
|
|
// ==============================================================================
|
|
|
|
|
// OPTIONAL VARIABLES
|
|
|
|
|
// ==============================================================================
|
|
|
|
|
// The path to the installation bundle for the target machines. The existing
|
|
|
|
|
// scenarios all use linux/amd64 architecture so bundle ought to match that
|
|
|
|
|
// architecture. This is only used for variants which use the `crt` builder
|
|
|
|
|
@ -47,14 +51,24 @@
|
|
|
|
|
// of the build workflow.
|
|
|
|
|
// crt_bundle_path = "./boundary_linux_amd64.zip"
|
|
|
|
|
|
|
|
|
|
// The port the ALB will listen on to proxy controller API requests. This defaults
|
|
|
|
|
// to 9200
|
|
|
|
|
// alb_listener_api_port = 9200
|
|
|
|
|
// Number of controller instances to create. Applies to AWS scenarios only.
|
|
|
|
|
// controller_count = 1
|
|
|
|
|
|
|
|
|
|
// Generally, if there's failure in the test suite for any reason, enos/terraform will throw an error and you
|
|
|
|
|
// would not be able to access the environment variables needed to test locally. Enabling this
|
|
|
|
|
// will ensure that the enos scenario passes.
|
|
|
|
|
// e2e_debug_no_run = true
|
|
|
|
|
// Number of worker instances to create. Applies to AWS scenarios only.
|
|
|
|
|
// worker_count = 1
|
|
|
|
|
|
|
|
|
|
// Number of target instances to create. Applies to AWS scenarios only.
|
|
|
|
|
// target_count = 1
|
|
|
|
|
|
|
|
|
|
// Timeout for `go test` execution in the e2e tests, 10m default
|
|
|
|
|
// go_test_timeout = "10m"
|
|
|
|
|
// The directory that contains the copy of the boundary cli that the e2e tests
|
|
|
|
|
// will use in CI. Only needed if e2e_debug_no_run = false.
|
|
|
|
|
// local_boundary_dir = "/Users/<user>/.go/bin"
|
|
|
|
|
|
|
|
|
|
// The directory that contains the source code of boundary/boundary-enterprise.
|
|
|
|
|
// This is used in docker scenarios in CI in order to mount the source code into
|
|
|
|
|
// the container. Only needed if e2e_debug_no_run = false.
|
|
|
|
|
// local_boundary_src_dir = "/Users/<user>/Developer/boundary"
|
|
|
|
|
|
|
|
|
|
// The directory that contains the source code of boundary-ui. This is used for
|
|
|
|
|
// front-end e2e testing (UI scenarios) in CI. Only needed if e2e_debug_no_run = false.
|
|
|
|
|
// local_boundary_ui_src_dir = "/Users/<user>/Developer/boundary-ui"
|
|
|
|
|
|