Terraform Installation Guide
Prerequisites
An Apono Admin account
An Apono API Token ready (follow the instructions to create one if you haven't created on yet)
Terraform CLI installed
Know the required Apono parameters and secrets for adding a Terraform resource to your Apono account.
Edit the Terraform configuration file (.tf)
In the section containing required providers, add Apono as follows:
Tip: Check the Terraform Registry for the latest Apono version.
Authenticate the Apono connection by adding your API Key:
Add the declarations for the resources that Apono will have access to. For each resource construct an Apono resource declaration composed of the following elements:
resource
string
"apono_integration" "[TERRAFORM_RESOURCE]"
connector_id
string
name
string
the set name of the resource
type
string
the set type of the resource
metadata
object
the metadata that must be passed to the resource
secret
object
for AWS include the region in which the secret is stored
The exact parameters to use for each of the many resources can be found in Integrations Metadata in the API Reference.
Example: MySQL on GCP
in this example, the Apono connector is added to the MySQL resource in the Terraform configuration:
Finish the Integration
Save the .tf configuration file with all of your changes.
Run terraform init in a terminal, followed by terraform apply.
Terraform will list all of the changes to make and ask for confirmation. Enter “yes”.
When the configuration has been updated, Terraform indicates that it was successful.
Last updated