Skip to content

Experiement at merging cloudformation template bits into a final master template

Notifications You must be signed in to change notification settings

ikluzak/cfmerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

// // NOTE:

This package is under construction,

The eventual goal is to allow me to structure my projects how I want and provide bits of extracted swagger or yaml and merge it all together into a single cloud formation template.

I know you can use cloudformation snippets and includes but that doesn't seem to be exactly what I want so i'm experimenting with this.


I'm expecting the cfmerge.yml config file to look something like this:

# Generate a 'whole project' CloudFormation template at build time
version: 0.1

# Define the API-gw used for this project and use a swagger file we exported from API-gw
apigw:
  exclude: true		# Skip this block for now
  rname: ResourceName
  name: API-Name
  description: Your API Description
  type: AWS::ApiGateway::RestApi
  file: apigw/swagger.yml

#
# Define the lambda's used by this project
# Output template files from "aws cloudformation package"
lambda:
  files:
    - /tmp/cf-package-out1.yml
    - /tmp/cf-package-out2.yml

# Define any necessary tables
dynamodb:
  exclude: true		# Skip this block for now
  files:
    - table1
    - table2

About

Experiement at merging cloudformation template bits into a final master template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published