From 3c79f54683f6558c7db8c278869f629dfea143f0 Mon Sep 17 00:00:00 2001 From: Adrian Stobbe Date: Tue, 28 Nov 2023 11:00:30 +0100 Subject: [PATCH] remove testing id (see https://developer.hashicorp.com/terraform/plugin/framework/acctests#no-id-found-in-attributes) --- .../internal/provider/image_data_source.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/terraform-provider-constellation/internal/provider/image_data_source.go b/terraform-provider-constellation/internal/provider/image_data_source.go index 0f41055bcf..52fb09ac96 100644 --- a/terraform-provider-constellation/internal/provider/image_data_source.go +++ b/terraform-provider-constellation/internal/provider/image_data_source.go @@ -160,8 +160,6 @@ func (d *ImageDataSource) Read(ctx context.Context, req datasource.ReadRequest, // Save data into Terraform state data.Reference = types.StringValue(imageRef) - // Use a placeholder ID for testing, as per https://developer.hashicorp.com/terraform/plugin/framework/acctests#no-id-found-in-attributes - data.ID = types.StringValue("placeholder") resp.Diagnostics.Append(resp.State.Set(ctx, &data)...) }