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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Handle multi-subscriptions in pipe azure-web-apps-containers-deploy

I'm trying to use azure-web-apps-containers-deploy (https://bitbucket.org/microsoft/azure-web-apps-containers-deploy/src/master/) in my pipeline with a service principal.

 

The problem is that my service principal has access to several subscriptions and there is no option in the pipe to set the subscription to use (by running az account set -s "My Working Subscription").

 

Is there a workaround? or is there a possibility that this feature will added to the pipe?

2 answers

@Rémi Mercier we have released a new version 1.1.0.

Use

pipe: atlassian/azure-web-apps-containers-deploy:1.1.0
variables:
AZURE_APP_ID: $AZURE_APP_ID
AZURE_PASSWORD: $AZURE_PASSWORD
AZURE_TENANT_ID: $AZURE_TENANT_ID
AZURE_RESOURCE_GROUP: 'your-group'
AZURE_APP_NAME: 'your-app'
DOCKER_CUSTOM_IMAGE_NAME: '...'
...
AZURE_SUBSCRIPTION: 'Azure subscription name or ID'

Looking forward to seeing your feedback.

If this does not work for you, we'll reproduce and investigate your case

Regards, Galyna

Oh nice! 

I'm back to you when I will have could try it on my side.

Thanks :)

Like Galyna Zholtkevych likes this
0 votes

Hi @Rémi Mercier ,

Thank you for your question!

We'll investigate the feature and notify you!

 

Cheers,
Oleksandr Kyrdan

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

527 views 15 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you