This message was deleted.
# aws
s
This message was deleted.
c
@bright-orange-69401 I don’t necessarily have an answer for you. But I can point out a section of code that @gentle-diamond-70147 showed me awhile back, which as I understand is responsible for auto-population of the source code hash. https://github.com/pulumi/pulumi-aws/blob/master/provider/resources.go#L1501
b
Ah yes! Thanks @colossal-ram-89482 I can see in the code you linked:
We also automatically populate the asset hash property
There lies the great evil 😈 Auto-populating is fine as long as it doesn't overwrite user input (which seems to be the case here), although I think that summing the CRC of each file in a zip is a better method than hashing the zip altogether This is particularly true for a
Layer
: I tried to code Pulumi in a train once (before the lockdown) with intermittent 4G and having to upload a 30MB archive everytime was just impossible 😁