Closed txraider09 closed 3 months ago
Could you please pass us the provider debug?
provider "meraki" {
meraki_debug = "true"
}
export TF_LOG="DEBUG"
@txraider09
Hello,
The accepted target power for 2.4GHz radio is between 5 and 30. The API call should fail for this setting.
There is an option to disable 2.4GHz via Dashboard, in that case, the GET result will be -1
. However, that specific option is not available via API yet.
If you contact your Meraki account team, they can ask to prioritize this feature request.
Closing this issue, as Terraform can't provide functionality the API doesn't provide.
When running a data lookup on radio settings, a disabled 2.4 radio returns -1 as a value for target_power. When setting -1 in a resource, it errors out.
meraki_devices_wireless_radio_settings.example will be created
Error when trying to set resource target_power to -1:
│ Error: Failure when executing UpdateDeviceWirelessRadioSettings │ │ with meraki_devices_wireless_radio_settings.example, │ on wireless_radio_settings.tf line 23, in resource "meraki_devices_wireless_radio_settings" "example": │ 23: resource "meraki_devices_wireless_radio_settings" "example" { │ │ error with operation UpdateDeviceWirelessRadioSettings