Skip to content

ELSB DBIT Github action to update lambda edge version ARN in cloudfront

Notifications You must be signed in to change notification settings

elseu/elsb-dbit-cloudfront-lambda-edge-update-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Cloudfront distribution with new Lambda Edge version ARN

This action will:

  • get cloudfront distribution configuration
  • generate distribution configuration with new lambda version ARN
  • update the cloudfront distribution

Usage

  jobs:
    deploy:
     runs-on: ubuntu-latest
     steps:
       - uses: elseu/elsb-dbit-cloudfront-lambda-edge-update-action@v1
         with:
          
           distribution_id: <Cloudfront Distribution ID>
           path_pattern: <Cloudfront Behavior Path pattern (if DefaultCacheBehaviour, set path_pattern to 'Default')>
           lambda_association_event_type: <Lambda association Event type>
           lambda_association_version_arn: <Lambda association version ARN>
           cloudfront_invalidation_required: <Ask for Cloudfront invalidation (true/false)>
           aws_region: <AWS Region to use> (not required)
           aws_access_key: <AWS access key to use> (not required)
           aws_secret_key: <AWS secret key to use> (not required)

About

ELSB DBIT Github action to update lambda edge version ARN in cloudfront

Resources

Stars

Watchers

Forks

Packages

No packages published