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: jsii throwing error on Python list after recent CDK update #16039
Comments
Hey! This is in fact not a |
When manually configuring NAT gateways for a VPC, a relatively opaque error is emitted when insufficient EIP allocation IDs are provided, compared to the subnet count. Added a proactive validation of the allocation IDs to improve the actionability of the error message. Fixes #16039
) When manually configuring NAT gateways for a VPC, a relatively opaque error is emitted when insufficient EIP allocation IDs are provided, compared to the subnet count. Added a proactive validation of the allocation IDs to improve the actionability of the error message. Fixes #16039 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
@RomainMuller - thanks for figuring this out! It's been the bane of my existence for quite some time now. Looking forward to updating and testing. |
…#16040) When manually configuring NAT gateways for a VPC, a relatively opaque error is emitted when insufficient EIP allocation IDs are provided, compared to the subnet count. Added a proactive validation of the allocation IDs to improve the actionability of the error message. Fixes aws#16039 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…#16040) When manually configuring NAT gateways for a VPC, a relatively opaque error is emitted when insufficient EIP allocation IDs are provided, compared to the subnet count. Added a proactive validation of the allocation IDs to improve the actionability of the error message. Fixes aws#16039 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…#16040) When manually configuring NAT gateways for a VPC, a relatively opaque error is emitted when insufficient EIP allocation IDs are provided, compared to the subnet count. Added a proactive validation of the allocation IDs to improve the actionability of the error message. Fixes aws#16039 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
🐛 Bug Report
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)Go
General Information
python3 -m pip show jsii
)Problem
After a relatively recent CDK fix to finally allow an easy method for using static IP addresses (#14250), I get an error in
jsii
while trying to runcdk synth
on my Python stack. The exception thrown is:jsii.errors.JSIIError: Cannot get element 1 from eipalloc-AAAAAAAA
My Python stack snippet is as follows:
The TypeScript test committed with the PR shows
eip_allocation_ids
should be a sequence (or Pythonlist
). The Python docs suggest the same.It seems
jsii
is not handling this correctly.The text was updated successfully, but these errors were encountered: