Skip to content

Commit cabc520

Browse files
coderGo93Edgar López
andauthored
refactor: changed to required in schema roles (#371)
Co-authored-by: Edgar López <[email protected]>
1 parent 6bf5dd9 commit cabc520

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mongodbatlas/resource_mongodbatlas_database_user.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ func resourceMongoDBAtlasDatabaseUser() *schema.Resource {
6565
},
6666
"roles": {
6767
Type: schema.TypeSet,
68-
Optional: true,
69-
Computed: true,
68+
Required: true,
7069
Elem: &schema.Resource{
7170
Schema: map[string]*schema.Schema{
7271
"role_name": {

0 commit comments

Comments
 (0)