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

routeros_ip_route - field disabled missing #149

Closed
durandguru opened this issue Mar 10, 2023 · 1 comment · Fixed by #152
Closed

routeros_ip_route - field disabled missing #149

durandguru opened this issue Mar 10, 2023 · 1 comment · Fixed by #152
Assignees
Labels
bug Something isn't working released

Comments

@durandguru
Copy link
Contributor

Describe the bug
When an IP route is disabled via winbox the following message appear:
│ Warning: Field 'disabled' not found in the schema

│ with routeros_ip_route.route-nl-event,
│ on wireguard-s2s-event.tf line 8, in resource "routeros_ip_route" "route-nl-event":
│ 8: resource "routeros_ip_route" "route-nl-event" {

│ [MikrotikResourceDataToTerraform] The field was lost during the Schema development: ▷ 'disabled': 'true' ◁

To Reproduce
resource "routeros_ip_route" "route-1" {
dst_address = "172.22.5.0/24"
gateway = "10.255.255.110"
comment = "Route to test"
distance = "1"
}

Disable in Winbox

Expected behavior
Able to also create an route and enable/disable it in code

@durandguru durandguru added the bug Something isn't working label Mar 10, 2023
@vaerh vaerh self-assigned this Mar 10, 2023
vaerh added a commit that referenced this issue Mar 10, 2023
@gfenn-newbury
Copy link
Collaborator

🎉 This issue has been resolved in version 1.1.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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
Development

Successfully merging a pull request may close this issue.

3 participants