-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78191e2
commit 3fa94fd
Showing
4 changed files
with
110 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# routeros_system_user (Resource) | ||
|
||
|
||
## Example Usage | ||
```terraform | ||
resource "routeros_system_user" "test" { | ||
name = "test-user-1" | ||
address = "0.0.0.0/0" | ||
group = "read" | ||
password = "secret" | ||
comment = "Test User" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `group` (String) Name of the group the user belongs to. | ||
- `name` (String) User name. Although it must start with an alphanumeric character, it may contain '*', '_', '.' and '@' symbols. | ||
|
||
### Optional | ||
|
||
- `address` (String) Host or network address from which the user is allowed to log in. | ||
- `comment` (String) | ||
- `disabled` (Boolean) | ||
- `password` (String, Sensitive) User password. If not specified, it is left blank (hit [Enter] when logging in). It conforms to standard Unix characteristics of passwords and may contain letters, digits, '*' and '_' symbols. | ||
|
||
### Read-Only | ||
|
||
- `expired` (Boolean) Password expired. | ||
- `id` (String) The ID of this resource. | ||
- `last_logged_in` (String) Read-only field. Last time and date when a user logged in. | ||
|
||
## 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 get [print show-ids]] | ||
terraform import routeros_system_user.test *1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters