Skip to content

Commit ad1af7d

Browse files
committed
[Tests] Use login nodes in e2e tests.
Signed-off-by: Giacomo Marciani <[email protected]>
1 parent b3e4c93 commit ad1af7d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

internal/provider/files/cluster_test/pcluster.tf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,26 @@ locals {
6666
QueueUpdateStrategy = "TERMINATE"
6767
}
6868
}
69+
LoginNodes : {
70+
Pools : [
71+
{
72+
Name : "login1"
73+
InstanceType : "t3.small"
74+
Count : 1
75+
Networking : {
76+
SubnetIds : [var.subnet != null ? var.subnet : aws_default_subnet.public_az1.id]
77+
},
78+
Iam : {
79+
AdditionalIamPolicies : [
80+
{
81+
Policy : "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
82+
}
83+
]
84+
},
85+
GracetimePeriod : 3
86+
}
87+
]
88+
}
6989
}
7090
}
7191

0 commit comments

Comments
 (0)