internal/provider: Updates for terraform-plugin-framework@v0.15.0 deprecations (#97)

This commit is contained in:
Brian Flad 2022-10-26 10:19:28 -04:00 committed by GitHub
parent 992a9e2bb5
commit c05b586f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 // For the purposes of this example code, hardcoding a response value to
// save into the Terraform state. // save into the Terraform state.
data.Id = types.String{Value: "example-id"} data.Id = types.StringValue("example-id")
// Write logs using the tflog package // Write logs using the tflog package
// Documentation: https://terraform.io/plugin/log // Documentation: https://terraform.io/plugin/log

View File

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