Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events