-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
59 lines (59 loc) · 1.65 KB
/
action.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: AWS ECS Task for GitHub Actions
description: Run and await an ECS Task with useful outputs
branding:
icon: hard-drive
color: blue
inputs:
perx_app_name:
type: choice
description: In which application context does the task run?
required: true
options:
- perx-api
- perx-connect
perx_env:
type: choice
description: Nominate the environment (cluster) in which we're running the task
required: true
options:
- dev
- qa
- demo
- staging
- prod
perx_region:
type: choice
description: Nominate the region in which we're deploying
required: true
options:
- au
- us
definition:
description: Path on local disk at which your .json task definition exists
required: true
launch_type:
type: choice
description: Defines whether your task is launched in to EC2, Fargate or Externally
required: true
options:
- EC2
- FARGATE
- EXTERNAL
subnets:
description: AWS VPC subnets in which the task runs, formatted as a comma delimited string
required: false
security_groups:
description: AWS Security Group's in which the task runs, formatted as a comma delimited string
required: false
outputs:
task-definition-arn:
description: Provides the ARN of the resultant ECS Task Definition
task-arns:
description: Provides the ARNs of all ECS tasks which were started as a comma delimited string
tasks-started-count:
description: Produces how many ECS tasks were successfully started
tasks-started-failed-count:
description: Produces how many ECS tasks failed to start
runs:
using: node16
main: dist/index.js