Skip to content

Commit

Permalink
chore(release): 1.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed May 29, 2024
1 parent 9a6d466 commit f672534
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 46 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## [1.53.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.52.1...v1.53.0) (2024-05-29)


### Features

* **logging-action:** Support for logging actions setup ([f8b9824](https://github.com/terraform-routeros/terraform-provider-routeros/commit/f8b9824a1f00ee456ab3a87793900922942daf42)), closes [#477](https://github.com/terraform-routeros/terraform-provider-routeros/issues/477)


### Bug Fixes

* **certificate-scep-server:** Rename the resource from "routeros_certificate_scep_server" to "routeros_system_certificate_scep_server" ([a9a8138](https://github.com/terraform-routeros/terraform-provider-routeros/commit/a9a81385f2280fa1485d142b7c1e1d9dde541aff)), closes [#473](https://github.com/terraform-routeros/terraform-provider-routeros/issues/473)

## [1.52.1](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.52.0...v1.52.1) (2024-05-28)


Expand Down
48 changes: 3 additions & 45 deletions docs/resources/certificate_scep_server.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,5 @@
# routeros_certificate_scep_server (Resource)
---


## Example Usage
```terraform
resource "routeros_system_certificate" "example_root_ca" {
name = "example_root_ca"
common_name = "Example Root CA"
key_usage = ["key-cert-sign", "crl-sign"]
trusted = true
sign {
}
}
resource "routeros_certificate_scep_server" "example_scep_server" {
ca_cert = routeros_system_certificate.example_root_ca.name
path = "/scep/example_scep_server"
days_valid = 30
}
```

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

### Required

- `ca_cert` (String) Name of the CA certificate to use.
- `path` (String) HTTP path starting with `/scep/`.

### Optional

- `days_valid` (Number) The number of days to sign certificates for.
- `disabled` (Boolean)
- `next_ca_cert` (String) Name of the next CA certificate or `none`.
- `request_lifetime` (String) Request lifetime (5m minimum).

### Read-Only

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

## 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 -> /certificate/scep-server/print show-ids
terraform import routeros_certificate_scep_server.example_scep_server "*1"
```
#### This is an alias for backwards compatibility between plugin versions.
Please see documentation for [routeros_system_certificate_scep_server](system_certificate_scep_server.md)
48 changes: 48 additions & 0 deletions docs/resources/system_certificate_scep_server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# routeros_system_certificate_scep_server (Resource)


## Example Usage
```terraform
resource "routeros_system_certificate" "example_root_ca" {
name = "example_root_ca"
common_name = "Example Root CA"
key_usage = ["key-cert-sign", "crl-sign"]
trusted = true
sign {
}
}
# You can also use the alias "routeros_certificate_scep_server"
resource "routeros_system_certificate_scep_server" "example_scep_server" {
ca_cert = routeros_system_certificate.example_root_ca.name
path = "/scep/example_scep_server"
days_valid = 30
}
```

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

### Required

- `ca_cert` (String) Name of the CA certificate to use.
- `path` (String) HTTP path starting with `/scep/`.

### Optional

- `days_valid` (Number) The number of days to sign certificates for.
- `disabled` (Boolean)
- `next_ca_cert` (String) Name of the next CA certificate or `none`.
- `request_lifetime` (String) Request lifetime (5m minimum).

### Read-Only

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

## 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 -> /certificate/scep-server/print show-ids
terraform import routeros_system_certificate_scep_server.example_scep_server "*1"
```
38 changes: 38 additions & 0 deletions docs/resources/system_logging_action.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# routeros_system_logging_action (Resource)




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

### Required

- `name` (String) Name of an action.
- `target` (String) Storage facility or target of log messages.

### Optional

- `bsd_syslog` (Boolean) Whether to use bsd-syslog as defined in RFC 3164.
- `disk_file_count` (Number) Specifies number of files used to store log messages, applicable only if `action=disk`.
- `disk_file_name` (String) Name of the file used to store log messages, applicable only if `action=disk`.
- `disk_lines_per_file` (Number) Specifies maximum size of file in lines, applicable only if `action=disk`.
- `disk_stop_on_full` (Boolean) Whether to stop to save log messages to disk after the specified disk-lines-per-file and disk-file-count number is reached, applicable only if `action=disk`.
- `email_start_tls` (Boolean) Whether to use tls when sending email, applicable only if `action=email`.
- `email_to` (String) Email address where logs are sent, applicable only if `action=email`.
- `memory_lines` (Number) Number of records in local memory buffer, applicable only if `action=memory`.
- `memory_stop_on_full` (Boolean) Whether to stop to save log messages in local buffer after the specified memory-lines number is reached.
- `remember` (Boolean) Whether to keep log messages, which have not yet been displayed in console, applicable if `action=echo`.
- `remote` (String) Remote logging server's IP/IPv6 address, applicable if `action=remote`.
- `remote_port` (Number) Remote logging server's UDP port, applicable if `action=remote`.
- `src_address` (String) Source address used when sending packets to remote server, applicable if `action=remote`.
- `syslog_facility` (String) SYSLOG facility, applicable if `action=remote`.
- `syslog_severity` (String) Severity level indicator defined in RFC 3164, applicable if `action=remote`.
- `syslog_time_format` (String) SYSLOG time format (`bsd-syslog` or `iso8601`).

### Read-Only

- `default` (Boolean) This is a default action.
- `id` (String) The ID of this resource.


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.52.1",
"version": "1.53.0",
"repository": {
"type": "git",
"url": "https://github.com/terraform-routeros/terraform-provider-routeros"
Expand Down

0 comments on commit f672534

Please sign in to comment.