-
Notifications
You must be signed in to change notification settings - Fork 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
‼️ (python): NameError: name 'SubnetSelection' is not defined #21790
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
language/python
Related to Python bindings
management/tracking
Issues that track a subject or multiple issues
p0
Comments
anggras
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Aug 27, 2022
github-actions
bot
added
the
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
label
Aug 27, 2022
corymhall
added
p0
language/python
Related to Python bindings
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Aug 29, 2022
corymhall
changed the title
aws_ec2: NameError: name 'SubnetSelection' is not defined
‼️ (python): NameError: name 'SubnetSelection' is not defined
Aug 29, 2022
corymhall
added
the
management/tracking
Issues that track a subject or multiple issues
label
Aug 29, 2022
This was referenced Aug 29, 2022
mergify bot
pushed a commit
that referenced
this issue
Aug 29, 2022
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date. This applies a fix for a [p0](#21790). Fix is applied from jsii-pacmak@1.65.1.
ryparker
pushed a commit
that referenced
this issue
Aug 29, 2022
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date. This applies a fix for a [p0](#21790). Fix is applied from jsii-pacmak@1.65.1.
Fix has been released in CDK v2.39.1. |
josephedward
pushed a commit
to josephedward/aws-cdk
that referenced
this issue
Aug 30, 2022
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date. This applies a fix for a [p0](aws#21790). Fix is applied from jsii-pacmak@1.65.1.
ryparker
pushed a commit
that referenced
this issue
Aug 30, 2022
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date. This applies a fix for a [p0](#21790). Fix is applied from jsii-pacmak@1.65.1. # Conflicts: # packages/@aws-cdk/aws-eks/package.json # yarn.lock
Fix has been released for v1 CDK in 1.170.1 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
language/python
Related to Python bindings
management/tracking
Issues that track a subject or multiple issues
p0
Please add your +1 👍 to let us know you have encountered this
Status: Fixed in CDK v2.39.1 and v1.170.1
Overview:
CDK Python applications throw a
NameError
error on synthesis indicating that a name is 'not defined'.For example when trying to use
SubnetSelection
Will throw the error
NameError: name 'SubnetSelection' is not defined
Complete Error Message:
Workaround:
Currently the only workaround is to stay on
v2.38.1
Solution:
Related Issues:
Framework Version
2.39.0
Language
Python
The text was updated successfully, but these errors were encountered: