Skip to content

Commit 98a6f22

Browse files
committed
Debugged control_node_public_ip
1 parent 5481f94 commit 98a6f22

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/terraform.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ jobs:
128128
129129
- name: 📤 Copy inventory.ini to jumpbox
130130
run: |
131-
CONTROL_IP=$(terraform -chdir=infra output -raw control_node_public_ip)
132-
SSH_USER=$(terraform -chdir=infra output -raw ssh_user)
131+
CONTROL_IP=$(terraform -chdir=infra output -raw control_node_public_ip.value)
132+
SSH_USER=$(terraform -chdir=infra output -raw ssh_user.value)
133+
echo "Using IP: $CONTROL_IP and user: $SSH_USER"
133134
scp -i ~/.ssh/vm_ssh_key ansible/inventory.ini $SSH_USER@$CONTROL_IP:~/inventory.ini
134135

0 commit comments

Comments
 (0)