Skip to content

Data Academy sample lambda application with scripts for cloudformation deployment from local (deploys using CF packages to render your template too)

Notifications You must be signed in to change notification settings

infinityworks/data-academy-cloudformation-deploy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP API Lambda

About

Lambda function which returns the current public IP address of the lambda function by making a request to a third-party IP on the public Internet

Documentation for the API is here https://www.ipify.org/

Usage

How to Deploy

  • Create an S3 deployment bucket to use for deployment
  • Edit deploy.sh to change the variables for deployment bucket and stack_name name
  • Authenticate to AWS with aws sso login
  • Set AWS_PROFILE value with export AWS_PROFILE=<profilename>
  • Run deployment with ./deploy.sh

What this stack Creates

  • Python lambda function IpLambdaFunction
  • Basic lambda role IpLambdaFunctionRole which allows the lambda function to execute and write logs

About

Data Academy sample lambda application with scripts for cloudformation deployment from local (deploys using CF packages to render your template too)

Topics

Resources

Stars

Watchers

Forks