flat-insurance-25294
01/25/2020, 2:02 AMgentle-diamond-70147
01/25/2020, 2:04 AMflat-insurance-25294
01/25/2020, 2:07 AMpulumi.getZones({state: "available" }).names.slice(0, 3)
which then uses
aws ec2 describe-availability-zones --region us-east-2
Internally I assume.
We want to make sure these values are cached for future usage. So it would be nice to store which AZs were used, because on future pulumi up
it might different zones.
Now, assume a zone is downRandomShuffle
not to update the random when the values change. It seems counterproductive, so it should be opt in. This would help tremendously.gentle-diamond-70147
01/25/2020, 2:11 AMflat-insurance-25294
01/25/2020, 2:13 AMtags: merge(defaultTags, {someOther: value}
gentle-diamond-70147
01/25/2020, 2:16 AMignoreChanges
(https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges) when the zone id is used. This would ignore any changes to the values that are returned from that lookup and effectively act as a cache (more or less).flat-insurance-25294
01/25/2020, 2:17 AMget_or_set()
style mode.
I know it sounds like we’re complaining, but that’s because it’s almost there to perfect, with such low hanging fruit(s).gentle-diamond-70147
01/25/2020, 2:20 AMflat-insurance-25294
01/25/2020, 2:21 AMgentle-diamond-70147
01/25/2020, 2:25 AM