Added
upcloud_kubernetes_kubeconfig: new data source and ephemeral resource for getting the cluster level kubeconfig or, whenauthentication(name of an authentication issuer configuration) is defined, the OIDC kubeconfig of a Managed Kubernetes cluster.upcloud_kubernetes_cluster_authentication: new resource for managing OIDC authentication issuer configurations of Managed Kubernetes clusters.upcloud_managed_object_storage: addmodefield toendpointto distinguish S3 API endpoints (api) from static website endpoints (static-website).
Changed
upcloud_firewall_ruleset: if you leave outrules, Terraform deletes all rules in the ruleset, also rules added outside Terraform.upcloud_firewall_ruleset: empty strings are no longer allowed indescription, rulecommentand the ruleaddressfields. Leave the field out instead. Ruleprotocolno longer allows"". To match all protocols, leaveprotocolout or setall.upcloud_firewall_ruleset:labelsnow uses the same key and value checks as labels on other resources.
Fixed
upcloud_firewall_ruleset:enabled = falseon a new ruleset now creates it disabled. Before, apply failed.upcloud_firewall_ruleset: removing an optional field from config now removes its value from the ruleset. Before, Terraform kept the old value. A left-outenabledor ruleenabledistrue, and a left-outdefault_dns_rules_enabledisfalse.upcloud_floating_ip_address: retry assigning the address while the target server is in maintenance state, instead of failing withSERVER_STATE_ILLEGALerror.upcloud_server: retry assigning private IP addresses and creating, modifying and deleting network interfaces while the server is in maintenance state, instead of failing withSERVER_STATE_ILLEGALerror.upcloud_server: retry attaching storage while another server is detaching it, instead of failing withSTORAGE_STATE_ILLEGALerror.upcloud_server: retry attaching storage for up to 2 minutes while another server still has it attached, instead of failing withSTORAGE_ATTACHEDerror. This happens when servers in the same apply move a storage between them.- Read UPCLOUD_DEBUG_* environment variables also in more recent resources that use v9 version of the UpCloud Go SDK.