In Default output type is any, better inference for try(...) expressions · pulumi-terraform-module/398 we started defaulting to any type when we cant infer the correct type with certainty.
We should explain this to users somewhere in our docs with instructions for how to cast to the correct type and instructions how to use configuration to help us generate the right types.