diff --git a/CHANGELOG.md b/CHANGELOG.md index 47be982d..f8607ac5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## [1.57.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.56.0...v1.57.0) (2024-07-23) + + +### Features + +* Update the `routeros_ovpn_server` resource to support multiple values ([668ef09](https://github.com/terraform-routeros/terraform-provider-routeros/commit/668ef0986404bea864150b64509b86f43e5b4494)) + + +### Bug Fixes + +* **ipv6_neighbor_discovery:** Change the schema attributes ([9688bab](https://github.com/terraform-routeros/terraform-provider-routeros/commit/9688babe485e51b2acc981b6e8a8bb8edd26e98a)), closes [#509](https://github.com/terraform-routeros/terraform-provider-routeros/issues/509) +* Update the `routeros_ovpn_server` resource to handle default values correctly ([f377a26](https://github.com/terraform-routeros/terraform-provider-routeros/commit/f377a2615219baed70ffc779f9be0fe022e42712)) + ## [1.56.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.55.0...v1.56.0) (2024-07-04) diff --git a/docs/resources/ipv6_neighbor_discovery.md b/docs/resources/ipv6_neighbor_discovery.md index 462a1e4a..0e878112 100644 --- a/docs/resources/ipv6_neighbor_discovery.md +++ b/docs/resources/ipv6_neighbor_discovery.md @@ -36,6 +36,7 @@ resource "routeros_ipv6_neighbor_discovery" "test" { - `advertise_mac_address` (Boolean) When set, the link-layer address of the outgoing interface is included in the RA. - `comment` (String) - `disabled` (Boolean) +- `dns` (String) Specify a single IPv6 address or comma separated list of addresses that will be provided to hosts for DNS server configuration. - `dns_servers` (String) Specify a single IPv6 address or list of addresses that will be provided to hosts for DNS server configuration. - `hop_limit` (Number) The default value that should be placed in the Hop Count field of the IP header for outgoing (unicast) IP packets. - `managed_address_configuration` (Boolean) Name of the IPv6 pool in which received IPv6 prefix will be added @@ -51,7 +52,9 @@ resource "routeros_ipv6_neighbor_discovery" "test" { ### Read-Only +- `default` (Boolean) Neighbor discovery entry is the default configuration. - `id` (String) The ID of this resource. +- `invalid` (Boolean) ## Import Import is supported using the following syntax: diff --git a/docs/resources/ovpn_server.md b/docs/resources/ovpn_server.md index aa66f319..6f7e9313 100644 --- a/docs/resources/ovpn_server.md +++ b/docs/resources/ovpn_server.md @@ -44,7 +44,7 @@ resource "routeros_ppp_secret" "test" { resource "routeros_ovpn_server" "server" { enabled = true certificate = routeros_system_certificate.ovpn_server_crt.name - auth = "sha256,sha512" + auth = ["sha256", "sha512"] tls_version = "only-1.2" default_profile = routeros_ppp_profile.test.name } @@ -60,14 +60,11 @@ resource "routeros_interface_ovpn_server" "user1" { ## Schema -### Required - -- `certificate` (String) Name of the certificate that the OVPN server will use. - ### Optional -- `auth` (String) Authentication methods that the server will accept. -- `cipher` (String) Allowed ciphers. +- `auth` (Set of String) Authentication methods that the server will accept. +- `certificate` (String) Name of the certificate that the OVPN server will use. +- `cipher` (Set of String) Allowed ciphers. - `default_profile` (String) Default profile to use. - `enable_tun_ipv6` (Boolean) Specifies if IPv6 IP tunneling mode should be possible with this OVPN server. - `enabled` (Boolean) Defines whether the OVPN server is enabled or not. @@ -80,7 +77,7 @@ resource "routeros_interface_ovpn_server" "user1" { - `port` (Number) Port to run the server on. - `protocol` (String) indicates the protocol to use when connecting with the remote endpoint. - `push_routes` (Set of String) Push routes to the VPN client (available since RouterOS 7.14). -- `redirect_gateway` (String) Specifies what kind of routes the OVPN client must add to the routing table. def1 – Use this flag to override the default gateway by using 0.0.0.0/1 and 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of overriding but not wiping out the original default gateway. disabled - Do not send redirect-gateway flags to the OVPN client. ipv6 - Redirect IPv6 routing into the tunnel on the client side. This works similarly to the def1 flag, that is, more specific IPv6 routes are added (2000::/4 and 3000::/4), covering the whole IPv6 unicast space. +- `redirect_gateway` (Set of String) Specifies what kind of routes the OVPN client must add to the routing table. def1 – Use this flag to override the default gateway by using 0.0.0.0/1 and 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of overriding but not wiping out the original default gateway. disabled - Do not send redirect-gateway flags to the OVPN client. ipv6 - Redirect IPv6 routing into the tunnel on the client side. This works similarly to the def1 flag, that is, more specific IPv6 routes are added (2000::/4 and 3000::/4), covering the whole IPv6 unicast space. - `reneg_sec` (Number) Renegotiate data channel key after n seconds (default=3600). - `require_client_certificate` (Boolean) If set to yes, then the server checks whether the client's certificate belongs to the same certificate chain. - `tls_version` (String) Specifies which TLS versions to allow. diff --git a/package.json b/package.json index 7466ac7b..73231aaf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "terraform-provider-routeros", - "version": "1.56.0", + "version": "1.57.0", "repository": { "type": "git", "url": "https://github.com/terraform-routeros/terraform-provider-routeros"