Create a Terraform Illumio Cloud Onboarding Application for Azure
Learn to create an onboarding application for Azure subscriptions using Terraform. Illumio provides a Terraform module to automate Azure application creation and grant the application the necessary permissions for integration with Illumio Cloud. Create the Terraform Azure application before you onboard your Azure subscription using Terraform. See Onboard an Azure Subscription using a Terraform Illumio Cloud Onboarding Application.
Here's an overview of the workflow to onboard Azure subscriptions using Terraform.
Create and Register a Terraform Illumio Onboarding Application
Launch the Microsoft Azure Portal and sign in.
Browse to Microsoft Entra ID (formerly Azure Active Directory) > Properties.
Copy the tenant ID and save it in a text file. You'll need it later when you modify your Terraform script for onboarding Azure.
Browse to App registrations > New registrations.
Enter the name and click Register. Terraform uses this application only to create another application, which provides Illumio Cloud access to your tenant and its subscriptions.
Copy the Application (client) ID and save it in a text file. You'll need it later when you modify your Terraform script for onboarding Azure.
Get your Terraform Illumio Onboarding Application Client Secret
Click Certificate & secrets.
Under Client secrets, click New client secret.
Enter a description, select the recommended expiration, and click Add.
Copy the client secret value and save it in a text file. You'll need it later when you modify your Terraform script for onboarding Azure.
Set Permissions for your Terraform Illumio Onboarding Application
Click API permissions.
Browse to Configured permissions > Add a permission.
Under Commonly used Microsoft APIs, browse to Microsoft Graph > Delegated permissions.
Expand the following:
Application: check the box for Application.ReadWrite.All
Directory: check the box for Directory.ReadWrite.All
Click API permissions.
Click Grant admin consent for Default Directory for Azure to grant the permission.
Assign Roles and Access for your Terraform Illumio Onboarding Application
Navigate to the Subscription and copy the Subscription ID to save it in a text file. You'll need it later when you modify your Terraform script for onboarding Azure.
Click Access Control (IAM).
Browse to Add > Add a role assignment.
Choose the following field values:
Role tab: Privileged administrator roles: Owner
Members tab: Assign access to: 'User, group, or service principal'
In the Members tab, click Select Members.
Enter the application name or ID and click Select.
Click Save.
The application now includes the correct permissions with the correct identifiers and credentials. You will need these identifiers and credentials when you modify your Azure onboarding Terraform script. See Onboard an Azure Subscription using a Terraform Illumio Cloud Onboarding Application.