Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning Field 'revision' not found in the schema in routeros_system_routerboard datasource #602

Closed
tofkamp opened this issue Nov 21, 2024 · 2 comments · Fixed by #604
Closed
Assignees
Labels
bug Something isn't working released

Comments

@tofkamp
Copy link

tofkamp commented Nov 21, 2024

Describe the bug
When I use the datasource I get the warning:
│ Warning: Field 'revision' not found in the schema

│ with module.mikrotik_xxxx.data.routeros_system_routerboard.data,
│ on mikrotik\main.tf line 347, in data "routeros_system_routerboard" "data":
│ 347: data "routeros_system_routerboard" "data" {}

│ [MikrotikResourceDataToTerraformDatasource] the field was lost during the Schema development: ▷ 'revision': 'r2' ◁

To Reproduce
data "routeros_system_routerboard" "data" {}

Expected behavior
Have the field revision available in the datasource, and no warning

Debug Information
See #588 for json data of the output

Additional context
Example code to show the version and hardware of the switch. It would be nice to also have the revision of the routerboard.

############# Report type and version ###########
data "routeros_system_resource" "data" {}
data "routeros_system_routerboard" "data" {}

output "architecture_name" {
value = data.routeros_system_resource.data.architecture_name
}

output "version" {
value = "${data.routeros_system_resource.data.version} ${data.routeros_system_routerboard.data.current_firmware}"
}
output "board_name" {
value = "${data.routeros_system_resource.data.board_name} ${data.routeros_system_routerboard.data.serial_number}"
}

@tofkamp tofkamp added the bug Something isn't working label Nov 21, 2024
@vaerh vaerh self-assigned this Nov 21, 2024
@vaerh
Copy link
Collaborator

vaerh commented Nov 21, 2024

Yes, I apologize! It's my mistake. Fixed it, check it after the release.

@vaerh
Copy link
Collaborator

vaerh commented Nov 21, 2024

🎉 This issue has been resolved in version 1.69.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vaerh vaerh added the released label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
2 participants