Giter Site home page Giter Site logo

wallix / awless-templates Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 13.0 1.71 MB

Repository of examples for awless templates (see https://github.com/wallix/awless)

License: Apache License 2.0

Go 39.82% Shell 60.18%
awless aws cli cloud cloud-management devops devops-tools

awless-templates's Issues

What commmands can take advantage of the list syntax?

I was trying to figure out how I could delete a list of snapshots by ID.
I tried the following, and it seemed to be valid syntax, but threw an InvalidParameterValue:
awl -p dre delete snapshot id="[snap-b486e3d6, snap-f2a95a98, snap-4ce83801, snap-51598f22, snap-21fa374f, snap-5d02ce33, snap-63be362a, snap-2239e147, snap-bffaf0f3, snap-51a0b41d, snap-c02bafb0, snap-b7bab2fe, snap-109d316c, snap-c346a48d, snap-acbcd1ae, snap-feb2fcff, snap-bbb7bbba, snap-ff67d3fe, snap-e1662997, snap-58d3ce4b, snap-8e8ba19a, snap-4f54094f, snap-61aa6876, snap-88bd409f, snap-f4d23616, snap-65d82b70, snap-816ac678, snap-85e2819d, snap-a4b50bce, snap-c067ba20, snap-ad47474b, snap-f6b3510e, snap-3762f7cc, snap-07e5b1e1, snap-777d7990, snap-fe308162, snap-a9ad304f, snap-6bff5cdc, snap-cc4bcb7b, snap-8d61a010, snap-a9d86725, snap-cadfb42d, snap-7920f39b, snap-61d8fee8, snap-fbafe0e3, snap-93c49bf7, snap-8093f26a, snap-a2450316]"

For now, I'll do it in a bash for loop instead, but it seems like I missed something obvious. :/

String interpolation for attribute values?

Hi! Is it possible to add string interpolation for attribute values? For example:

subnet = create subnet cidr={subnet.cidr} vpc=$vpc name="#{$appName} Public Subnet A"

In a few of my templates, I'm wanting to identify the resource with the application name and/or environment value.

Thanks!

Reading a csv file within a template

This is a feature request/suggestion. In my opinion as awless provides a programming level abstraction to cloud automation what's needed (may be already supported) is a way to specify data for the program (csv would suffice)

If an awless template can read a csv file, tt would allow creating objects of same class at one place programmatically ex:

  • create ec2 instances from a list
  • create subnets, subnetgroups from a list
  • create route53 records from a list

Here are few examples (that were done using bash wrappers)

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.