Repository navigation
Releases
v1.0.0
Release Notes — F5 Distributed Cloud (F5 XC) Terraform Provider v1.0.0 (GA) (December 01, 2026)
We are pleased to announce the General Availability (GA) release of v1.0.0 of the official F5 Distributed Cloud (F5Networks/f5xc) Terraform Provider.
Built from the ground up on the HashiCorp Terraform Plugin Framework (TPF), v1.0.0 delivers a modern, strongly-typed provider architecture covering 136 resources, 133 data sources, and 1 ephemeral resource across F5 XC App Security & Load Balancing, Multi-Cloud & Edge Sites, DNS, API Security, Bot Defense, Networking, and Identity & Secret Management.
Requirements
- Terraform Core:
>= 1.11.0(required forWriteOnlyattributes;>= 1.10.0for ephemeral resources,>= 1.5.0for HCLimportblocks) - Provider Source:
F5Networks/f5xc
terraform {
required_version = ">= 1.11.0"
required_providers {
f5xc = {
source = "F5Networks/f5xc"
version = "~> 1.0"
}
}
}Key Features & Highlights
1. Flexible Authentication (API Token & PKCS#12 Certificate mTLS)
The provider supports both API Token and API Certificate (PKCS#12 mTLS) authentication. Configure one credential method at a time; provider arguments override their corresponding environment variables.
- API Token Authentication: Authenticate via
api_tokenor theF5XCProvider_API_TOKENenvironment variable (Authorization: APIToken <token>). - API Certificate (mTLS) Authentication: Authenticate via
api_p12_file(F5XCProvider_API_P12_FILE) together withVES_P12_PASSWORD(and optionalapi_ca_cert/F5XCProvider_API_CA_CERT). Full certificate chains inside PKCS#12 bundles are decoded natively over TLS 1.2+. - Timeouts & Log Hygiene: Configure API RPC timeouts via
timeout/F5XCProvider_TIMEOUT(default:30s). Sensitive headers (Authorization,X-Volterra-Token,Cookie,Set-Cookie) are automatically redacted from debug and trace logs.
# Example: API Token via environment variables (F5XCProvider_URL, F5XCProvider_API_TOKEN)
provider "f5xc" {
url = "https://<tenant>.console.ves.volterra.io/api"
}2. Native Resource Import (import Blocks & Config Generation)
Bring existing F5 XC infrastructure under Terraform management without recreation using either CLI terraform import or Terraform's declarative import block workflow (terraform plan -generate-config-out="generated.tf"):
import {
id = "<namespace>/<name>"
to = f5xc_http_loadbalancer.example
}- Standard & Composite Import IDs: Most resources use
<namespace>/<name>(or<name>for non-namespaced objects likef5xc_namespace). Resources with non-standard keys support dedicated composite IDs, including:f5xc_known_label:<namespace>/<key>=<value>f5xc_api_credential/f5xc_service_credential:system/<credential_name>or<vk8s_namespace>/<credential_name>f5xc_dns_zone_record,f5xc_bigip_irule,f5xc_user,f5xc_known_label_key,f5xc_allowed_domain,f5xc_mitigated_domain, andf5xc_protected_domain
- Clear Documentation: Every resource page documents its exact import ID format, whether import is supported (excluding action/write-only resources such as
f5xc_tf_params_actionandf5xc_cloud_credentials), and caveats for API-redacted fields (such as private keys onf5xc_certificate).
3. Client-Side Blindfold Encryption & Zero-State Secret Management
Keep plaintext secrets out of .tfstate, plan files, and CI/CD logs without relying on external vesctl binaries:
- New Ephemeral Resource (
ephemeral.f5xc_blindfold_secret): Performs client-side Blindfold envelope encryption directly in the provider using the tenant RSA public key (GET /secret_management/get_public_key) and a bound F5 XC Secret Policy. Generates an ephemeral single-use AES-256-GCM DEK (scrubbed from memory immediately after wrapping) and outputs astring:///<base64>ciphertext URL forblindfold_secret_info.location. Compatible with HCP Terraform, Spacelift, env0, and other managed runners. - Zero-Storage
WriteOnlyAttributes:blindfold_secret_info.locationenforcesWriteOnly: true(including insidef5xc_http_loadbalancer.routes, modeled as aListNestedAttribute) so ciphertexts are never persisted toterraform.tfstate. Where Terraform Plugin Framework set-hashing constraints prohibitWriteOnlyinsideSetAttribute/SetNestedAttribute, the provider automatically falls back toSensitive: true. - Write-Only Spec Uploads:
f5xc_api_definition_uploaderacceptsstring_valueandbytes_value(up to 5 MiB) asWriteOnlyattributes withcontent_hash-driven change detection.
ephemeral "local_file" "tls_key" {
filename = "${path.module}/tls.key"
}
ephemeral "f5xc_blindfold_secret" "tls_key" {
namespace = "shared"
policy_name = "production-secret-policy"
content = ephemeral.local_file.tls_key.content
}4. Automatic Dereferencing (Reactive Pre-Delete Unbinding)
F5 XC rejects DELETE requests with HTTP 409 (is still being referred by) when Terraform attempts to delete a referenced object in the same terraform apply that updates or removes its referrers.
To eliminate manual multi-step applies and dependency-ordering failures, the provider implements reactive pre-delete 409 conflict unbinding hooks for:
f5xc_origin_pool(unbinding fromf5xc_http_loadbalanceracrossdefault_route_pools,default_pool_list.pools, androutes[*].simple_route.origin_pools, dropping routes whose sole remaining pool is the deleted pool)f5xc_service_policy(plus pre-delete cleanup of namespaceactive_service_policies)f5xc_network_policy(plus pre-delete cleanup of namespaceactive_network_policies)f5xc_forward_proxy_policyf5xc_enhanced_firewall_policy
For policy resources, if removing a policy empties an active_*_policies container inside a required oneof block, the provider automatically sets the matching empty no_* branch so the parent resource remains valid until Terraform reconciles it.
5. Dereferencing Guardrail via Label (f5xc-terraform/unbind-group)
Because automatic unbinding on f5xc_origin_pool deletion mutates referring f5xc_http_loadbalancer objects, f5xc_origin_pool enforces an explicit opt-in label guardrail:
- Opt-In via Label: The provider unbinds an
f5xc_origin_poolfrom referringf5xc_http_loadbalancerresources only when both the origin pool and every referring load balancer already carry:(Note: The label is read from the live F5 XC objects, so it must be applied in an earlierlabels = { "f5xc-terraform/unbind-group" = "true" }
terraform applyprior to deletion.) - All-or-Nothing Safety & Fail-Fast: Before modifying any load balancer, the provider verifies all referrers. If the origin pool or any referring load balancer lacks the label, no load balancer is modified and the delete fails fast with an actionable diagnostic listing the unlabeled referrers (or suggesting
lifecycle { create_before_destroy = true }). - Plan & Apply Visibility: Destroy plans for
f5xc_origin_pooldisplay a warning explaining the unbind label behavior, and applies that unbind references emit aLoad balancers changed before deletewarning naming every modified load balancer. - Additional Deletion Guardrail:
f5xc_virtual_siteprovides thefail_if_referredattribute (defaults totrue) to explicitly control whether deletion is blocked when referenced by non-vK8s objects.
6. Request Throttling & 429 Retry Coordination
Automated pipelines running concurrent Terraform operations can opt into backend-driven retry handling for HTTP 429 Too Many Requests responses via the provider throttling block:
provider "f5xc" {
url = "https://<tenant>.console.ves.volterra.io/api"
throttling = {
max_retries = 5
initial_backoff = "250ms"
max_backoff = "8s"
multiplier = 2.0
jitter_ratio = 0.2
respect_retry_after = true
}
}- Supports exponential backoff with jitter, honors backend
Retry-Afterheaders, respects Terraform cancellation contexts, and shares per-resource cooldown timers across concurrent requests.
7. Additional GA Capabilities
- Policy Attachment Resources: Dedicated attachment resources decouple policy lifecycles from parent resources and avoid circular dependencies:
f5xc_http_loadbalancer_service_policy_attachmentsf5xc_tcp_loadbalancer_service_policy_attachmentsf5xc_securemesh_site_v2_enhanced_firewall_policy_attachmentsf5xc_securemesh_site_v2_forward_proxy_policy_attachments
- Field-Level State Healing & Drift Safety: Targeted per-field state healing recovers API-redacted or server-omitted attributes without overwriting sibling fields—preserving accurate out-of-band drift detection. Includes
RRSetListMergeforf5xc_dns_zoneapex NS/default RRSet handling, semantic list-order reconciliation, andoneofbranch preservation. - Specialized Resources & Data Sources:
f5xc_api_definition_uploader— declarative OpenAPI/Swagger upload to the F5 XC Object Storef5xc_registration_approval— Customer Edge (CE) registration approval workflowf5xc_tf_params_action— cloud site Terraform action execution withwait_for_actionandtf_outputf5xc_api_credential&f5xc_service_credential— credential lifecycle management includingrenew_triggerdata.f5xc_site_state— CE operational readiness (is_online/site_state) checks for automation pipelinesdata.f5xc_mobile_base_config— Bot Defense Mobile SDK base configuration download
- **Client Telemetry (`User-Age...