AWS Lambda one-to-one correspondance with Git repository





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















We would like to version control our AWS Lambda functions, but still be able to edit the code online in the AWS editor and have the repository automatically updated.



A simple Git<->Lambda correspondance could be done as:



git push   <-> Creates new version of function in AWS ($latest)
git commit <-> Save in AWS Lambda editor
(although no custom commit message when saved online,
could be a fixed comment like 'edited and saved online')
git tag <-> create/updates alias for version


This seems possible to do using AWS Code Deploy/Code Commit triggers, Boto and Lambda functions. Before reinventing the wheel,



What would be the best approach to achieve this?



The main problem I see is that saving a function on the online editor does not trigger an event I can catch...









share































    0















    We would like to version control our AWS Lambda functions, but still be able to edit the code online in the AWS editor and have the repository automatically updated.



    A simple Git<->Lambda correspondance could be done as:



    git push   <-> Creates new version of function in AWS ($latest)
    git commit <-> Save in AWS Lambda editor
    (although no custom commit message when saved online,
    could be a fixed comment like 'edited and saved online')
    git tag <-> create/updates alias for version


    This seems possible to do using AWS Code Deploy/Code Commit triggers, Boto and Lambda functions. Before reinventing the wheel,



    What would be the best approach to achieve this?



    The main problem I see is that saving a function on the online editor does not trigger an event I can catch...









    share



























      0












      0








      0








      We would like to version control our AWS Lambda functions, but still be able to edit the code online in the AWS editor and have the repository automatically updated.



      A simple Git<->Lambda correspondance could be done as:



      git push   <-> Creates new version of function in AWS ($latest)
      git commit <-> Save in AWS Lambda editor
      (although no custom commit message when saved online,
      could be a fixed comment like 'edited and saved online')
      git tag <-> create/updates alias for version


      This seems possible to do using AWS Code Deploy/Code Commit triggers, Boto and Lambda functions. Before reinventing the wheel,



      What would be the best approach to achieve this?



      The main problem I see is that saving a function on the online editor does not trigger an event I can catch...









      share
















      We would like to version control our AWS Lambda functions, but still be able to edit the code online in the AWS editor and have the repository automatically updated.



      A simple Git<->Lambda correspondance could be done as:



      git push   <-> Creates new version of function in AWS ($latest)
      git commit <-> Save in AWS Lambda editor
      (although no custom commit message when saved online,
      could be a fixed comment like 'edited and saved online')
      git tag <-> create/updates alias for version


      This seems possible to do using AWS Code Deploy/Code Commit triggers, Boto and Lambda functions. Before reinventing the wheel,



      What would be the best approach to achieve this?



      The main problem I see is that saving a function on the online editor does not trigger an event I can catch...







      git amazon-web-services aws-lambda





      share














      share












      share



      share








      edited Dec 1 '18 at 17:27







      arod

















      asked Nov 25 '18 at 3:23









      arodarod

      5,07651825




      5,07651825
























          0






          active

          oldest

          votes


















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          這個網誌中的熱門文章

          Tangent Lines Diagram Along Smooth Curve

          Yusuf al-Mu'taman ibn Hud

          Zucchini