Skip to content

Commit

Permalink
Schema: remove Computed from data source attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
nessex committed Jan 6, 2025
1 parent 043d751 commit 1147c0b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/provider/data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,12 @@ func (*TfSplitPoliciesDataSource) Schema(
resp.Schema = schema.Schema{
MarkdownDescription: "Splitting multiple JSON AWS policies into chunks of a given maximum size",
Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Computed: true,
},
"id": schema.StringAttribute{},
"hash": schema.StringAttribute{
MarkdownDescription: "The hash of all the inputs, usefull for update triggering",
Computed: true,
},
"chunks": schema.MapAttribute{
ElementType: chunksType,
Computed: true,
},
"policies": schema.ListAttribute{
ElementType: types.StringType,
Expand Down

0 comments on commit 1147c0b

Please # to comment.