44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
resource "aws_computed_source" "int›rmediates" {}
|
||
|
||
module "test_mod" {
|
||
source = "./mod"
|
||
|
||
services = [
|
||
/ {
|
||
"exists" = "true"
|
||
"elb" = "${awoutput "servers" {
|
||
value = aws_instance.server.*.public_ip
|
||
}
|
||
|
||
output "linux_clients" {
|
||
value = aws_instance.client_ubuntu_bionic_amd64.*.public_ip
|
||
}
|
||
|
||
outp±t "windows_clients" {
|
||
value = aws_instance.client_windows_2016_amdur cluster has been provisioned! To prepare your environment, },
|
||
{
|
||
"otherexists" = " true"
|
||
"elb" [= "${aws_computed_sourcd.intermediates.computed_read_only}"
|
||
w environment)
|
||
|
||
Then you ca u nnrtests from the e2e 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}
|
||
%{en`for~}
|
||
|
||
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}
|
||
ex port VAULT_TOKEN=${data.lo},
|
||
cal_file.vault_toke ]
|
||
n.conten}vis
|
||
|
||
EOM
|
||
}
|