-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
30 lines (29 loc) · 997 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
name: 'Update Lambda@Edge Function'
description: 'Updates a Cloudfront distribution with a new version of a Lambda@Edge function'
author: 'Einar Egilsson'
runs:
using: 'node12'
main: 'update-lambda-edge-function.js'
inputs:
aws_access_key_id:
description: 'AWS Access Key Id'
required: true
aws_secret_access_key:
description: 'AWS Secret Access Key'
required: true
function_name:
description: 'Name of the function to update. Not a full ARN, just a simple name.'
required: true
new_version_nr:
description: 'The version nr of the function you want to use in your Cloudfront distribution.'
required: true
cloudfront_distribution_id:
description: 'The Id of the Cloudfront distribution that you want to update.'
required: true
dry_run:
description: 'Set to "true" to only print out the configuration update, to see what would be done in a real run.'
required: false
default: false
branding:
icon: 'arrow-up'
color: 'green'