From 0046cd2f134e386d7b3739c5a8f95f97faf7f4e9 Mon Sep 17 00:00:00 2001 From: Sunwu Park <52268188+sunwupark@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:19:48 +0900 Subject: [PATCH] :fix terraform.yml adding outputs --- .github/workflows/terraform.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index c44143d..b32e5ea 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -113,19 +113,11 @@ jobs: id: copy if: ${{ github.event.inputs.terraform_operation == 'apply' }} -# - name: Get outputs -# uses: dflook/terraform-output@v1 -# id: tf-outputs -# if: ${{ github.event.inputs.terraform_operation == 'apply' }} -# -# - name: Print the hostname -# run: | -# echo "The ip_auth is ${{ steps.tf-outputs.outputs.elastic-ip-auth }}" -# echo "The ip_service is ${{ steps.tf-outputs.outputs.elastic-ip-service }}" -## echo "The rds_writer_endpoint is ${{ steps.tf-outputs.outputs.rds_writer_endpoint }}" -## echo "The elasticcache_endpoint is ${{ steps.tf-outputs.outputs.elasticcache_endpoint }}" -# if: ${{ github.event.inputs.terraform_operation == 'apply' }} -# + - name: Get outputs + uses: dflook/terraform-output@v1 + id: tf-outputs + if: ${{ github.event.inputs.terraform_operation == 'apply' }} + - name: basic Install on EC2 uses: appleboy/ssh-action@master with: