Some checks failed
CI / build (push) Failing after 33s
- Regenerated docs/ via tfplugindocs: 51 files covering all 20 resources and 30 data sources with auto-extracted schemas and examples - Removed stale docs for old resources (build.md, ssh.md) - CHANGELOG.md: added v1.0.0 entry with full feature list, breaking changes, and security notes - terraform-registry-manifest.json: confirmed protocol_versions ["6.0"] is correct for Terraform Plugin Framework Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2.3 KiB
2.3 KiB
1.0.0 (2026-03-16)
Complete rewrite of the VirtFusion Terraform provider.
BREAKING CHANGES:
- Provider rewritten using Terraform Plugin Framework (previously SDKv2). State from v0.x is not compatible.
virtfusion_sshresource renamed tovirtfusion_ssh_key.virtfusion_buildresource renamed tovirtfusion_server_build.- Server data source schema changed:
user_idreplaced withowner_id, resource fields (cpu_cores, memory, storage) removed from list view (available on single server data source). - IP block
typeattribute changed from string to int64 (4=IPv4, 6=IPv6). Gateway/netmask now sourced from nested IPv4 object.
FEATURES:
- 20 managed resources: server, server_build, server_firewall, server_ipv4, server_network_whitelist, server_traffic_block, server_power_action, server_password_reset, ssh_key, user, user_auth_token, user_server_auth_token, user_password_reset, ip_block_range, self_service_credit, self_service_resource_pack, self_service_hourly_group_profile, self_service_hourly_resource_pack, self_service_resource_group_profile, self_service_pack_servers_action.
- 30 data sources: server, servers, servers_by_user, server_backups, server_firewall, server_templates, server_traffic, server_traffic_blocks, server_vnc, hypervisor, hypervisors, hypervisor_group, hypervisor_groups, hypervisor_group_resources, package, packages, package_templates, ip_block, ip_blocks, ssh_key, ssh_keys_by_user, user, dns_service, iso, queue_item, self_service_currencies, self_service_resource_pack, self_service_hourly_stats, self_service_report, self_service_usage.
- Automatic multipage pagination for all list data sources via
GetAllPagesclient method. - Configurable
resultsattribute on all list data sources (default: 300). - Provider endpoint accepts hostname, full URL, or URL with
/api/v1path — normalizes automatically. - Environment variable support:
VIRTFUSION_ENDPOINTandVIRTFUSION_API_TOKEN.
SECURITY:
- URL path injection prevention: all user-supplied strings are escaped with
url.PathEscapebefore URL interpolation. - Sensitive attributes:
api_token, auth tokentokenandurl, and password resetpasswordfields are marked sensitive. - API error response bodies truncated to 500 bytes to prevent leaking sensitive data.
0.0.3 (2023-06-16)
- Initial public release with basic server, build, and SSH key resources.