Skip to content

Releases

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 17:54

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 for WriteOnly attributes; >= 1.10.0 for ephemeral resources, >= 1.5.0 for HCL import blocks)
  • 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_token or the F5XCProvider_API_TOKEN environment variable (Authorization: APIToken <token>).
  • API Certificate (mTLS) Authentication: Authenticate via api_p12_file (F5XCProvider_API_P12_FILE) together with VES_P12_PASSWORD (and optional api_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 like f5xc_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, and f5xc_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_action and f5xc_cloud_credentials), and caveats for API-redacted fields (such as private keys on f5xc_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 a string:///<base64> ciphertext URL for blindfold_secret_info.location. Compatible with HCP Terraform, Spacelift, env0, and other managed runners.
  • Zero-Storage WriteOnly Attributes: blindfold_secret_info.location enforces WriteOnly: true (including inside f5xc_http_loadbalancer.routes, modeled as a ListNestedAttribute) so ciphertexts are never persisted to terraform.tfstate. Where Terraform Plugin Framework set-hashing constraints prohibit WriteOnly inside SetAttribute/SetNestedAttribute, the provider automatically falls back to Sensitive: true.
  • Write-Only Spec Uploads: f5xc_api_definition_uploader accepts string_value and bytes_value (up to 5 MiB) as WriteOnly attributes with content_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 from f5xc_http_loadbalancer across default_route_pools, default_pool_list.pools, and routes[*].simple_route.origin_pools, dropping routes whose sole remaining pool is the deleted pool)
  • f5xc_service_policy (plus pre-delete cleanup of namespace active_service_policies)
  • f5xc_network_policy (plus pre-delete cleanup of namespace active_network_policies)
  • f5xc_forward_proxy_policy
  • f5xc_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_pool from referring f5xc_http_loadbalancer resources only when both the origin pool and every referring load balancer already carry:
    labels = {
      "f5xc-terraform/unbind-group" = "true"
    }
    (Note: The label is read from the live F5 XC objects, so it must be applied in an earlier terraform apply prior 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_pool display a warning explaining the unbind label behavior, and applies that unbind references emit a Load balancers changed before delete warning naming every modified load balancer.
  • Additional Deletion Guardrail: f5xc_virtual_site provides the fail_if_referred attribute (defaults to true) 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-After headers, 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_attachments
    • f5xc_tcp_loadbalancer_service_policy_attachments
    • f5xc_securemesh_site_v2_enhanced_firewall_policy_attachments
    • f5xc_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 RRSetListMerge for f5xc_dns_zone apex NS/default RRSet handling, semantic list-order reconciliation, and oneof branch preservation.
  • Specialized Resources & Data Sources:
    • f5xc_api_definition_uploader — declarative OpenAPI/Swagger upload to the F5 XC Object Store
    • f5xc_registration_approval — Customer Edge (CE) registration approval workflow
    • f5xc_tf_params_action — cloud site Terraform action execution with wait_for_action and tf_output
    • f5xc_api_credential & f5xc_service_credential — credential lifecycle management including renew_trigger
    • data.f5xc_site_state — CE operational readiness (is_online / site_state) checks for automation pipelines
    • data.f5xc_mobile_base_config — Bot Defense Mobile SDK base configuration download
  • **Client Telemetry (`User-Age...
Read more