Skip to content

About

Increments the lambda function ARN which is associatied with the targeted CloudFront distribution event type

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

aws-cloudfront-lambda-function-associations-version-bump-action

GitHub Action for incrementing the lambda function ARN which is associatied with the targeted CloudFront distribution based on event type.

Usage

name: "Lambda@Edge Version Bump"

on:
  push:
    branches:
      - main

jobs:
  incrementing:
    runs-on: ubuntu-latest
    name: "Performing Version Bump"
    steps:
      - name: "Action Version Bump"
        id: bump
        uses: SynthetixLtd/aws-cloudfront-lambda-function-associations-version-bump-action@main
        with:
          DISTRIBUTION_ID: ${{ secrets.AWS_CDN_DISTRIBUTION_ID }}
          ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          EVENT_TYPE: "viewer-response"

      - name: "Associatied Function Infomation"
        run: echo "Associatied lambda function ARN now target version ${{ steps.bump.outputs.version }} of Lambda@Edge function"

About

Increments the lambda function ARN which is associatied with the targeted CloudFront distribution event type

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages