Add support for --image-uri

BenHarris90 May 11, 2021

It would be great if `atlassian/aws-lambda-deploy` could support --image-uri as well as --zip-file for deploying to Lambda.

1 answer

1 vote
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2021

@BenHarris90 we think that it would be nice improvement for our pipe, thanks for raising this. We are happy to follow AWS new features and will notify you once we release it in the next update.

Regards, Galyna

BenHarris90 May 13, 2021

Thanks @Halyna Berezovska :-)

George Sunny July 20, 2021

Looking for this :)

George Sunny July 20, 2021

@BenHarris90 How are you updating lambda images now using pipelines?

BenHarris90 July 22, 2021

@George Sunny I'm just using the AWS CLI in the pipeline. @Halyna Berezovska is there any update on when this is likely to be implemented, or when your "next update" will be released?

Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 2021

@BenHarris90 we are testing out this feature  for our pipe this week

Like George Sunny likes this
adrienthiery August 17, 2021

Would love to see this coming as well 🙂

Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 20, 2021

@adrienthiery @BenHarris90 you may try with

 script:
- pipe: atlassian/aws-lambda-deploy:1.0.0
variables:
FUNCTION_NAME: 'my-lambda-function'
COMMAND: 'update'
IMAGE_URI: '${AWS_ACCOUNT}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/my-lambda-ecr-repository:image-tag'

However, we have not publish it yet officially, this is pre-release.

Like George Sunny likes this
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 20, 2021

@BenHarris90 @adrienthiery  be aware that this is only update, you have to create function from ecr image before updating it. You can use sam package and sam deploy to easily package and create function from ecr.

If you have more questions about setup, you may contact us or refer to AWS doc

https://docs.aws.amazon.com/lambda/latest/dg/configuration-images.html
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 20, 2021

Later we will consider this feature in other pipes that can support container images, for instance, aws-sam-deploy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events