nutritious-petabyte-61303
05/04/2022, 3:57 PMquiet-wolf-18467
nutritious-petabyte-61303
05/04/2022, 3:59 PMechoing-dinner-19531
05/04/2022, 4:04 PMwe did debug the deployment duration to be caused by Pulumi doing massive amounts of unbatched encrypt/decrypt API calls sequentially, each adding a bit of latencyThat's fixed in recent versions of the CLI 🙂
nutritious-petabyte-61303
05/04/2022, 4:04 PMThat's fixed in recent versions of the CLIbrilliant 👍 that's probably the biggest gripe I've had with pulumi personally so far 🙂
echoing-dinner-19531
05/04/2022, 4:09 PMnutritious-petabyte-61303
05/04/2022, 4:09 PMBecause StackReferences themselves aren't typed?for one, and we don't actually have the declarative guarantee that the other stack exists & has deployed correctly before deploying the current stack. We can runtime validate it but that's not static analysis
echoing-dinner-19531
05/04/2022, 4:10 PMpulumi generate-type-definitions --stack-reference /some/other/stack --language go
that spat out a file with a typed function that did the stack reference based on the current state of the other stack would that help?nutritious-petabyte-61303
05/04/2022, 4:11 PMechoing-dinner-19531
05/04/2022, 4:12 PMnutritious-petabyte-61303
05/04/2022, 4:12 PMOh right I see, typed and graphed stack references. I think we might have a few things in pipeline that could help with that.Nice to hear, definitely looking forward to this
echoing-dinner-19531
05/04/2022, 4:18 PMnutritious-petabyte-61303
05/04/2022, 4:21 PM