Giter Site home page Giter Site logo

Comments (1)

tmaiaroto avatar tmaiaroto commented on June 6, 2024

Going to forget about this for now. The deploy command was updated to use managed policies instead of a custom inline policy for starters. Second, it will now also update the role it created. So if additional policies (managed or inline) are added in the future, the original role gets them.

So if a user defines their own role ARN in the config, it will be up to them to ensure it has all proper policies required. At this time, the goal of the deploy tool is not to be that comprehensive with regard to AWS resource management. There are already so many wonderful tools for that and nothing says that aegis can't be used alongside something like Terraform. One could manage all resources with Terraform and then simply provide a role ARN in the aegis config.

Though that said, there currently exists no way to use an existing API in the same manner one could use an existing role. So there's some overlap in concerns if a second tool was used to manage resources because the deploy command does manage some.

What would be better is a separate command for "upload" (or something) that might instead simply build upload the Lambda. It would skip all of the API creation, role creation/update, etc. It would assume one manually set all that up or used another tool.

...and I quite like the idea of aegis deploy for quick development and then something like Terraform for production where you want to keep infrastructure under revision control and do more. Perhaps tie into other things too. What Terraform lacks is the ability to build and upload the Lambda zip file. So maybe. A good possibility of a more bare bones upload command.

Still thinking about direction here...But the overall goal of aegis is to be light weight. So this falls outside current and foreseeable future goals.

from aegis.

Related Issues (20)

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.