Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to the context-aware versions of Terraform resource functions #95

Open
hi-artem opened this issue Dec 15, 2021 · 1 comment
Open

Comments

@hi-artem
Copy link

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

@welcome-to-palo-alto-networks

🎉 Thanks for opening your first issue here! Welcome to the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant