@@ -53,11 +53,11 @@ func (d *UserDataSource) Schema(ctx context.Context, req datasource.SchemaReques
53
53
// Validation handled by ConfigValidators
54
54
Attributes : map [string ]schema.Attribute {
55
55
"id" : schema.StringAttribute {
56
- MarkdownDescription : "The ID of the user to retrieve. This field will be populated if a username is supplied" ,
56
+ MarkdownDescription : "The ID of the user to retrieve. This field will be populated if a username is supplied. " ,
57
57
Optional : true ,
58
58
},
59
59
"username" : schema.StringAttribute {
60
- MarkdownDescription : "The username of the user to retrieve. This field will be populated if an ID is supplied" ,
60
+ MarkdownDescription : "The username of the user to retrieve. This field will be populated if an ID is supplied. " ,
61
61
Optional : true ,
62
62
},
63
63
"email" : schema.StringAttribute {
@@ -72,18 +72,10 @@ func (d *UserDataSource) Schema(ctx context.Context, req datasource.SchemaReques
72
72
MarkdownDescription : "Roles assigned to the user. Valid roles are 'owner', 'template-admin', 'user-admin', and 'auditor'." ,
73
73
Computed : true ,
74
74
ElementType : types .StringType ,
75
- // Validators: []validator.Set{
76
- // setvalidator.ValueStringsAre(
77
- // stringvalidator.OneOf("owner", "template-admin", "user-admin", "auditor"),
78
- // ),
79
- // },
80
75
},
81
76
"login_type" : schema.StringAttribute {
82
77
MarkdownDescription : "Type of login for the user. Valid types are 'none', 'password', 'github', and 'oidc'." ,
83
78
Computed : true ,
84
- // Validators: []validator.String{
85
- // stringvalidator.OneOf("none", "password", "github", "oidc"),
86
- // },
87
79
},
88
80
"suspended" : schema.BoolAttribute {
89
81
MarkdownDescription : "Whether the user is suspended." ,
0 commit comments