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
- Use the Akuity Platform (AKP) Terraform Provider to create a user/password in the
akp_instance
resource. - Store the password as a bcrypt hash in the
argocd_secret
. - After applying the AKP TF provider, use the Open Source (OSS) ArgoCD Terraform Provider to deploy your bootstrap application.
- Authenticate using the generated username/password credentials.
Solution 2: Using Declarative Specs and the Akuity CLI
- Define your bootstrap application using Akuity’s Declarative Specs.
- Apply the configuration using the Akuity CLI.
- 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