Install an Azure connector on ACI using Terraform

Learn how to deploy a connector in an Azure environment

Azure Container Instances (ACI) is a managed, serverless compute platform for running containerized applications. This guide explains how to install and configure an Apono connector on ACI in your Azure environment using Terraform.


Prerequisites

Item
Description

Apono Token

Account-specific Apono authentication value

Use the following steps to obtain your token:

  1. On the Connectorsarrow-up-right page, click Install Connector. The Install Connector page appears.

  2. Click Cloud installation > Azure > Install and Connect Azure Account > Terraform (Container Instance).

  3. Copy the token in step listed on the page in step 1.

Terraform Command Line Interface (Terraform CLI)

Toolarrow-up-right that enables interacting with Azure services using your command-line shell

Azure Cloud Information

Information for your Azure Cloud instance:

Owner Role (Azure RBAC)

Azure rolearrow-up-right with the following permissions:

  • Grants full access to manage all resources

  • Assigns roles in Azure RBAC

Global Administrator

Microsoft Entra rolearrow-up-right with the following permission:

  • Manages all aspects of Microsoft Entra ID and Microsoft services that use Microsoft Entra identities

Apono does not require Global Administrator access. This is required for the admin following this guide.


Install a new connector

circle-info

The connector requires the following roles:

  1. Directory Readers - to validate users in Azure

  2. User Access Administrator - to provision and deprovision access in the Management Group

Read more about these Microsoft Entra ID roles herearrow-up-right.

Follow these steps to set up a new connector:

  1. At the shell prompt, set the Apono environment variables to your account token.

export APONO_TOKEN=<APONO_TOKEN>
export RESOURCE_GROUP_NAME=<AZURE_RESOURCE_GROUP_NAME>
export SUBNET_ID=[<SUBNET_ID>]
  1. In a new or existing Terraform (.tf) file, add the following provider and module information to create a connector with permissions or without permissions:

Enables installing the connector in the cloud environment and managing access to resources

  1. At the Terraform CLI, download and install the provider plugin and module.

  1. Apply the Terraform changes. The proposed changes and a confirmation prompt will be listed.

  1. Enter yes to confirm deploying the changes to your Azure account.

  2. On the Connectorsarrow-up-right page, verify that the connector has been deployed.

You can now integrate with an Azure Management Group or Azure Subscription.

Last updated

Was this helpful?