Coder Social home page Coder Social logo

Comments (3)

stevehodgkiss avatar stevehodgkiss commented on August 12, 2024

Hi @lethalpaga

It sounds like there are two parts to this

  • allowing CF updates via S3
  • nested stack support

We don't have any immediate plans to implement either, but we've discussed CF updates through S3 before. We don't use nested stacks and instead connect stacks together with stack outputs/parameter resolvers.

All nested templates would have to be declared alongside the main template, maybe as a file parameter (that would allow one to upload any kind of file to that bucket, if used by a UserData script or such) and uploaded to that bucket

That sounds reasonable. Just thinking out load: I wonder if we could use parameter resolvers for this. For example:

nested_stack_url:
  nested_stack: template-name.rb

The resolver would automatically compile and upload the template and provide an S3 url. I'm not sure how diffing would work on nested stacks though.

Happy for you to have a go implementing this. Thanks!

from stack_master.

luckymike avatar luckymike commented on August 12, 2024

The SparkleFormation nest!() method will generate a nested stack resource (which includes a path to the template in the S3 Bucket). You would need to support configuring the bucket(s) to use (and providing these to SparkleFormation at compilation) and uploading templates to the bucket.

This is implemented in sfn if you'd like to see it in action to understand how the parts work.

from stack_master.

patrobinson avatar patrobinson commented on August 12, 2024

We support S3 uploads now, I'm unsure if nested stacks are supported though. Feel free to open a new issue if there are any issues.

from stack_master.

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.