This message was deleted.
# general
s
This message was deleted.
l
Is this for use in a lambda or similar? You can't use Pulumi code from lambdas (or at least, you couldn't last time I tried...). Instead, put the value into something accessible at run time, like SSM Parameters, a vault, or similar. Then the serialized code should use normal AWS SDK to retrieve that value.
Alternatively you could pass the value into the serialized function, but that comes with a loss of encryption, I think.