No description, website, or topics provided.
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
certificate-dependency
docs
echo-dependency
ecs-task
elasticache-dependency
image-dependency
kms-dependency kms-dependency: Show how to reference the decrypted value Jan 19, 2017
kms-key Fixed problem: Update also created a new key Jul 8, 2015
lambda-with-config
route53-dependency
sns-subscription
stack-dependency
vpc-dependency
.gitignore
README.md
create-role.sh
deploy-all-lambdas.sh
deploy-all-roles.sh
deploy-all.sh
deploy-lambda.sh
init.sh
invoke-lambda.sh
invoke-test-stack.sh
test-stack.sh

README.md

Amazon Custom Resources

Amazon Custom Resources contains a number of CloudFormation Custom Resources backed by Lambda functions. They simplify the usage of CloudFormation by, among other things, allowing us to use names instead of IDs in our templates. This simplifies the re-use of templates across Amazon accounts.

Available Resources

lambda-with-config-and-vpc-support A Lambda function which implements a Custom Resource for CloudFormation thatdeploys lambdas together with config files and supports deploying your lambda in a VPC.

Elasticache Dependency

When CloudFormation creates a Redis-backed Elasticache Cluster it does not provide the endpoints to the stack. This forces us to write logic in the client to look up the endpoints or to look them up manually and provide them as configuration. elasticache-dependency gets information about elasticache clusters including endpoints.

Image Dependency

image-dependency looks up information about an AMI by name. It is much easier to read an image name instead of an AMI ID.

Route53 Dependency

route53-dependency looks up information about hosted zone by domin name. Again, nicer to have that a cryptic zone id.

VPC Dependency

vpc-dependencylooks up information about a VPC by name including ID and subnet information.

Certificate Dependency

certificate-dependency looks up a certificate by name.

Stack Dependency

stack-dependency looks up the outputs from another stack by name. It provides the outputs as variables to the resources and also includes an extra property called Environment.

The Environment property contains all the ouputs from the stack formatted as a Unix env-file, (Property1=Value\nProperty2=Value\n). This can be used to provide the parameters to the instance by saving them to an environment file and, if you use Docker, to provide them to the container with docker run --env-file

Echo Dependency

echo-dependency returns its inputs as outputs. Can be used to force an update of a stack.

KMS Dependency

kms-dependency is used to decrypt a secret before it is used in cloudformation, i.e when creating a RDS db with cloudformation.

sns-subscription is used to create a SNS subscription to an already existing SNS topic.

Installation

# git clone the repo
./init.sh
./deploy-all.sh