Forums

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

Account level Deployment Environment Definition

Habib Haider October 11, 2019

Is it possible define the deployment environments and its variables on a account level? We currently have that defined on a repo level but there is a need for us to share them across repos. For example, AWS access and secret key tied to an environment which we are having to repeat on all repos causing us management inconvenience. 

1 answer

0 votes
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2019

Hello @Habib Haider,

Thanks for reaching out.

I'm not an expert particularly with Pipelines, but I believe Team and individual account variables is what you're after. They can be accessed from all repositories that belong to the team or account.

Hope this helps.

Cheers,
Daniil

Habib Haider October 13, 2019

@Daniil Penkin

Thanks for the quick response. I am aware of the ability to define variables on a team level but that doesn't tie into an deployment environment. Is it possible to do something like below on a team level? 

 

Team Level:

  Deployment:

    Test:

       AWS_Secret_Key: xyz

     UAT:

        AWS_Secret_Key: abc

     Production:

        AWS_Secret_Key: def

The above can be achieved on a repo level but I want that ability on a team level so that I can reuse it across repos. Hopefully that clarifies my question more.

 

Thanks! 

        

Peter Plewa
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 13, 2019

Hi @Habib Haider,

This is currently not possible, we are aware of this and are gathering feedback for adding additional variable levels (project, team) at https://jira.atlassian.com/browse/BCLOUD-14959 I would suggest adding your feedback and watching above issue.

Thanks,

Peter

Habib Haider October 22, 2019

Thanks Peter for your response. Is there any workaround for the time being?

Is it possible to reuse global/team variable at a deployment variable in a stage? Something similar to:

Team level:

  AWS_Secret_Key_Dev: xyz

  AWS_Secret_Key_Uat: xyz

  AWS_Secret_Key_Prod: xyz

Repo level:

  Deployment:

    Dev:

       AWS_Secret_Key: $AWS_Secret_Key_Dev 

    Uat:

       AWS_Secret_Key: $AWS_Secret_Key_Uat

    Prod:

       AWS_Secret_Key: $AWS_Secret_Key_Prod

   

    

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events