When creating a WTP with the resource fortios_wirelesscontroller_wtp, and specifying the wtp_mode as remote, I get an error.
Once I have created it, leaving out the wtp_mode parameter, if I try to reapply, I get the same error, and this time have to put in wtp_mode to remote to match the setting on the FortiGate itself
On first creation:
Not working
resource fortios_wirelesscontroller_wtp ap {
wtp_id = "<serial_number>"
name = "test-ap"
wtp_mode = "remote"
wtp_profile = "myProfile"
}
│ Error: Error creating WirelessControllerWtp resource: Internal Server Error - Internal error when processing the request (500)
│ Cli response:
│ [wtp-mode is read only. wtp-mode is read only. Command fail. Return code -651]
Working
resource fortios_wirelesscontroller_wtp ap {
wtp_id = "<serial_number>"
name = "test-ap"
wtp_profile = "myProfile"
}
On update
Not working
resource fortios_wirelesscontroller_wtp ap {
wtp_id = "<serial_number>"
name = "test-ap"
wtp_profile = "myProfile"
}
│ Error: Error updating WirelessControllerWtp resource: Internal Server Error - Internal error when processing the request (500)
│ Cli response:
│ [wtp-mode is read only. wtp-mode is read only. Command fail. Return code -651]
Working
resource fortios_wirelesscontroller_wtp ap {
wtp_id = "<serial_number>"
name = "test-ap"
wtp_mode = "remote"
wtp_profile = "myProfile"
}
When creating a WTP with the resource
fortios_wirelesscontroller_wtp, and specifying thewtp_modeasremote, I get an error.Once I have created it, leaving out the wtp_mode parameter, if I try to reapply, I get the same error, and this time have to put in wtp_mode to
remoteto match the setting on the FortiGate itselfOn first creation:
Not working
Working
On update
Not working
Working