tofu plan, tofu output json capture and export test part VI
All checks were successful
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 7m3s

This commit is contained in:
Mike Holloway 2025-01-07 05:11:12 -05:00
parent 09e9529e77
commit ad2646c7b8

View File

@ -19,7 +19,7 @@ jobs:
working-directory: "${{ gitea.workspace }}/.gitea/tofu"
- name: tofu output capture
run: |
tofu output -json | jq -r '@sh "export TARGET_IP_ADDRESS=\(.act_worker_ip_address.value\)"'
export TARGET_IP_ADDRESS=$(terraform output -raw act_worker_ip_address)
echo $TARGET_IP_ADDRESS
sleep 300
working-directory: "${{ gitea.workspace }}/.gitea/tofu"