Skip to content

alekc/terraform-application-argocd

Repository files navigation

Requirements

Name Version
terraform >= 0.14.8, < 2.0.0
kubectl >= 2.0.0

Providers

Name Version
kubectl >= 2.0.0

Modules

No modules.

Resources

Name Type
kubectl_manifest.argo_application resource

Inputs

Name Description Type Default Required
annotations Annotations for argocd Application map(string) {} no
app_source Type of application source (helm, git) string "helm" no
apply_out_of_sync_only Currently when syncing using auto sync Argo CD applies every object in the application. Turning on selective sync option which will sync only out-of-sync resources. bool false no
argocd_namespace The name of the target ArgoCD Namespace string "argocd" no
automated_prune Specifies if resources should be pruned during auto-syncing bool true no
automated_self_heal Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected bool true no
cascade_delete Set to true if this application should cascade delete bool true no
chart The name of the Helm chart string null no
destination_server Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API string "https://kubernetes.default.svc" no
destination_server_name Name is an alternate way of specifying the target cluster by its symbolic name string "" no
fail_on_shared_resource If true, the Argo CD will fail the sync whenever it finds a resource in the current Application that is already applied in the cluster by another Application. bool false no
helm_parameters Parameters that will override helm_values
list(object({
name : string,
value : any,
force_string : bool,
}))
[] no
helm_values Helm values as a block of yaml any null no
ignore_differences Ignore differences at the specified json pointers list(any) [] no
labels n/a map(string) {} no
name The name of this application string "" no
namespace n/a string n/a yes
path n/a string "" no
project The project that this ArgoCD application will be placed into. string "default" no
release_name Release name override (defaults to application name) string null no
replace If true, the Argo CD will use kubectl replace or kubectl create command to apply changes. bool false no
repo_url Source of the Helm application manifests string n/a yes
retry_backoff_duration The amount to back off. Default unit is seconds, but could also be a duration (e.g. 2m, 1h) string "5s" no
retry_backoff_factor A factor to multiply the base duration after each failed retry number 2 no
retry_backoff_max_duration The maximum amount of time allowed for the backoff strategy string "3m" no
retry_limit Number of failed sync attempt retries; unlimited number of attempts if less than 0 number 5 no
server_side_apply If true, Argo CD will use kubectl apply --server-side command to apply changes. bool false no
skip_crd If set to true, it will skip the deployment of crd entities from the helm chart bool false no
sync_option_create_namespace Namespace Auto-Creation ensures that namespace specified as the application destination exists in the destination cluster. bool true no
sync_option_validate disables resource validation (equivalent to 'kubectl apply --validate=true') bool false no
sync_options A list of sync options to apply to the application list(string) [] no
target_revision Revision of the Helm application manifests to use string "" no
wait_for_deletion If set to true, will wait until the object is removed completely from kubernetes before proceeding further bool false no
wait_until_healthy If set to true, it will wait until the application has reached status healthy before proceeding further bool false no

Outputs

No outputs.