hi again folks :wave: question - how do I go about...
# getting-started
m
hi again folks 👋 question - how do I go about diagnosing why Pulumi isn't updating fargate services in parallel?
also - would something like this work?
Copy code
import * as pulumi from "@pulumi/pulumi";

const config = new pulumi.Config();
const parallelism = config.getNumber("parallelism") || 10; // Default to 10 if not set

process.env.PULUMI_PARALLEL = parallelism.toString();
or do i need to set it as an ENV variable in the runtime
c
By default, Pulumi creates resources with max parallelism so you don't have to change the parallelism setting really. You should change it if you want to reduce the parallelism. What might be causing them to not be created in-parallel is the implicit dependencies they might have. It's hard to say why they are not created in-parallel without looking at your code though.