From 1147c0b10ddca0381b944169a4a18830f24008ce Mon Sep 17 00:00:00 2001 From: Nathan Essex Date: Mon, 6 Jan 2025 16:08:04 +0900 Subject: [PATCH] Schema: remove Computed from data source attributes --- internal/provider/data_source.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/internal/provider/data_source.go b/internal/provider/data_source.go index fd660d6..f25c7ff 100644 --- a/internal/provider/data_source.go +++ b/internal/provider/data_source.go @@ -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,