Bump clouddrove/vpc/aws from 1.3.1 to 2.0.0 in /_example #3
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: 'Terratest GitHub Actions' | |
on: | |
pull_request: | |
branches: | |
- master | |
types: [labeled] | |
jobs: | |
Terratest: | |
name: 'terratest' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/[email protected] | |
- name: 'Configure AWS Credentials' | |
uses: clouddrove/configure-aws-credentials@v1 | |
with: | |
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY }} | |
aws-secret-access-key: ${{ secrets.TEST_AWS_ACCESS_SECRET_KEY }} | |
aws-region: us-east-2 | |
- name: 'terratest' | |
uses: 'clouddrove/[email protected]' | |
with: | |
actions_subcommand: 'terratest' | |
if: ${{ github.event.label.name == 'terratest' }} | |
tf_actions_working_dir: '_test' | |
- name: 'Slack Notification' | |
uses: clouddrove/action-slack@v2 | |
with: | |
status: ${{ job.status }} | |
fields: repo,author | |
author_name: 'CloudDrove' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required | |
if: always() |