sparse-intern-71089
05/04/2022, 3:57 PMnutritious-petabyte-61303
05/04/2022, 3:58 PMquiet-wolf-18467
nutritious-petabyte-61303
05/04/2022, 3:59 PMnutritious-petabyte-61303
05/04/2022, 3:59 PMnutritious-petabyte-61303
05/04/2022, 4:00 PMnutritious-petabyte-61303
05/04/2022, 4:03 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 PMnutritious-petabyte-61303
05/04/2022, 4:05 PMThat's fixed in recent versions of the CLIbrilliant 👍 that's probably the biggest gripe I've had with pulumi personally so far 🙂
nutritious-petabyte-61303
05/04/2022, 4:07 PMnutritious-petabyte-61303
05/04/2022, 4:08 PMechoing-dinner-19531
05/04/2022, 4:09 PMnutritious-petabyte-61303
05/04/2022, 4:09 PMnutritious-petabyte-61303
05/04/2022, 4:10 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
nutritious-petabyte-61303
05/04/2022, 4:10 PMechoing-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 PMnutritious-petabyte-61303
05/04/2022, 4:11 PMnutritious-petabyte-61303
05/04/2022, 4:12 PMechoing-dinner-19531
05/04/2022, 4:12 PMnutritious-petabyte-61303
05/04/2022, 4:12 PMnutritious-petabyte-61303
05/04/2022, 4:13 PMnutritious-petabyte-61303
05/04/2022, 4:13 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
nutritious-petabyte-61303
05/04/2022, 4:14 PMnutritious-petabyte-61303
05/04/2022, 4:15 PMnutritious-petabyte-61303
05/04/2022, 4:15 PMnutritious-petabyte-61303
05/04/2022, 4:16 PMechoing-dinner-19531
05/04/2022, 4:18 PMnutritious-petabyte-61303
05/04/2022, 4:21 PMnutritious-petabyte-61303
05/04/2022, 4:21 PM