-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
New ALB-ECS templates #570
Conversation
This is the network stack which containers an ECS cluster with ALB and ElasticSearch cluster. This also leverages the new cross-stack functionality
This is the app stack which contains an ECS Task Definition that attaches to an ECS cluster and a CloudWatch Logs group which streams logs to an ElasticSearch cluster from the network template. This also leverages the new cross-stack functionality
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these files are being skipped by tests because they aren't .py files, but I'm not sure 100%. You also should make sure to add the expected resulting JSON to tests/examples_output
. This looks awesome though, thanks!
@@ -0,0 +1,344 @@ | |||
from troposphere import Join, GetAtt, ImportValue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a .py
file, like the rest in the examples
directory
@@ -0,0 +1,540 @@ | |||
import troposphere.elasticloadbalancingv2 as elb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file name should end with .py
(ALB-ECS-WithElasticSearchLogs-NetworkStack
-> ALB-ECS-WithElasticSearchLogs-NetworkStack.py
)
this is awesome guys, I just used this example to launch an ECS cluster with ALB! |
Ping @cb17 - any chance you can update this? |
@patrickpierson @phobologic Hi guys, sorry for the radio silence. I had been meaning to circle back around to this, but got a little disconnected from these templates. FWIW, the code for the ElasticSearch JS Lambda function I just stole from what gets generated in the console (and minified it, and added a "var esdomain = Ref(ESDomain)" to the front of it). So if someone wants to add that back in, I'm sure it could be useful to someone. |
I think that since this PR is over a year old it makes sense to close it and if you want to create a new one based on the newer version of troposphere it would be good. |
No description provided.