Closed flostadler closed 1 week ago
Some of the providers binary, like aws, reached critical sizes. pulumi-resource-aws is now ~930MB big (see).
pulumi-resource-aws
By stripping debug symbols we save ~300MB for AWS. Panics and stack traces still contain all the necessary information.
In detail this adds the -s and -w linker flags which strip the symbol table, debug information and DWARF symbol table.
-s
-w
Relates to https://github.com/pulumi/pulumi-aws/issues/4383
Some of the providers binary, like aws, reached critical sizes.
pulumi-resource-aws
is now ~930MB big (see).By stripping debug symbols we save ~300MB for AWS. Panics and stack traces still contain all the necessary information.
In detail this adds the
-s
and-w
linker flags which strip the symbol table, debug information and DWARF symbol table.Relates to https://github.com/pulumi/pulumi-aws/issues/4383