-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloudformation Dependency #9
Comments
Hi @pilgrim2go, please have a look at the example code in the Best |
@adonig: in stack.py
You'll see unexpected result ( eg some threads lost). Due to myy lack of concurrency experience, I can't show the reason why yet. But each ThreadPool per Stack looks weird to me at first. Besides, I can't find any line of code can specify Stack dependency. Such feature is really needed. |
Oh, no no no. It is automatically set to the number of CPUs your computer has:
That makes sense because your computer can run that many tasks in parallel. Stack dependencies are currently specified implicitly over stack outputs and stack input parameters. Here's an example:
In that scenario, the operations on |
If you don't use the outputs you could force blocking using |
If there is use for it, we could think about adding a constructor parameter
|
@adonig : Yes, I prefer DependsOn solution. That makes Stack definition more clearer and we can build complex dependency graph. Btw, I ended up using your solution to do something simple ( my case).
Code is copied from Alosius ( worked for me but not a generic solution) |
Hi,
I'm using Aloisius 0.4.
I have following Cloudformation template ( Using troposphere)
That is IAM template is depending on Base template
and User template depends on IAM template.
With new 'waiters' feature, can Aloisius implement such dependency chaining?
I'm digging the code but haven't figured it out yet.
Thanks again for your share.
The text was updated successfully, but these errors were encountered: