Resources
The following resources are used by this module:
-
argocd_application.this (resource)
-
argocd_project.this (resource)
-
jwt_hashed_token.tokens (resource)
-
null_resource.dependencies (resource)
-
null_resource.this (resource)
-
random_uuid.jti (resource)
-
time_static.iat (resource)
-
utils_deep_merge_yaml.values (data source)
Required Inputs
The following input variables are required:
base_domain
Description: The base domain for building Ingress following DevOps Stack convention, e.g. argocd.apps.<cluster_name>.<base_domain>
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):
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"
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"
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.
Providers
Name | Version |
---|---|
>= 4.2 |
|
>= 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. |
|
n/a |
yes |
|
Flag to indicate whether to enable admin user. |
|
|
no |
|
Automated sync options for the Argo CD Application resource. |
|
|
no |
|
Namespace for the resources AppProject and Application. |
|
|
no |
|
The base domain for building Ingress following DevOps Stack convention, e.g. argocd.apps.<cluster_name>.<base_domain> |
|
n/a |
yes |
|
Cluster Issuer |
|
n/a |
yes |
|
The name of the cluster to create. |
|
n/a |
yes |
|
n/a |
|
|
no |
|
List of accounts for which tokens will be generated. |
|
|
no |
|
Helm values, passed as a list of HCL structures. |
|
|
no |
|
Destination Namespace for Application child resources. |
|
|
no |
|
OIDC Settings |
|
|
no |
|
A list of repositories to add to ArgoCD. |
|
|
no |
|
Signature key for session validation. Must reuse bootstrap secretkey. |
|
n/a |
yes |
|
Override of target revision of the application chart. |
|
|
no |
Outputs
Name | Description |
---|---|
Map of extra accounts and their tokens. |
|
n/a |