Creating K8S cluster with EC2 instances
SSH:
eval "$( tf output -raw master_ssh )"
eval "$( tf output -raw worker_ssh )"
Logs:
eval "$( tf output -raw master_logs )"
tf output -json worker_logs | jq -r 'first'
- The original code from Medium post