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

Implement routeros_system_logging resource #261

Merged
merged 4 commits into from
Sep 21, 2023

Conversation

jlpedrosa
Copy link
Contributor

This enables configuring the rules of logging for RouterOS

@jlpedrosa jlpedrosa requested a review from a team as a code owner September 20, 2023 21:34
"topics": "critical"
} */

var validTopics = []string{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were you planning to do validation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad: I implemented validation but terraform does not support validation for lists :( and I only found out after it was implemented (error message on the sdk), I deleted the function but not the slice.

I've just deleted the slice.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I found a way to add the validation.

@vaerh vaerh merged commit f8c89aa into terraform-routeros:main Sep 21, 2023
3 checks passed
@vaerh
Copy link
Collaborator

vaerh commented Sep 21, 2023

🎉 This PR is included in version 1.16.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@vaerh vaerh added the released label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants