Skip to content

Commit

Permalink
chore(release): 1.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Jan 12, 2024
1 parent ace02aa commit 6544f3c
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.30.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.29.1...v1.30.0) (2024-01-12)


### Features

* **routing:** Manage Route Filters ([0c29e53](https://github.com/terraform-routeros/terraform-provider-routeros/commit/0c29e531be76e8c322062babd4c082d7e685ff7f)), closes [#330](https://github.com/terraform-routeros/terraform-provider-routeros/issues/330)

## [1.29.1](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.29.0...v1.29.1) (2024-01-11)


Expand Down
38 changes: 38 additions & 0 deletions docs/resources/routing_filter_rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# routeros_routing_filter_rule (Resource)


## Example Usage
```terraform
resource "routeros_routing_filter_rule" "test" {
chain = "testChain"
rule = "if (dst in 192.168.1.0/24 && dst-len>24) {set distance +1; accept} else {set distance -1; accept}"
comment = "comment"
disabled = true
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `chain` (String) Chain name.
- `rule` (String) Filter rule.

### Optional

- `comment` (String)
- `disabled` (Boolean)

### Read-Only

- `id` (String) The ID of this resource.
- `inactive` (Boolean)

## Import
Import is supported using the following syntax:
```shell
#The ID can be found via API or the terminal
#The command for the terminal is -> /routing/filter/rule/print show-ids
terraform import routeros_routing_filter_rule.test "*0"
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "terraform-provider-routeros",
"version": "1.29.1",
"version": "1.30.0",
"repository": {
"type": "git",
"url": "https://github.com/terraform-routeros/terraform-provider-routeros"
Expand Down

0 comments on commit 6544f3c

Please sign in to comment.