Skip to content

Commit

Permalink
:fix terraform.yml adding outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwupark committed Feb 15, 2024
1 parent 00f633d commit 0046cd2
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0046cd2

Please sign in to comment.