Skip to content
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

Python - cdk init creates a template with deprecated run call #3123

Closed
1 of 5 tasks
lkoniecz opened this issue Jun 28, 2019 · 0 comments · Fixed by #3132 or MechanicalRock/tech-radar#14 · May be fixed by MechanicalRock/cdk-constructs#5, MechanicalRock/cdk-constructs#6 or MechanicalRock/cdk-constructs#7
Labels
needs-triage This issue or PR still needs to be triaged.

Comments

@lkoniecz
Copy link

Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.

  • I'm submitting a ...

    • 🪲 bug report
    • 🚀 feature request
    • 📚 construct library gap
    • ☎️ security issue or vulnerability => Please see policy
    • ❓ support request => Please see note at the top of this template.
  • What is the current behavior?
    If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
    cdk init --language=python creates app.py with the following content

app = core.App()
DupaStack(app, "dupa-cdk-1")

app.run()
  • What is the expected behavior (or behavior of feature suggested)?
    Generate the code with app.synth()

  • What is the motivation / use case for changing the behavior or adding this feature?
    Auto generated code should work out of the box.

  • Please tell us about your environment:

    • CDK CLI Version: 0.36.0 (build 6d38487)
    • Module Version: 0.36.0
    • OS: [Ubuntu 19.4]
    • Language: [Pytho ]
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)

@lkoniecz lkoniecz added the needs-triage This issue or PR still needs to be triaged. label Jun 28, 2019
@garnaat garnaat self-assigned this Jun 28, 2019
garnaat pushed a commit to garnaat/aws-cdk that referenced this issue Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment