CiscoDevNet / terraform-provider-sdwan

Terraform Cisco SD-WAN Provider
https://registry.terraform.io/providers/CiscoDevNet/sdwan
Mozilla Public License 2.0
17 stars 11 forks source link

[UX2.0] sdwan_system_ntp_profile_parcel reading servers doesn't work #236

Closed tzarski0 closed 2 months ago

tzarski0 commented 2 months ago
  1. Prepare NTP resource with two servers.
  2. TF apply.
  3. Do TF apply again. TF will show diff in server block although servers are already configured.
    ~ resource "sdwan_system_ntp_profile_parcel" "system_ntp_profile_parcel" {
        id                 = "9bebe825-5f6e-456b-81b8-66f25c607a2c"
        name               = "ntp"
      ~ servers            = [
          ~ {
              + hostname_ip_address       = "test1.com"
              + prefer_this_ntp_server    = true
              + source_interface_variable = "{{ntp_server_source_interface}}"
              + vpn                       = 0
            },
          ~ {
              + hostname_ip_address    = "test2.com"
              + prefer_this_ntp_server = false
              + source_interface       = "GigabitEthernet0/0/0"
              + vpn                    = 0
            },
        ]
      ~ version            = 1 -> (known after apply)
        # (2 unchanged attributes hidden)
    }
tzarski0 commented 2 months ago

Will be fixed in 0.3.10.