Skip to content

Commit 71bd1d1

Browse files
committed
Add missing resource and resource_id fields to role data source
1 parent 3b0295d commit 71bd1d1

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

internal/provider/roles/role_data_source.go

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,22 @@ func (d *RoleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, r
7575
Optional: true,
7676
Computed: true,
7777
},
78-
"permissions": schema.ListAttribute{
78+
"permissions": schema.SetAttribute{
7979
ElementType: types.StringType,
8080
Optional: true,
81+
Computed: true,
8182
},
82-
"extends": schema.ListAttribute{
83+
"extends": schema.SetAttribute{
8384
ElementType: types.StringType,
8485
Optional: true,
86+
Computed: true,
87+
},
88+
"resource": schema.StringAttribute{
89+
Optional: true,
90+
Computed: true,
91+
},
92+
"resource_id": schema.StringAttribute{
93+
Computed: true,
8594
},
8695
},
8796
}

0 commit comments

Comments
 (0)