The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add env variables to lambda function via pipe: atlassian/aws-lambda-deploy:1.10.0 in pipeline

Tarun Kamra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2023

I am using the pipe (

atlassian/aws-lambda-deploy:1.10.0

)
in my bitbucket pipeline for deploying to lambda. 
Now i need to add a few environment variables to my function .e.g. pixelUrl and other custom env var to be used inside lambda.

How can i add?


script:
- pipe: atlassian/aws-lambda-deploy:1.10.0
   variables:
      AWS_DEFAULT_REGION: ...
      AWS_OIDC_ROLE_ARN: ''
      FUNCTION_NAME: 'source-vast'
      COMMAND: 'update'
      ZIP_FILE: 'values.zip'

can i add env variables below in variables?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 6, 2023

@Tarun Kamra hi. This pipe does not support adding environment variables.

 

Regards, Igor

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events