GithubHelp home page GithubHelp logo

Comments (5)

jvasallo avatar jvasallo commented on June 21, 2024

Foremast is stateless in the sense that it doesn't keep a running configuration of your current state but rather your desired state. Also, the lambda pipeline's scope is really around the lambda itself not the S3 bucket. For that, the s3 pipeline exist; which not only can deploy to s3 but also manage the configuration of a bucket as well. The way I have solved this is to use the Foremast S3 pipeline to manage a target s3 bucket, and then registering multiple lambda_configurations against that master bucket:
https://foremast.readthedocs.io/en/latest/configuration_files/application_json.html#lambda_configurations

This way you can still use Foremast to deploy your lambda and the s3 bucket to manage the configuration of all the various lambda/notifications you might need triggered on specific paths.

from foremast.

vkhvorostianyi avatar vkhvorostianyi commented on June 21, 2024

But in that case s3 trigger looks useless. If one can configure everything using s3 pipeline and s3 trigger overwrites event configuration i just won't use the s3 tigger, there is no sense to be "stateless" - looks to me. And it's not obvious, so one can instantly broke the s3 event configuration because he was expecting conf update, not overwriting. And it's a real case.

from foremast.

vkhvorostianyi avatar vkhvorostianyi commented on June 21, 2024

if nobody's going to look into it, I can.

from foremast.

vkhvorostianyi avatar vkhvorostianyi commented on June 21, 2024

of course if it's valuable for the project

from foremast.

stale avatar stale commented on June 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from foremast.

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.