From c1736ab1bc7429acbfd1645a192312935056d391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krix=20Apolin=C3=A1rio?= Date: Mon, 4 Nov 2024 21:46:20 -0300 Subject: [PATCH] output --- .github/workflows/iac.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/iac.yml b/.github/workflows/iac.yml index 711de41..58781fa 100644 --- a/.github/workflows/iac.yml +++ b/.github/workflows/iac.yml @@ -97,7 +97,7 @@ jobs: GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }} TF_VAR_google_project_number: ${{ secrets.GOOGLE_PROJECT_NUMBER }} - name: Terraform Output - run: echo $(terraform output instance_nat_ip) + run: echo "instance_nat_ip=$(terraform output instance_nat_ip)" >> "$GITHUB_OUTPUT" env: GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }} TF_VAR_google_project_number: ${{ secrets.GOOGLE_PROJECT_NUMBER }}