https://pulumi.com logo
#general
Title
# general
r

rhythmic-rain-31941

10/25/2021, 3:33 PM
Hi Team #general, Using pulumi over terraform, will give any edge on performance? we have a scenario where our states are getting longer and they are taking longer and longer when doing plan/apply, are there any documentation which talks about this?
m

millions-furniture-75402

10/25/2021, 3:36 PM
Not exactly what you're asking for, but perhaps helpful https://www.pulumi.com/docs/intro/vs/terraform/
šŸ‘ 1
Also important to know: https://www.pulumi.com/docs/intro/concepts/how-pulumi-works/#creation-and-deletion-order
Pulumi executes resource operations in parallel whenever possible, but understands that some resources may have dependencies on other resources. If anĀ outputĀ of one resource is provided as an input to another, the engine records the dependency between these two resources as part of the state and uses these when scheduling operations. This list can also be augmented by using theĀ dependsOnĀ resource option.
šŸ‘ 1
You can try using
tf2pulumi
with your terraforms and benchmark the difference
b

billowy-army-68599

10/25/2021, 3:40 PM
@rhythmic-rain-31941 from a performance perspective, only secret deserialization will make stacks take longer, are you using lots of secrets? We have an in flight change to make this perform better
also, are you using OSS backends?
r

rhythmic-rain-31941

10/25/2021, 4:16 PM
Thanks @millions-furniture-75402 for sharing the thoughts. will check the links out.
@billowy-army-68599 not many secrets we use in our tf, backend is S3