Giter Site home page Giter Site logo

Comments (9)

joaoasrosa avatar joaoasrosa commented on July 20, 2024

Hi @tbertenshaw,

Thanks for the feedback. That use case wasn't covered.
However, it is possible to update the lambda function code with another command.

AWS API was a cmd to update the lambda code. The update lambda function cmd only updates the code itself, not the configuration.
It is acceptable if the lambda function exists to update the code?

Cheers, João Rosa

from awslambdademo.

tbertenshaw avatar tbertenshaw commented on July 20, 2024

Hi @joaoasrosa ,
If i understand what you are saying/asking. then i think in the case of lambda functions which are published from octopus as part of a CI from teamcity. you would want to create or update from the same publish. I don't know how the the octopus templates/functionlaity works but assume it calls AWS powershell commands in the background passing in the arguments specified in the template? if so could it be changed to update if exists? or another steptemplate for existing functions?

That would be amazing if so.

Cheers
Tim

from awslambdademo.

joaoasrosa avatar joaoasrosa commented on July 20, 2024

Hi @tbertenshaw ,
The Octopus template can be enhanced to work in that way since the AWS API was methods to check if the lambda function exists.
This will cover the requirements?

Cheers, João Rosa

from awslambdademo.

tbertenshaw avatar tbertenshaw commented on July 20, 2024

yes that would be great.!

Tim Bertenshaw

from awslambdademo.

joaoasrosa avatar joaoasrosa commented on July 20, 2024

@tbertenshaw the PM (OctopusDeploy/Library#499) was created. Waiting for the merge.

from awslambdademo.

tbertenshaw avatar tbertenshaw commented on July 20, 2024

Thats great @joaoasrosa !

from awslambdademo.

joaoasrosa avatar joaoasrosa commented on July 20, 2024

@tbertenshaw closing the issue since the PR was merged.

from awslambdademo.

tbertenshaw avatar tbertenshaw commented on July 20, 2024

Hi @joaoasrosa thats amazing !

Incidentally (quick question) if you already have an octopus deployment created using this step template. how do you get the new version? do you delete and readd? and do you need to reimport the step template library on your octopus server?

Cheers
Tim

from awslambdademo.

joaoasrosa avatar joaoasrosa commented on July 20, 2024

I'm using Octopus version 3.7.12, and I had imported the step from the library.
If you go to the step, and click settings, you can update from there.

from awslambdademo.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.