Hello, is it possible to silence this warning? ``...
# general
g
Hello, is it possible to silence this warning?
Copy code
warning: Type checking failed: 
    warning: Unexpected type at field "tags.__defaults":
               expected string type, got [] type
    warning: Type checking is still experimental. If you believe that a warning is incorrect,
    please let us know by creating an issue at <https://github.com/pulumi/pulumi-terraform-bridge/issues>.
    This will become a hard error in the future.
a
Hey @great-sunset-355. I don’t believe that it is possible to silence the error. Could you file a bug with a repro? We would love to make the type checker correct here.
g
I will try to find some time to make a toy project for reproduction. It happens when I combined
Copy code
const commonOptions: pulumi.CustomResourceOptions = {
  ignoreChanges: ["tags"],
  import: "someId"
}
because Pulumi failed to import due to the Tag difference between the actual resource and the code. However, I did not want to modify the
tags
property of all resources so I set
tags
to
ignoreChanges
which let me import stuff but I got the warning.
a