Skip to content

Commit

Permalink
misc: update permission v2 to use list
Browse files Browse the repository at this point in the history
  • Loading branch information
sheensantoscapadngan committed Nov 20, 2024
1 parent dcd19a9 commit de5eb9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (r *projectIdentitySpecificPrivilegeResourceResource) Schema(_ context.Cont
},
},
},
"permissions_v2": schema.SetNestedAttribute{
"permissions_v2": schema.ListNestedAttribute{
Optional: true,
Description: "The permissions assigned to the project identity specific privilege. Refer to the documentation here https://infisical.com/docs/internals/permissions for its usage.",
NestedObject: schema.NestedAttributeObject{
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/resource/project_role_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (r *projectRoleResource) Schema(_ context.Context, _ resource.SchemaRequest
Computed: true,
PlanModifiers: []planmodifier.String{stringplanmodifier.UseStateForUnknown()},
},
"permissions_v2": schema.SetNestedAttribute{
"permissions_v2": schema.ListNestedAttribute{
Optional: true,
Description: "The permissions assigned to the project role. Refer to the documentation here https://infisical.com/docs/internals/permissions for its usage.",
NestedObject: schema.NestedAttributeObject{
Expand Down

0 comments on commit de5eb9c

Please sign in to comment.