Code Monkey home page Code Monkey logo

infra.aws's Introduction

Infra.aws (alpha)

Infra helps you write write AWS Cloudformation templates using EDN.

Status

Unreleased.

Documentation

License

Distributed under the EPL v2.0

infra.aws's People

Contributors

alidcast avatar

Watchers

 avatar

infra.aws's Issues

provide way to auto include system parameters for each resource stack identifier

thinking about possible API for this.

My first thought was to add a Options property in template map that lets user enable the auto inclusion of system parameter resources:

{#eid :StackName 
 {:Options      {:SystemParameters true}
  :Resources  {:MyResource [:Service.Module {}]} }}

But I dislike that I'm mixing infra properties into a map that should consistent of only AWS Cloudformation options.

So a better alternative may be to stick with reader literals for config manipulation. We can add a #with-params literal that does serves same purpose as above option:

{#eid :StackName 
 #with-params {:MyResource [:Service.Module {}]} }

With this alternative, I dislike that this reader literal is only meant to be used in a single context (when declaring resource options). But I guess that's OK since the scope of this reader is for AWS templates.


Another concern, that might make this more cumbersome, is that resources are mapped based on their logical identifiers (local to stack) not their physical identifiers (global to user's aws account). But perhaps I can just use AWS's ref templating utility so that identifier strings can be replaced by AWS at creation time.

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.