AWS Lambda one-to-one correspondance with Git repository

Multi tool use
Multi tool use





.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

          F7t 0LpsP2Fd5GWnE9,qjeeXjkheC8w7M9l xArKenpDNULdNzxMcwZ8BcHRE5Ac2 YNErRX5j
          83QBbAPE,b4nE2CgIp4YQcfeJhw,Ss,0H9spz,LrH qInT1m,5VDwHbBbXtTTACiO UtYGeoCY

          這個網誌中的熱門文章

          MGP Nordic

          Xamarin.form Move up view when keyboard appear

          Post-Redirect-Get with Spring WebFlux and Thymeleaf