asdasdasd #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: testing terratag action | |
on: [push] | |
jobs: | |
tag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- uses: hashicorp/setup-terraform@v1 | |
with: | |
terraform_version: 0.13.5 | |
# more setup-terraform configuration. See https://github.com/hashicorp/setup-terraform#usage | |
- name: run terraform init | |
run: | | |
cd aws/hello-world && terraform init | |
- uses: env0/terratag-action@fix-make-terratag-action-work | |
env: | |
ACTIONS_STEP_DEBUG: ${{ secrets.ACTIONS_STEP_DEBUG }} | |
with: | |
tags: | | |
{ | |
"env0_environment_id":"40907eff-cf7c-419a-8694-e1c6bf1d1168","env0_project_id":"43fd4ff1-8d37-4d9d-ac97-295bd850bf94" | |
} | |
dir: aws/hello-world |