Requirements

The following requirements are needed by this module:

Providers

The following providers are used by this module:

Resources

The following resources are used by this module:

Required Inputs

The following input variables are required:

accounts_pipeline_tokens

Description: API token for pipeline account.

Type: string

base_domain

Description: The base domain for building Ingress following DevOps Stack convention, e.g. argocd.apps.<cluster_name>.<base_domain>

Type: string

cluster_issuer

Description: Cluster Issuer

Type: string

cluster_name

Description: The name of the cluster to create.

Type: string

server_secretkey

Description: Signature key for session validation. Must reuse bootstrap secretkey.

Type: string

Optional Inputs

The following input variables are optional (have default values):

admin_enabled

Description: Flag to indicate whether to enable admin user.

Type: bool

Default: false

app_autosync

Description: Automated sync options for the Argo CD Application resource.

Type:

object({
    allow_empty = optional(bool)
    prune       = optional(bool)
    self_heal   = optional(bool)
  })

Default:

{
  "allow_empty": false,
  "prune": true,
  "self_heal": true
}

argocd_namespace

Description: Namespace for the resources AppProject and Application.

Type: string

Default: "argocd"

dependency_ids

Description: n/a

Type: map(string)

Default: {}

extra_accounts

Description: List of accounts for which tokens will be generated.

Type: list(string)

Default: []

helm_values

Description: Helm values, passed as a list of HCL structures.

Type: any

Default:

[
  {
    "argo-cd": {}
  }
]

namespace

Description: Destination Namespace for Application child resources.

Type: string

Default: "argocd"

oidc

Description: OIDC Settings

Type: any

Default: null

repositories

Description: A list of repositories to add to ArgoCD.

Type: map(map(string))

Default: {}

target_revision

Description: Override of target revision of the application chart.

Type: string

Default: "v1.0.0"

Outputs

The following outputs are exported:

extra_tokens

Description: Map of extra accounts and their tokens.

id

Description: n/a = Requirements

Name Version

>= 1.2

>= 4.2

>= 1

jwt

>= 1.1

>= 3

>= 0.9

>= 1.6

Providers

Name Version

>= 4.2

jwt

>= 1.1

n/a

>= 3

>= 0.9

>= 1.6

Resources

Name Type

resource

resource

resource

resource

resource

resource

resource

data source

Inputs

Name Description Type Default Required

API token for pipeline account.

string

n/a

yes

Flag to indicate whether to enable admin user.

bool

false

no

Automated sync options for the Argo CD Application resource.

object({
    allow_empty = optional(bool)
    prune       = optional(bool)
    self_heal   = optional(bool)
  })
{
  "allow_empty": false,
  "prune": true,
  "self_heal": true
}

no

Namespace for the resources AppProject and Application.

string

"argocd"

no

The base domain for building Ingress following DevOps Stack convention, e.g. argocd.apps.<cluster_name>.<base_domain>

string

n/a

yes

Cluster Issuer

string

n/a

yes

The name of the cluster to create.

string

n/a

yes

n/a

map(string)

{}

no

List of accounts for which tokens will be generated.

list(string)

[]

no

Helm values, passed as a list of HCL structures.

any

[
  {
    "argo-cd": {}
  }
]

no

Destination Namespace for Application child resources.

string

"argocd"

no

OIDC Settings

any

null

no

A list of repositories to add to ArgoCD.

map(map(string))

{}

no

Signature key for session validation. Must reuse bootstrap secretkey.

string

n/a

yes

Override of target revision of the application chart.

string

"v1.0.0"

no

Outputs

Name Description

Map of extra accounts and their tokens.

id

n/a