terraform-routeros / terraform-provider-routeros

Terraform Provider for Mikrotik RouterOS
Mozilla Public License 2.0
208 stars 60 forks source link

routeros_capsman_provisioning: incorrect datatypes for some properties #551

Closed dsbibby closed 2 months ago

dsbibby commented 3 months ago

Describe the bug The following properties of the routeros_capsman_provisioning resource are currently defined as string but should be list(string):

This is particularly troublesome for the hw_supported_modes field as it is constrained to allow only ["a" "a-turbo" "ac" "an" "b" "g" "g-turbo" "gn"] but in actually ROS allows lists to be defined, e.g. ac,an

To Reproduce Try passing ac,an as a value to hw_supported_modes - it will raise an error: expected hw_supported_modes to be one of ["a" "a-turbo" "ac" "an" "b" "g" "g-turbo" "gn"], got ac,an

Expected behavior Each of the above properties should allow lists of strings to be passed.

vaerh commented 2 months ago

:tada: This issue has been resolved in version 1.61.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: