|
@@ -94,7 +94,7 @@ func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest
|
|
|
|
|
|
// For the purposes of this example code, hardcoding a response value to
|
|
|
// save into the Terraform state.
|
|
|
- data.Id = types.String{Value: "example-id"}
|
|
|
+ data.Id = types.StringValue("example-id")
|
|
|
|
|
|
// Write logs using the tflog package
|
|
|
// Documentation: https://terraform.io/plugin/log
|