Managing ArgoCD Applications with Terraform on Akuity Control Plane

Bundling ArgoCD root Applications with control plane Infrastructure as Code (IAC) in a single Terraform apply.

To manage ArgoCD Applications on Akuity’s control plane using Terraform. Here are two known workarounds:

Solution 1: Using the AKP Terraform Provider

  1. Use the Akuity Platform (AKP) Terraform Provider to create a user/password in the akp_instance resource.
  2. Store the password as a bcrypt hash in the argocd_secret.
  3. After applying the AKP TF provider, use the Open Source (OSS) ArgoCD Terraform Provider to deploy your bootstrap application.
  4. Authenticate using the generated username/password credentials.

Solution 2: Using Declarative Specs and the Akuity CLI

  1. Define your bootstrap application using Akuity’s Declarative Specs.
  2. Apply the configuration using the Akuity CLI.
  3. Optionally, use a third-party Terraform provider to automate the process.

For further details, refer to:
🔗 Akuity Terraform Provider
🔗 ArgoCD Terraform Provider
🔗 Akuity Declarative Specs