[ v ] Have you tested the operation in the API directly?
[ v ] Do you have the latest Terraform provider version?
[ x ] Review the compatibility matrix before opening an issue. - the page does not exist
Describe the bug
When trying to create a meraki_networks_switch_stp resource the plugin reads data first and then crashes while trying to parse resulting data.
locals {
networks_switch_stp = flatten([
for domain in try(local.meraki.domains, []) : [
for org in try(domain.organizations, []) : [
for network in try(org.networks, []) : {
network_id = meraki_networks.networks["${domain.name}/${org.name}/${network.name}"].id
data = network.switch_stp
} if try(network.switch_stp, null) != null
]
]
])
}
Prerequisites
Describe the bug When trying to create a meraki_networks_switch_stp resource the plugin reads data first and then crashes while trying to parse resulting data.
Plugin log:
Expected behavior Do not crash.
Environment (please complete the following information):