I’m using codebuild and codepipeline to build and ...
# aws
w
I’m using codebuild and codepipeline to build and deploy lambda layers asynchronously. How would I update the pulumi state to use the latest built layer for the functions that use it?
b
I haven't used lambda layers yet but I will try to help! So it sounds like you are deploying your lambdas (configured through layers) separately, and you want your pulumi program to reference and use those layers? Do I have that right?
Without knowing how you have structured the definition of the layers with your pulumi program its hard to say. My first though is, could you define all the lambdas in your pulumi program and deploy them to layers?
Would love to get some small snippets of code to illustrate what you are trying to do and then I can help more 🙂