| page_title | UDS Provider |
|---|---|
| description | Manage UDS resources with OpenTofu. |
Manage UDS resources with OpenTofu.
~> This provider is an alpha release. Its interfaces and behavior may change between releases, including breaking changes.
terraform {
required_providers {
uds = {
source = "defenseunicorns/uds"
}
}
}
provider "uds" {
# Override the architecture detected from the local machine.
# default_architecture = "amd64"
# Use a custom directory for downloaded packages.
# zarf_cache_path = "~/.zarf-cache"
# Disable package loading and validation during planning.
# validate_packages_on_plan = false
# Force Helm to take ownership of conflicting Server-Side Apply fields.
# force_helm_ssa_conflicts = true
}default_architecture(String) Default system architecture of the target cluster. Valid values areamd64orarm64. Defaults to the local system architecture. Can also be configured with theUDS_DEFAULT_ARCHITECTUREenvironment variable.force_helm_ssa_conflicts(Boolean) Force Helm to take ownership of conflicting fields during Server-Side Apply operations during package deployment. Use when external tools (kubectl, HPAs, etc.) have modified resources. Defaults tofalse. Can also be configured with theUDS_FORCE_HELM_SSA_CONFLICTSenvironment variable.insecure_force_http(Boolean) Allow plain HTTP for OCI package sources and force plain HTTP for external Zarf registry pushes. Package sources continue to use HTTPS when available, while Zarf-managed registries use the transport recorded in cluster state. Defaults tofalse. Can also be configured with theUDS_INSECURE_FORCE_HTTPenvironment variable.insecure_skip_tls_verification(Boolean) Skip TLS certificate verification for HTTPS package sources and external Zarf registry pushes. Zarf-managed mTLS registries continue to use their managed trust configuration. Defaults tofalse. Can also be configured with theUDS_INSECURE_SKIP_TLS_VERIFICATIONenvironment variable.validate_packages_on_plan(Boolean) Whether to validate UDS packages and resolve source digests during planning. When enabled, the provider detects changes behind mutable source references and may load packages to catch package-dependent configuration errors early, such as invalid optional component names or signature verification failures. Disabling this avoids plan-time source access, but changes behind an unchanged source reference cannot independently trigger an update. Validation and digest recording still occur when another change causes apply. Defaults totrue. Can also be configured with theUDS_VALIDATE_PACKAGES_ON_PLANenvironment variable.zarf_cache_path(String) Filesystem path to the local Zarf cache directory. Defaults to~/.zarf-cache. Can also be configured with theUDS_ZARF_CACHE_PATHenvironment variable.