Juniper / terraform-provider-mist

Terraform Provider for Juniper Mist
https://registry.terraform.io/providers/Juniper/mist/latest
Apache License 2.0
3 stars 4 forks source link

Provider produced invalid allowed_services values in mist_site_networktemplate.switch_mgmt.protect_re.allowed_services #40

Closed zbuchheit closed 1 month ago

zbuchheit commented 1 month ago

With the following HCL

resource "mist_site_networktemplate" "networktemplate_one" {
  site_id      = "redacted"
  dns_servers = ["8.8.8.8", "1.1.1.1"]
  dns_suffix  = ["mycorp.com"]
  ntp_servers = ["pool.ntp.org"]
  switch_mgmt = {
    protect_re = {
      enabled = true
      allowed_services = ["icmp", "ssh"]
    }
  }
}

When I look in the console/api call, the response that I get back for allowed_services is

              - allowed_services = [
                  - "\"icmp\"",
                  - "\"ssh\"",
                ] -> null
tmunzer commented 1 month ago

same as #39