update provided.al2 runtime and the new binary format #207
Workflow file for this run
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: Test Terraform Modules | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**/*.tf' | |
- '!examples/**' | |
env: | |
TF_IN_AUTOMATION: 1 | |
TF_VAR_honeycomb_api_key: ${{ secrets.HONEYCOMB_API_KEY }} | |
AWS_DEFAULT_REGION: us-east-1 | |
jobs: | |
tf-apply: | |
name: Test terraform-aws-integrations | |
runs-on: ubuntu-latest | |
# These permissions are needed to interact with GitHub's OIDC Token endpoint. | |
permissions: | |
id-token: write | |
contents: read | |
defaults: | |
run: | |
working-directory: ./tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
aws-region: us-east-1 | |
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }} | |
role-duration-seconds: 1800 # 30min | |
- uses: hashicorp/setup-terraform@v2 | |
- name: Terraform Init | |
run: terraform init -upgrade | |
- name: Terraform Validate | |
run: terraform validate -no-color | |
- name: Terraform Apply | |
run: terraform apply -auto-approve -no-color -input=false | |
- name: Terraform Destroy | |
run: terraform destroy -auto-approve -no-color -input=false | |
if: 'always()' |