Skip to content

Commit

Permalink
try outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyek committed Mar 18, 2024
1 parent 8998929 commit ca0a624
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,19 @@ env:
FORCE_COLOR: 1

jobs:
infra:
name: Infrastructure
terraform-apply:
name: Terraform Apply
runs-on: ubuntu-22.04
permissions:
contents: read
env:
TF_CLOUD_ORGANIZATION: 'rhyek'
TF_API_TOKEN: '${{ secrets.TF_API_TOKEN }}'
TF_CLOUD_ORGANIZATION: rhyek
TF_API_TOKEN: ${{ secrets.TF_API_TOKEN }}
TF_WORKSPACE: 'bank-bots-dev'
CONFIG_DIRECTORY: './infra'
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3

- name: Upload Configuration
uses: hashicorp/tfc-workflows-github/actions/[email protected]
Expand Down Expand Up @@ -55,3 +56,22 @@ jobs:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ${{ vars.AWS_DEFAULT_REGION }}

- uses: dnsbty/[email protected]
with:
api-token: ${{ secrets.TF_API_TOKEN }}
workspace-id: ${{ env.TF_WORKSPACE }}
outputs: |
ecr_repository_scrape_txs_url
# - name: Outputs
# uses: hashicorp/tfc-workflows-github/actions/[email protected]
# id: outputs
# with:
# workspace: ${{ env.TF_WORKSPACE }}
# deploy-scrape-txs:
# name: Deploy Scrape Bank Transactions
# runs-on: ubuntu-22.04
# steps:
# - name: Checkout
# uses: actions/checkout@v3

0 comments on commit ca0a624

Please sign in to comment.