Coder Social home page Coder Social logo

cfnlego's Introduction

cfnlego

Build Status Gem Version Code Climate

Announcement

Dear supporters, the cfnlego project has contributed the code into the be loved cfndsl project.

Now, you can use the -g option in cfndsl to generate the template.

Thank you for your support, and enjoy building open source projects.

Description

cfnlego is built to quickly bootstrap CloudFormation development with cfndsl.

It provides templates for all (WIP) AWS Resources and simply bake them into a template

How to use

to generate a cfndsl template, provide the resource types and their logical names in the command line.

$ gem install cfnlego

$ cfnlego --help
Usage: cfnlego --resource resource [options]
    -r RESOURCE_TYPE,RESOURCE_LOGICAL_NAME,
        --resource                   Add resource type and logical name
    -i, --indent TOKEN               Use TOKEN for indent character (default space)
    -l, --list                       List supported resources
    -c, --indent-count [COUNT]       Count of characters to use for indenting. (default: 2)
    -h, --help                       Prints this help
    -v, --version                    Show version
Example:
  cfnlego                                           \
    --resource AWS::AutoScaling::AutoScalingGroup,ASG    \
    --resource AWS::IAM::Role,Role                       \
    --resource AWS::IAM::InstanceProfile,InstanceProfile \

Current Supported Resources

  • AWS::AutoScaling::AutoScalingGroup
  • AWS::AutoScaling::LaunchConfiguration
  • AWS::AutoScaling::LifecycleHook
  • AWS::AutoScaling::ScalingPolicy
  • AWS::CloudFront::Distribution
  • AWS::CloudTrail::Trail
  • AWS::CloudWatch::Alarm
  • AWS::CodeCommit::Repository
  • AWS::Config::ConfigRule
  • AWS::DirectoryService::SimpleAD
  • AWS::EC2::DHCPOptions
  • AWS::EC2::EIP
  • AWS::EC2::Instance
  • AWS::EC2::InternetGateway
  • AWS::EC2::NatGateway
  • AWS::EC2::NetworkAcl
  • AWS::EC2::NetworkAclEntry
  • AWS::EC2::Route
  • AWS::EC2::RouteTable
  • AWS::EC2::SecurityGroup
  • AWS::EC2::SpotFleet
  • AWS::EC2::Subnet
  • AWS::EC2::SubnetNetworkAclAssociation
  • AWS::EC2::SubnetRouteTableAssociation
  • AWS::EC2::VPC
  • AWS::EC2::VPCDHCPOptionsAssociation
  • AWS::EC2::VPCEndpoint
  • AWS::EC2::VPCGatewayAttachment
  • AWS::ECS::Cluster
  • AWS::ECS::Service
  • AWS::ECS::TaskDefinition
  • AWS::EMR::Cluster
  • AWS::EMR::InstanceGroupConfig
  • AWS::EMR::Step
  • AWS::ElastiCache::CacheCluster
  • AWS::ElastiCache::ParameterGroup
  • AWS::ElastiCache::ReplicationGroup
  • AWS::ElastiCache::SecurityGroup
  • AWS::ElastiCache::SecurityGroupIngress
  • AWS::ElastiCache::SubnetGroup
  • AWS::ElasticLoadBalancing::LoadBalancer
  • AWS::Events::Rule
  • AWS::IAM::InstanceProfile
  • AWS::IAM::ManagedPolicy
  • AWS::IAM::Role
  • AWS::KMS::Key
  • AWS::Kinesis::Stream
  • AWS::Lambda::EventSourceMapping
  • AWS::Lambda::Function
  • AWS::Lambda::Permission
  • AWS::Logs::Destination
  • AWS::Logs::LogGroup
  • AWS::Logs::LogStream
  • AWS::Logs::MetricFilter
  • AWS::Logs::SubscriptionFilter
  • AWS::RDS::EventSubscription
  • AWS::Route53::HealthCheck
  • AWS::Route53::HostedZone
  • AWS::Route53::RecordSet
  • AWS::Route53::RecordSetGroup
  • AWS::S3::Bucket
  • AWS::SNS::Topic
  • AWS::SNS::TopicPolicy
  • AWS::SQS::Queue
  • AWS::SQS::QueuePolicy
  • AWS::SSM::Document
  • AWS::WAF::ByteMatchSet
  • AWS::WAF::IPSet
  • AWS::WAF::Rule
  • AWS::WAF::SizeConstraintSet
  • AWS::WAF::SqlInjectionMatchSet
  • AWS::WAF::WebACL
  • AWS::WAF::XssMatchSet

cfnlego's People

Contributors

allinwonder avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

elmobp

cfnlego's Issues

Cloudformation schema

Hey,

With the release of the schema coming if you look at cfndsl there is the freestyle one there in the issues is it worth looking at porting this to the schema? Happy to help!

Would mean no code to update for each schema update

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.