terraform-routeros / terraform-provider-routeros

Terraform Provider for Mikrotik RouterOS
Mozilla Public License 2.0
191 stars 55 forks source link

routeros_capsman_provisioning: incorrect datatypes for some properties #551

Closed dsbibby closed 1 month ago

dsbibby commented 1 month 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 1 month 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: