github UpCloudLtd/terraform-provider-upcloud v5.50.0

41 minutes ago

Added

  • upcloud_kubernetes_kubeconfig: new data source and ephemeral resource for getting the cluster level kubeconfig or, when authentication (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: add mode field to endpoint to distinguish S3 API endpoints (api) from static website endpoints (static-website).

Changed

  • upcloud_firewall_ruleset: if you leave out rules, Terraform deletes all rules in the ruleset, also rules added outside Terraform.
  • upcloud_firewall_ruleset: empty strings are no longer allowed in description, rule comment and the rule address fields. Leave the field out instead. Rule protocol no longer allows "". To match all protocols, leave protocol out or set all.
  • upcloud_firewall_ruleset: labels now uses the same key and value checks as labels on other resources.

Fixed

  • upcloud_firewall_ruleset: enabled = false on 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-out enabled or rule enabled is true, and a left-out default_dns_rules_enabled is false.
  • upcloud_floating_ip_address: retry assigning the address while the target server is in maintenance state, instead of failing with SERVER_STATE_ILLEGAL error.
  • upcloud_server: retry assigning private IP addresses and creating, modifying and deleting network interfaces while the server is in maintenance state, instead of failing with SERVER_STATE_ILLEGAL error.
  • upcloud_server: retry attaching storage while another server is detaching it, instead of failing with STORAGE_STATE_ILLEGAL error.
  • upcloud_server: retry attaching storage for up to 2 minutes while another server still has it attached, instead of failing with STORAGE_ATTACHED error. 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.

Don't miss a new terraform-provider-upcloud release

NewReleases is sending notifications on new releases.