We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5481f94 commit 98a6f22Copy full SHA for 98a6f22
.github/workflows/terraform.yml
@@ -128,7 +128,8 @@ jobs:
128
129
- name: 📤 Copy inventory.ini to jumpbox
130
run: |
131
- CONTROL_IP=$(terraform -chdir=infra output -raw control_node_public_ip)
132
- SSH_USER=$(terraform -chdir=infra output -raw ssh_user)
+ CONTROL_IP=$(terraform -chdir=infra output -raw control_node_public_ip.value)
+ SSH_USER=$(terraform -chdir=infra output -raw ssh_user.value)
133
+ echo "Using IP: $CONTROL_IP and user: $SSH_USER"
134
scp -i ~/.ssh/vm_ssh_key ansible/inventory.ini $SSH_USER@$CONTROL_IP:~/inventory.ini
135
0 commit comments