Skip to content

Demo on how to use AppConfig Lambda extensions for setting feature flags in your functions.

License

Notifications You must be signed in to change notification settings

mavi888/sam-feature-flag-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAM Feature Flag AppConfig Extension

Infrastructure as code framework used: AWS SAM AWS Services used: AWS Lambda, AWS AppConfig

Summary of the demo

In this demo you will see:

  • How to create a Lambda function that uses Lambda Extensions
  • How to use the AppConfig Lambda Extensions in a Lambda function
  • How to use feature flags in your Lambda function

This demo is part of a video posted in FooBar Serverless channel. You can check the video to see the whole demo.

Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the AWS Pricing page for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.

Requirements

  • AWS CLI already configured with Administrator permission
  • AWS SAM CLI installed - minimum version 1.37.0 (sam --version)
  • NodeJS 14.x installed

Deploy this demo

We will be using AWS SAM and make sure you are running the latest version - at the time of writing, this was 1.37.0 (sam --version).

Deploy the project to the cloud:

sam deploy -g # Guided deployments

When asked about functions that may not have authorization defined, answer (y)es. The access to those functions will be open to anyone, so keep the app deployed only for the time you need this demo running.

Next times, when you update the code, you can build and deploy with:

sam deploy

To delete the app:

sam delete

Links related to this code

About

Demo on how to use AppConfig Lambda extensions for setting feature flags in your functions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published