Open
Description
What happened?
My network has floating IPs with descriptions. When I remove the descriptions and apply, the apply goes through successfully, but the changes do not happen.
Changing descriptions from one string to another works fine.
What did you expect to happen?
After removing descriptions and applying, I expect the descriptions to be removed.
Please provide a minimal working example
terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
}
}
required_version = ">= 1.0"
}
variable "hcloud_token" {sensitive=true}
provider "hcloud" {token = "${var.hcloud_token}"}
resource "hcloud_floating_ip" "floating_ip-a" {
home_location = "ash"
name = "floating_ip-a"
description = "AAA" # mark
type = "ipv4"
}
terraform apply # deploy floating ip with description
# drop line with mark
terraform apply # should remove description
terraform apply # should show clean plan but will attempt to remove description again