From 16345dc70fda16452ed7c771b4f9bde1d818a101 Mon Sep 17 00:00:00 2001 From: Mitch Garnaat Date: Sat, 29 Jun 2019 12:18:07 -0700 Subject: [PATCH] fix(cli): Python blank app should call app.synth(), not app.run() Fixes #3123 --- packages/aws-cdk/lib/init-templates/app/python/app.template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk/lib/init-templates/app/python/app.template.py b/packages/aws-cdk/lib/init-templates/app/python/app.template.py index cb97ca720ef95..26f118fe230d0 100644 --- a/packages/aws-cdk/lib/init-templates/app/python/app.template.py +++ b/packages/aws-cdk/lib/init-templates/app/python/app.template.py @@ -8,4 +8,4 @@ app = core.App() %name.PascalCased%Stack(app, "%name%-cdk-1") -app.run() +app.synth()