forked from aws-actions/sustainability-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 861 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: AWS Sustainability Scanner GitHub Action
author: AWS Sustainability
description: Run AWS Sustainability Scanner against infrastructure as code as a pre-packaged GitHub Action
branding:
icon: check-circle
color: green
inputs:
file:
description: File path of the CloudFormation template to be scanned
required: false
directory:
description: Directory path with CloudFormation files to be scanned
required: false
default: '.'
stack_name:
description: CDK stack name to be scanned
required: false
rules_file:
description: File path to extend set of rules
required: false
outputs:
results:
description: Results from the sustainability scan
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.file }}
- ${{ inputs.directory }}
- ${{ inputs.stack_name }}
- ${{ inputs.rules_file }}