Hello, is there any solution to the performance issues with
@pulumi/azure-native
?
The performance we deliver is expected given the size of @pulumi/azure-native. They need to find a way to pull in fewer than two million lines of type definitions given a single deep import.
I thought this had already been partially resolved? I feel confident that I read a release announcement about this. I think you can now import much smaller chunks of definitions.
g
great-sunset-355
09/24/2024, 8:11 PM
I doubt it, https://github.com/pulumi/pulumi-azure-native/issues/3422
But I adjusted imports and it gave me a little bit, however, the second I got rid off the lib it was very noticeable.
So for now I will keep it in a separate project.
l
little-cartoon-10569
09/24/2024, 8:22 PM
What happens if you import from just the subdirectories, rather than "@pulumi/azure-native"?
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.