#!/bin/bash # Get the IP addresses from Terraform output MASTER_IP=$(terraform output -json k8s_node_ips | jq -r '.[0]') WORKER_IPS=$(terraform output -json k8s_node_ips | jq -r '.[1,2]') # Set up the master node ssh ubuntu@$MASTER_IP <