Skip to content

Guide: Migrating to Provider v3.0.0

This guide covers the migration from F5XC Terraform provider v2.x to v3.0.0. Version 3.0.0 introduces significant improvements to the provider’s API specification foundation, bringing enhanced documentation, better categorization, and improved example generation.

Provider v3.0.0 represents a major upgrade to the underlying API specification infrastructure:

Aspectv2.xv3.0.0
API Specs269 individual files38 domain-organized files
CategoriesPattern-basedAPI-defined (x-f5xc-category)
Subscription InfoStatic metadataAPI-defined (x-f5xc-requires-tier)
ExamplesHardcodedAPI-enriched (x-f5xc-example)
DescriptionsSchema-onlyMulti-level descriptions

Resources are now categorized based on official F5 API metadata rather than pattern matching. This provides more accurate Terraform Registry navigation:

  • Security: WAF, DDoS protection, certificates, blindfold encryption
  • Networking: DNS, CDN, network policies, rate limiting
  • Infrastructure: Sites, service mesh, cloud infrastructure
  • Platform: Tenants, identity, authentication, billing
  • Operations: Observability, statistics, support
  • AI Services: AI-powered features (preview)

Documentation now includes:

  • Subscription badges: Clear indication when Advanced subscription is required
  • Preview notices: Warning when features are in preview/beta status
  • Improved descriptions: Enriched descriptions from API metadata
  • Better examples: API-sourced example values for attributes

The provider now uses enriched API specifications that include:

  • x-f5xc-category: Official resource categorization
  • x-f5xc-requires-tier: Subscription tier requirements
  • x-f5xc-complexity: Resource complexity indicators
  • x-f5xc-is-preview: Preview/beta feature flags
  • x-f5xc-example: Enriched example values

Update your Terraform configuration to use v3.0.0:

terraform {
required_providers {
f5xc = {
source = "robinmordasiewicz/f5xc"
version = "~> 3.0"
}
}
}

After updating, run terraform plan to verify your configuration:

Terminal window
terraform init -upgrade
terraform plan

Version 3.0.0 may display new warnings about:

  • Subscription requirements: Resources now clearly indicate when Advanced subscription is needed
  • Preview features: Some features may be marked as preview with potential for change
  • Deprecations: Any deprecated attributes will be clearly documented

Version 3.0.0 maintains backward compatibility with v2.x configurations. However, be aware of:

  • Resource subcategories in the Terraform Registry may change due to improved categorization
  • Example configurations may be updated to reflect API-enriched values

No state migration is required. Your existing Terraform state files will continue to work without modification.

Terraform VersionProvider v3.0.0
1.8.0+Supported
1.7.xSupported
1.6.xSupported
1.5.xSupported
< 1.5.0Not supported

Issue: “Subscription Required” Warning

Section titled “Issue: “Subscription Required” Warning”

If you see a subscription warning for a resource you’re using:

  1. Verify your F5 Distributed Cloud subscription tier
  2. Contact F5 support if you believe the warning is incorrect
  3. Check the resource documentation for subscription requirements

If terraform plan shows changes after upgrading:

  1. Review the changes carefully - they may be improvements to default values
  2. The changes are typically cosmetic (descriptions, examples)
  3. Run terraform apply to update the state if changes are acceptable

If you have automation relying on resource subcategories:

  1. Update your automation to use the new category names
  2. The new categories align with official F5 API organization