Skip to content

Commit

Permalink
Update terraform-bridgecrew.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle9021 authored Jun 1, 2022
1 parent 3092047 commit 8fbadde
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/terraform-bridgecrew.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Terraform Plan"
name: "Terraform Plan + Bridgecrew"

# Trigger when a pull request is received
on:
Expand All @@ -20,13 +20,6 @@ jobs:
- name: "Setup - Checkout"
uses: actions/[email protected]

# Static analysis of Terraform templates to spot potential security issues
# Marketplace: https://github.com/marketplace/actions/terraform-security-scan
- name: "Setup - Security Scan"
uses: triat/terraform-security-scan@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Provides AWS credentials to Terraform
# By default, Terraform checks the home directory for a .aws folder with a credential file
# Documentation: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/create-shared-credentials-file.html
Expand All @@ -50,4 +43,12 @@ jobs:
- name: "Run - Terraform Plan"
id: plan
run: terraform plan -input=false -no-color

- uses: actions/checkout@v2
- name: Run Bridgecrew
id: Bridgecrew
uses: bridgecrewio/bridgecrew-action@master
with:
api-key: ${{ secrets.BRIDGECREW_API_KEY }}
directory: /

0 comments on commit 8fbadde

Please sign in to comment.