Unverified Commit ad51e6cb authored by Danielle Tomlinson's avatar Danielle Tomlinson Committed by GitHub
Browse files

Merge pull request #5149 from hashicorp/dani/e2e-friendly

e2e: Output setup instructions after terraform
parents 53aa449a b51021ac
Showing with 19 additions and 1 deletion
+19 -1
......@@ -10,7 +10,7 @@ variable "region" {
variable "indexed" {
description = "Different configurations per client/server"
default = true
default = true
}
variable "instance_type" {
......@@ -72,3 +72,21 @@ output "clients" {
value = "${aws_instance.client.*.public_ip}"
}
output "message" {
value = <<EOM
Your cluster has been provisioned! - To prepare your environment, run the
following:
```
export NOMAD_ADDR=http://${aws_instance.client.0.public_ip}:4646
export CONSUL_HTTP_ADDR=http://${aws_instance.client.0.public_ip}:8500
export NOMAD_E2E=1
```
Then you can run e2e tests with:
```
go test -v ./e2e
```
EOM
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment