terraform-provider-akp

command module
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

README

Terraform logo

Terraform Provider for Akuity Platform

Tests

With this provider you can manage Argo CD instances and clusters on Akuity Platform.

Requirements

Typical use case

Add a new cluster test-cluster to the existing Argo CD instance manualy-created and install the agent to the configured cluster.

  1. Create an API key for your organization
    • Use Admin role for the key
  2. Configure Environment variables
export AKUITY_API_KEY_ID=<key-id>
export AKUITY_API_KEY_SECRET=<key-secret>
  1. Use this or similar configuration:
terraform {
  required_providers {
    akp = {
      source = "akuity/akp"
      version = "~> 0.7.0"
    }
  }
}

provider "akp" {
  org_name = "<organization-name>"
}

resource "akp_instance" "argocd" {
   name = "argocd"
   argocd = {
      "spec" = {
         "instance_spec" = {
            "declarative_management_enabled" = true
         }
         "version" = "v2.11.4"
      }
   }
}

resource "akp_cluster" "example" {
   instance_id = akp_instance.argocd.id
   kube_config = {
      "config_path" = "test.kubeconfig"
   }
   name      = "test-cluster"
   namespace = "test"
   spec = {
      data = {
         size = "small"
      }
   }
}

See more examples in here.

Upgrading

See the upgrade guides before upgrading across minor versions.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
akp
hack
check-api-client-fields command
Package main implements a CI check that ensures every field defined in akp/apis/v1alpha1/*.go is also present in the corresponding struct in the pinned github.com/akuity/api-client-go module.
Package main implements a CI check that ensures every field defined in akp/apis/v1alpha1/*.go is also present in the corresponding struct in the pinned github.com/akuity/api-client-go module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL