Skip to content

Create Azure cloud profile via CLI#79

Merged
98sean98 merged 2 commits intomainfrom
cp-create-az
Apr 11, 2023
Merged

Create Azure cloud profile via CLI#79
98sean98 merged 2 commits intomainfrom
cp-create-az

Conversation

@yawjalik
Copy link
Contributor

No description provided.

@yawjalik yawjalik requested a review from 98sean98 March 28, 2023 09:06
@yawjalik yawjalik self-assigned this Mar 28, 2023
@yawjalik yawjalik linked an issue Mar 28, 2023 that may be closed by this pull request
@utkarsh867
Copy link
Member

@yawjalik @98sean98 What is this waiting on?

Copy link
Contributor

@98sean98 98sean98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let the user choose which az account they want to use deploifai for.

@yawjalik
Copy link
Contributor Author

Updates:

  1. Prompts for azure account if there are more than one
  2. Added spinner
  3. Call get_token using generated credentials to ensure that they are usable, along with 5 attempts to call backend cloud profile create api for azure

@yawjalik yawjalik requested a review from 98sean98 April 11, 2023 14:04
@98sean98 98sean98 merged commit 4e5f6f6 into main Apr 11, 2023
@98sean98 98sean98 deleted the cp-create-az branch April 11, 2023 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

create cloud profile for azure by reading azure cli auth states

3 participants