05/05/2023, 12:39 PM
Hi. I implemented Redshift permission manager for groups and roles using Dynamic Provider, but facing incredibly slow work of
pulumi up -r
, It takes around 15-20 minutes for 500 resources in a stack, imagine there would be 5000 resources in the future this will not scale well. Is there any parallelism limits for Dynamic Providers? Basically each table grant is a resource in a stack, and it turns out every time Pulumi opens and closes database connection which may be too costly. How can I instantiate a session and run all queries in a single session?