Skip to content

Azure

In Claudie, Azure cloud provider requires you to input a few variables in order to function properly. These variables are

  • subscriptionId which is the ID to your subscription. Bear in mind that all resources you define needs to be supported by that subscription and will be charged there.

  • tenantId which is the ID of your tenant in the active directory.

  • clientId which is the ID for your service principal, under the tenancy you specified.

  • clientSecret which is the secret, for specified service principal.

Furthermore, service principal has to have a certain role assigned to it. For VM and VPC management it is Virtual Machine Contributor and Network Contributor respectively; and for resource group creation and deletion,the permission are

permissions {
    actions = [ 
      "Microsoft.Resources/subscriptions/resourceGroups/write",
      "Microsoft.Resources/subscriptions/resourceGroups/delete",
      ]
  }

DNS requirements

If your Azure provider will be used for DNS, you need to manually

since Claudie does not support their dynamic creation.