generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
40 lines (40 loc) · 1.18 KB
/
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
32
33
34
35
36
37
38
39
40
name: 'AWS Security Group Inbound Rule Action'
author: mnavarrocarter
description: 'Creates a inbound rule in an AWS Security Group and deletes it when the job finishes'
branding:
color: 'orange'
icon: 'arrow-up-circle'
inputs:
aws-security-group-id:
description: The id of the security group to add the rule to
required: true
aws-access-key-id:
description: Your amazon access key id
required: true
aws-secret-access-key:
description: Your amazon secret access key
required: true
aws-region:
description: The aws region to use
required: false
default: eu-west-1
port:
description: The port to allow
required: true
protocol:
description: The protocol to allow
required: false
default: tcp
ip:
description: 'The ip address that you want to add to the rule. If none provided it will attempt to get it from https://ipinfo.io'
required: false
default: ''
outputs:
ip:
description: 'The ip address determined by the action or the one passed in the inputs'
aws-security-group-rule-id:
description: 'The id of the created security group rule'
runs:
using: 'node20'
main: 'dist/index.mjs'
post: 'dist/index.mjs'