-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Cannot Tag any Cfn objects in .NET: Could not infer JSII type for .NET type 'JArray' #3244
Comments
Occurred when testing the fix for: #3093 |
This is a big blocker when all of our resources in AWS have one or more tags. |
Just wondering if anyone has a workaround for this issue? Apart from downgrading the version? It seems no matter where/when I cast a list of (for instance) security groups to a string array, it breaks during synth. |
Currently, I've had to downgrade to 0.28.0 |
I guess it might be the same for the SecurityGroupIds case, the stacktrace looks the same, so i hope this will fix that one as well. |
I have same issue with CfnTargetGroup and CfnListenerRule. I believe any CfnXXX object which has property with type array cause this exception |
…telisense docs, set target to netcoreapp2.1 (#772) This PR fixes various issues due to how we convert collection elements, and how the type reference is passed when converting. These two issues are similar and are due to nested Arrays of object not being casted properly: Fixes aws/aws-cdk#3244 Fixes aws/aws-cdk#3672 Added a unit test to cover the case This issue is due to Maps of Arrays of Anys not being casted properly: Fixes aws/aws-cdk#3813 Added a unit test to cover the case Also added support for xml documentation which is now added to the NuGet packages and should allow intellisense to provide in IDE help: Fixes #749 Fixes aws/aws-cdk#1846 Migrated the target framework to netcoreapp2.1 instead of netstandard2.0: Fixes #714
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 ...
What is the current behavior?
Any command to tag a CfnXXX object results in an exception when running cdk synth.
What is the expected behavior (or behavior of feature suggested)?
What is the motivation / use case for changing the behavior or adding this feature?
Please tell us about your environment:
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)
EDIT - (NGL321): Updated to reflect bug exists in current builds
The text was updated successfully, but these errors were encountered: