From ef911874812bef2e6019949c00892b54caa9fb3d Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 5 Jan 2024 20:07:17 +0000 Subject: [PATCH] chore(release): 1.29.0 --- CHANGELOG.md | 15 +++++++++++ docs/resources/system_user_aaa.md | 30 ++++++++++++++++++++++ docs/resources/system_user_group.md | 35 ++++++++++++++++++++++++++ docs/resources/system_user_settings.md | 28 +++++++++++++++++++++ package.json | 2 +- 5 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 docs/resources/system_user_aaa.md create mode 100644 docs/resources/system_user_group.md create mode 100644 docs/resources/system_user_settings.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 96aaece1..cae1bbe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## [1.29.0](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.28.1...v1.29.0) (2024-01-05) + + +### Features + +* Add system user authentication and accounting settings resource ([1899983](https://github.com/terraform-routeros/terraform-provider-routeros/commit/18999832de2ff864008b1f84cc0801fdfc9697c5)) +* Add system user group resource ([c7cc658](https://github.com/terraform-routeros/terraform-provider-routeros/commit/c7cc658b69c5e75033c4eddfebc42f928bccd4e2)) +* Add system user settings resource ([f889b7b](https://github.com/terraform-routeros/terraform-provider-routeros/commit/f889b7bd95bf4f559888edcfb32640b8d4fd731a)) + + +### Bug Fixes + +* Change the validator ([0b1881f](https://github.com/terraform-routeros/terraform-provider-routeros/commit/0b1881ff69cd3bc56a30d9fd2e239e08ee480b0d)) +* Fix the growth of the 'valid' slice ([206cfc2](https://github.com/terraform-routeros/terraform-provider-routeros/commit/206cfc277a1ce5caaa9842d5b33503ee861745b1)) + ## [1.28.1](https://github.com/terraform-routeros/terraform-provider-routeros/compare/v1.28.0...v1.28.1) (2023-12-25) diff --git a/docs/resources/system_user_aaa.md b/docs/resources/system_user_aaa.md new file mode 100644 index 00000000..30fddb4d --- /dev/null +++ b/docs/resources/system_user_aaa.md @@ -0,0 +1,30 @@ +# routeros_system_user_aaa (Resource) + + +## Example Usage +```terraform +resource "routeros_system_user_aaa" "settings" { + use_radius = true +} +``` + + +## Schema + +### Optional + +- `accounting` (Boolean) An option that enables accounting for users. +- `default_group` (String) The user group that is used by default for users authenticated via a RADIUS server. +- `exclude_groups` (Set of String) A set of groups that are not allowed for users authenticated by RADIUS. +- `interim_update` (String) Interval between scheduled RADIUS Interim-Update messages. +- `use_radius` (Boolean) An option whether to use RADIUS server. + +### Read-Only + +- `id` (String) The ID of this resource. + +## Import +Import is supported using the following syntax: +```shell +terraform import routeros_system_user_aaa.settings . +``` diff --git a/docs/resources/system_user_group.md b/docs/resources/system_user_group.md new file mode 100644 index 00000000..957deaf4 --- /dev/null +++ b/docs/resources/system_user_group.md @@ -0,0 +1,35 @@ +# routeros_system_user_group (Resource) + + +## Example Usage +```terraform +resource "routeros_system_user_group" "terraform" { + name = "terraform" + policy = ["api", "!ftp", "!local", "password", "policy", "read", "!reboot", "!rest-api", "!romon", "sensitive", "!sniff", "!ssh", "!telnet", "!test", "!web", "!winbox", "write"] +} +``` + + +## Schema + +### Required + +- `name` (String) The name of the user group + +### Optional + +- `comment` (String) +- `policy` (Set of String) A set of allowed policies. +- `skin` (String) The name of the skin that will be used for WebFig. + +### 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 -> :put [/user/group get [print show-ids]] +terraform import routeros_system_user_group.terraform *1 +``` diff --git a/docs/resources/system_user_settings.md b/docs/resources/system_user_settings.md new file mode 100644 index 00000000..762ac146 --- /dev/null +++ b/docs/resources/system_user_settings.md @@ -0,0 +1,28 @@ +# routeros_system_user_settings (Resource) + + +## Example Usage +```terraform +resource "routeros_system_user_settings" "settings" { + minimum_categories = 2 + minimum_password_length = 8 +} +``` + + +## Schema + +### Optional + +- `minimum_categories` (Number) An option specifies the complexity requirements of the password, with categories being uppercase, lowercase, digit, and symbol. +- `minimum_password_length` (Number) An option specifies the minimum length of the password. + +### Read-Only + +- `id` (String) The ID of this resource. + +## Import +Import is supported using the following syntax: +```shell +terraform import routeros_system_user_settings.settings . +``` diff --git a/package.json b/package.json index 54fa952c..5b35aced 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "terraform-provider-routeros", - "version": "1.28.1", + "version": "1.29.0", "repository": { "type": "git", "url": "https://github.com/terraform-routeros/terraform-provider-routeros"