Connect Azure Subscription with Human Managed via Terraform Script

huma
huma
  • Updated

This article covers the step-by-step procedure to connect your Azure Subscription account with the Human Managed Platform for various use cases related to cloud security, cloud scaling, and cloud management. 

 

Prerequisites 

User should have Azure Administrative Access permission.

 

Step 1: Create a service request for Human Managed to onboard your Azure Subscription

  1. Submit a request 
  2. In the Subject, type or select Connect Azure account 
  3. In the body, type the following details of your Azure subscription: 
    1. Account Name
    2. Tenant ID
  4. Once the ticket has been accepted by Human Managed and the ticket status has been updated, follow the next steps.  This will take approximately 24 hours. 

Step 2: Upload Terraform Script on Bash

  1. After your service request is processed, HM will send a link to download Application Registration Terraform Script.
  2. Download the script then open Azure Cloud Shell.
  3. If you are on 'PowerShell' view, switch to 'Bash' 
  4. Remove any existing terraform (*.tf) or terraform state files (*.tfstate).
  5. Upload Terraform on Bash.
    1. On the Bash screen, click on the “Upload” button and select the downloaded “Terraform Script”.

    2. Execute this command in the same directory where the terraform file has been uploaded and enter “Yes” when prompted: terraform init && terraform apply


  6. Navigate to the “Consent Link” and grant admin consent.
    1. Navigate to the “consent_link” received on the Azure Cloud shell.
    2. Under “Configured permissions”, click on “Grant admin consent for Default Directory”. Click on the “Yes” button in Grant admin consent confirmation.

  7. In the same service request ticket, copy application_id and client_secret then send the details to HM.
  8. Wait for a response from HM within 24 hours to confirm connection of your Azure accounts with Human Managed platform. 
 
 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.