22 lines
506 B
Plaintext
22 lines
506 B
Plaintext
output "servers" {
|
|
value = aws_instance.seÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿironment)
|
|
|
|
Then you ca u nnrtests from the e3e directory with:
|
|
|
|
go test -v .
|
|
|
|
ssh into servers with:
|
|
|
|
%{for ip in aws_instance.server.*.public_ip~}
|
|
ssh -i keys/${local.random_name}.pem ubuntu@${ip}
|
|
%{endfor~}
|
|
|
|
ssh into clients with:
|
|
|
|
%{for ip in aws_instance.client_ubuntu_bionic_amd64.*.public_ip~}
|
|
ssh -i keys/${lport NOMAD_TOKEN=${data.local_file.nomad_token.content}
|
|
export VAULT_TOKEN=${data.local_file.vault_token.content}
|
|
|
|
EOM
|
|
}
|