Closed hi-artem closed 1 year ago
Non-context aware create, read, update and delete are deprecated and recommended to be replaced.
References:
Create - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema#CreateFunc Read - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema#ReadFunc Delete - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema#DeleteFunc Update - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema#UpdateFunc
Replace CRUD functions with context-aware versions that have long-term support.
Reference - https://www.terraform.io/docs/extend/guides/v2-upgrade-guide.html#more-support-for-context-context
Issue has been addressed in the v0.8.0 release (https://github.com/PaloAltoNetworks/terraform-provider-prismacloudcompute/pull/71).
Is your feature request related to a problem?
Non-context aware create, read, update and delete are deprecated and recommended to be replaced.
References:
Create - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema#CreateFunc Read - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema#ReadFunc Delete - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema#DeleteFunc Update - https://pkg.go.dev/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema#UpdateFunc
Describe the solution you'd like
Replace CRUD functions with context-aware versions that have long-term support.
Reference - https://www.terraform.io/docs/extend/guides/v2-upgrade-guide.html#more-support-for-context-context