Installing a GCP connector on GKE using Terraform

Create a connector on Google Kubernetes Engine

Connectors are secure on-premises components that link Apono to your resources:

  • No secrets are read, cached, or stored

  • No account admin privileges need to be granted to Apono

  • The connector contacts your secret store or key vault to sync data or provision access

Once set up, this connector will enable you to sync data from cloud applications and grant and revoke access permissions through Google Kubernetes Engine (GKE).


Prerequisites

Item
Description

Apono Token

Account-specific Apono authentication value Use the following steps to obtain your token:

  1. On the Connectors page, click Install Connector. The Install Connector page appears.

  2. Click Cloud installation.

  3. Click Cloud installation > GCP > Install and Connect GCP Project > CLI (GKE).

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

Google Cloud Command Line Interface (Google Cloud CLI)

Command-line interface used to manage Google Cloud resources

Google Cloud Information

Information for your Google Cloud instance:

Optional:

  • Apono Connector ID

  • Service Account Name

  • Namespace

Owner Role

Google Cloud role that provides Owner permissions for the project or organization


Install a connector

Use the following sections to install a connector for either your Google Project or Google Organization.

Project

Follow these steps to install an Apono connector for a Google Project:

  1. Set the environment variables.

  1. (Optional) Set the following optional environment variables.

  1. In your shell environment, log in to Google Cloud and enable the API.

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

  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 Google Project instance.

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

Organization

Follow these steps to install an Apono connector for a Google Organization:

  1. In your shell environment, log in to Google Cloud and enable the API.

  1. Set the environment variables.

  1. (Optional) Set the following optional environment variables.

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

  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 Google Organization instance.

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


FAQ

Can the Apono Terraform module be pinned to a version?

Yes. You can append the version number to the source location with the ?ref=vX.X.X query string.

The following examples pin the version to 1.0.0 for a connector without permissions.

Last updated

Was this helpful?