Skip to content

Node.js Lambda backed AWS CloudFormation Custom Resource to create an S3 configuration file, either by putting parameter data from the CloudFormation template or copying a source S3 file.

License

Notifications You must be signed in to change notification settings

imhogan/PutS3File

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PutS3File

Node.js Lambda backed AWS CLoudFormation Custom Resource to create an S3 file from specified content.

When deploying an AWS stack with CloudFormation, it can be helpful to write configuration data to a file, eg perhaps you have CloudFormation template parameters you want to persist to an S3 file to configure the application being deployed. Another option can be to copy a particular configuration file to a target file, eg you may have dev, uat and prod versions of a config file. The following CloudFormation template demonstrates this:

https://s3-ap-southeast-2.amazonaws.com/au-com-thinkronicity-opencode-apse2/au-com-thinkronicity-PutS3File-Sample-V1.0.0.template

This template loads the code from a bucket in the AWS region the Stack is being deployed in.

These buckets are readable by any AWS account.

Ian_MacDonald_Hogan@yahoo.com

About

Node.js Lambda backed AWS CloudFormation Custom Resource to create an S3 configuration file, either by putting parameter data from the CloudFormation template or copying a source S3 file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published