Install Azure connector on ACI using Terraform

The remainder of this guide focuses on installing and configuring the Azure Apono connector on ACI in your Azure environment using Terraform.


Before you begin

You must satisfy the Apono connector for Azure requirements to complete this tutorial.

Installation Steps

In The Terminal

In a new or existing Terraform (.tf) file, add the following provider and module information to create a connector with permissions or without permissions:

With permissions

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

module "connector" {
    source = "github.com/apono-io/terraform-modules/azure/connector-with-permissions/stacks/apono-connector"
    aponoToken = $APONO_TOKEN
    resourceGroup = $AZURE_RESOURCE_GROUP
    ipAddressType = // "Private" or "None"
    subnetIds = [$SUBNET_ID]
}

Without permissions

Enables installing the connector in the cloud environment but managing access to non-Azure resources, such as self-hosted databases

module "connector" {
    source = "github.com/apono-io/terraform-modules/azure/connector-without-permissions/stacks/apono-connector"
    aponoToken = $APONO_TOKEN
    resourceGroup = $AZURE_RESOURCE_GROUP
    ipAddressType = // "Private" or "None"
    subnetIds = [$SUBNET_ID]
}
  1. At the Terraform CLI, download and install the provider plugin and module.

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

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

  2. On the Connectors page, verify that the connector has been deployed.

Next Steps

Last updated