-
Notifications
You must be signed in to change notification settings - Fork 159
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
Warnings emitted when importing aws:lb:Listener, One or more imported inputs failed to validate #4362
Comments
Thanks for reporting this @Zaid-Ajaj! I have a hunch that this is nils/default values for primitives returned by the AWS SDK not being handled correctly. I tried reproducing this, but couldn't trigger this exact error. But another one:
This is the Listener I tried importing:
I'm quite sure this line here is triggering the initial issue. It's converting the pointer to Similarly this here will trigger the issue I was able to find because it coerces the pointers for stickiness We'll need to fix the upstream handling of optional values in read for elbv2 Listener. |
Correcting the code of the imported resource and running Running this terraform program and then importing the resource (
tf apply output
|
Opened upstream issue: hashicorp/terraform-provider-aws#38861 |
Adding this to pulumi/pulumi-terraform-bridge#2028 as well - I do think this could be mitigated by pulumi/pulumi-terraform-bridge#2314 if it could be made to handle recursive values. |
The issue was fixed upstream and just released as part of |
This issue has been addressed in PR #4571 and shipped in release v6.54.0. |
Similar to #4361 importing
aws:lb:Listener
works but emits warnings:The text was updated successfully, but these errors were encountered: