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
phobologic
left a comment
There was a problem hiding this comment.
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.
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.
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.