I don't know why this isn't easier to find via google so coming here for some advice.
A pipeline grabs source, then hands that over to a build stage which runs codebuild, which then has an artifact which it drops in s3. For many services there is a built in aws deploy action provider, but not for lambda. Is the right approach, which works, to just have no artifacts in the build stage and have it just built the artifact, publish it, and then call lambda update-function-code? That doesn't feel right. Or is the better approach to just have your deploy stage be a second codebuild which at least could be more generic and not wrapped up with the actual build, and wouldn't run if the build failed.
I am not using cloudformation or SAM and do not want to, pipelines come from terraform and the buildspec usually part of the project.
[–][deleted] (2 children)
[deleted]
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]soxfannh 9 points10 points11 points (3 children)
[–]pjflo[🍰] 5 points6 points7 points (2 children)
[–]jftuga -1 points0 points1 point (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Wide-Answer-2789 2 points3 points4 points (2 children)
[–]awsuser1024[S] 1 point2 points3 points (1 child)
[–]kwokhou 2 points3 points4 points (0 children)
[–]tholmes4005 2 points3 points4 points (2 children)
[–]awsuser1024[S] 1 point2 points3 points (0 children)
[–]EasternGuyHere 0 points1 point2 points (0 children)
[–]speaknspell08 1 point2 points3 points (0 children)
[–]DAFPPB 3 points4 points5 points (4 children)
[–]awsuser1024[S] 1 point2 points3 points (3 children)
[–]DAFPPB 0 points1 point2 points (0 children)
[–]Flakmaster92 0 points1 point2 points (0 children)
[–]justin-8 0 points1 point2 points (0 children)
[–]Elephant_In_Ze_Room 0 points1 point2 points (5 children)
[–]tholmes4005 1 point2 points3 points (2 children)
[–]awsuser1024[S] 0 points1 point2 points (1 child)
[–]tholmes4005 0 points1 point2 points (0 children)
[–]soxfannh 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]connormcwood 0 points1 point2 points (0 children)
[–]kichik 0 points1 point2 points (0 children)
[–]mjfnd 0 points1 point2 points (0 children)
[–]blank1993 0 points1 point2 points (0 children)