Make roles optional (#432)
* make roles optional * check if roles is unknown * add descriptions * update docs * change role condition handling * Update stackit/internal/services/sqlserverflex/user/resource.go Co-authored-by: João Palet <joao.palet@outlook.com> * Update stackit/internal/services/sqlserverflex/user/datasource.go Co-authored-by: João Palet <joao.palet@outlook.com> * Update stackit/internal/services/sqlserverflex/user/datasource.go Co-authored-by: João Palet <joao.palet@outlook.com> * fix escapes * adapt unit tests * update docs * Update stackit/internal/services/sqlserverflex/user/datasource.go Co-authored-by: João Palet <joao.palet@outlook.com> * Update stackit/internal/services/sqlserverflex/user/resource.go Co-authored-by: João Palet <joao.palet@outlook.com> * adapt unit tests * update docs --------- Co-authored-by: João Palet <joao.palet@outlook.com>
This commit is contained in:
parent
9f82c3262b
commit
7fbb13c0b6
4 changed files with 32 additions and 16 deletions
|
|
@ -34,5 +34,5 @@ data "stackit_sqlserverflex_user" "example" {
|
|||
- `host` (String)
|
||||
- `id` (String) Terraform's internal data source. ID. It is structured as "`project_id`,`instance_id`,`user_id`".
|
||||
- `port` (Number)
|
||||
- `roles` (Set of String)
|
||||
- `username` (String)
|
||||
- `roles` (Set of String) Database access levels for the user. Possible values: [`##STACKIT_LoginManager##`, `##STACKIT_DatabaseManager##`]
|
||||
- `username` (String) Username of the SQLServer Flex instance.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue