Skip to content

Commit 15e940e

Browse files
authored
Update NLB query in install.sh (#1441)
1 parent 42a85c0 commit 15e940e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ function suspend_spot_az_rebalance() {
327327

328328
function create_vpc_link() {
329329
# get VPC ID
330-
vpc_id=$(aws ec2 describe-vpcs --region $CORTEX_REGION --filters Name=tag:eksctl.cluster.k8s.io/v1alpha1/cluster-name,Values=$CORTEX_CLUSTER_NAME | jq .Vpcs[0].VpcId | tr -d '"')
330+
vpc_id=$(aws ec2 describe-vpcs --region $CORTEX_REGION --filters Name=tag:cortex.dev/cluster-name,Values=$CORTEX_CLUSTER_NAME | jq .Vpcs[0].VpcId | tr -d '"')
331331
if [ "$vpc_id" = "" ] || [ "$vpc_id" = "null" ]; then
332332
echo "unable to find cortex vpc"
333333
exit 1

0 commit comments

Comments
 (0)