tofu plan, tofu output json capture and export test part VI
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 7m3s
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 7m3s
This commit is contained in:
1 parent
09e9529e77
commit
ad2646c7b8
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user