This message was deleted.
# aws
s
This message was deleted.
f
There are a few ways to do this. You can inject those values via environment variables to the function or via some external service like SSM. And you would use pulumi to wire that up as you can pass an
Output
in to creating the environment vars or SSM. If you’re using the inline function serialization in TypeScript, you can also use
.get()
on the
Output
object inline w/in your function code.
e
So basically I can either use
environment: {variables: {foo: 'bar'}}
or I can do inside the callback:
Copy code
myQueue.id.get()
f
yup — either of those should work
e
Alright, I will try it. Thank you very much!
By the way, do you know of an easy way to send a message to an SQS queue within a Lambda?
f
Not off the top of my head. I would assume there’s a method within the AWS SDK for this.
e
I see. Thanks 🙂
Is it ok that my by serializing the function Output I get a HUGE
details
output when running
pulumi up
?
f
I think you’ll get a huge details output when using function serialization in general because the code is part of the diff
e
Thanks @faint-table-42725 !