terraform-provider-infoblox icon indicating copy to clipboard operation
terraform-provider-infoblox copied to clipboard

infoblox_record_host Doesn't Store Comment in the Statefile

Open pescetto opened this issue 5 years ago • 0 comments

When using the infoblox_record_host resource with a comment, the plan will always show the comment is being set from empty strings to whatever your comment is:

I changed some values:

  ~ infoblox_record_host.foo
      comment:        "" => "Some foo comment"

  ~ infoblox_record_host.bar
      comment:        "" => "Some bar comment"

When looking in the statefile, it's clear that the comment is not saved, even though it's saved in the actual infoblox record:

$ terragrunt state show infoblox_record_host.foo

id                            = record:host/ZG5zLmhvc3QkLjEuY29tLmVub3ZhLmZvby1tcGVzY2V0dG8tdGVzdC1mNTAx:foo-mpescetto-test-f501.enova.com/inside
comment                       =
configure_for_dns             = false
ipv4addr.#                    = 4
ipv4addr.0.address            = 10.1.1.22
ipv4addr.0.configure_for_dhcp = false
ipv4addr.0.mac                =
ipv4addr.1.address            = 10.1.2.22
ipv4addr.1.configure_for_dhcp = false
ipv4addr.1.mac                =
ipv4addr.2.address            = 10.1.2.23
ipv4addr.2.configure_for_dhcp = false
ipv4addr.2.mac                =
ipv4addr.3.address            = 10.7.1.23
ipv4addr.3.configure_for_dhcp = false
ipv4addr.3.mac                =
ipv6addr.#                    = 0
name                          = foo.test.com
ttl                           = 0
view                          = inside

pescetto avatar May 01 '19 21:05 pescetto