-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
34 lines (34 loc) · 1.13 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
name: AWS EC2 AMI Snapshotter
description: GitHub Action for creation of AMI images of running EC2 instances. Valid AWS credentials must be set up prior to executing this action.
author: George Penkov
inputs:
instance-id:
description: >-
Instance ID of the EC2 that will be used for AMI snapshot.
required: true
name:
description: >-
The name of the new AMI image snapshot. If the name already exists, it will be suffixed with UTC timestamp.
required: true
description:
description: >-
The description of the new AMI image snapshot.
required: false
wait-for-completion:
description: >-
Should the action wait until image is ready. Default is false
required: false
deregister-old-images:
description: >-
Deregister all images with the same name, and the one just created. Works only with wait-for-completion set to true. Default is false
required: false
outputs:
name:
description: >-
The name of the newly created AMI image snapshot.
ami-id:
description: >-
AMI id of the newly created AMI image snapshot.
runs:
using: 'docker'
image: 'Dockerfile'