adamant-football-558
12/16/2022, 10:15 AMpulumi up
has flat --parallel
available. Does it make sense to use component resources with this flag set to 3-4 to speed up the deployment of the resources?
Currently, we are not using the Component Resources, but I'm wondering if this could help optimize deployment time. At the moment, it's around 8 minutes. I wish to cut it by at least a few minutes because, soon, we would like to set gitops pipelines.limited-rainbow-51650
12/16/2022, 10:57 AM--parallel
flag, the default value is unlimited
which means we try to perform as much as possible concurrently. If you set a value yourself, you are actually reducing the number of resources our engine will provision concurrently.
When resources do not have any dependencies on each other, Pulumi will provision these concurrently. When you pass the output of one resource as an input to another resource, you create a dependency and Pulumi will provision the first resource before the other resource. The dependsOn
resource option makes a similar dependency.adamant-football-558
12/19/2022, 7:42 AMRegarding the --parallel flag, the default value is unlimited which means we try to perform as much as possible concurrently. If you set a value yourself, you are actually reducing the number of resources our engine will provision concurrently.
-> so no change here ๐
When resources do not have any dependencies on each other, Pulumi will provision these concurrently. When you pass the output of one resource as an input to another resource, you create a dependency and Pulumi will provision the first resource before the other resource. The dependsOn resource option makes a similar dependency.
-> here I might work on the diagram then ๐
thanks again