If it takes a lot of time, its hard knowing what part of the pulumi code is most guilty in the time it takes
h
hallowed-horse-57635
02/01/2024, 6:53 PM
are you using the pulumi cloud backend ? if so, it has detailed info on various steps.
a
adamant-father-26302
02/01/2024, 6:53 PM
running
pulumi up/preview --refresh
on CI servers, and sometimes locally
l
little-cartoon-10569
02/01/2024, 7:51 PM
The Pulumi app makes it easy to find the info, but all backends do record the same information. Find the log of each update; it includes the time taken to complete the update. You need the verbose output to get all times, but the times for longer updates are shown even in the summary.
For example, in this snippet, the two event rules were updated quickly, but the two lambda functions took a while:
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.