terraform-plugin-sdk
terraform-plugin-sdk copied to clipboard
Terraform Plugin SDK enables building plugins (providers) to manage any service providers or custom in-house solutions
Closes: #1030
### SDK version ``` v2.20.0 ``` ### Use-cases When running tests that include `TestStep.Taint` resources do not appear to be tainted and do not undergo a destroy-create cycle. ### Proposal...
### SDK version ``` v2.10.1 ``` ### Use-cases _This issue is a placeholder until more investigation and details can be added._ Providers may wish to use the available private state...
### SDK version ``` 2.1.0 ``` ### Relevant provider source code Main point here is Taint in Steps 2 and 3 ```go Steps: []resource.TestStep{ // Step 1 resource.TestStep{ Config: configTextVM,...
Closes #1023
### SDK version ``` github.com/hashicorp/terraform-plugin-sdk/v2 v2.20.0 ``` ### Relevant provider source code ```go func ResourceEntityRecognizer() *schema.Resource { return &schema.Resource{ ... Schema: map[string]*schema.Schema{ ... "version_name": { Type: schema.TypeString, Optional: true, Computed:...
These functions all take a `context.Context` as their first argument now. https://github.com/hashicorp/terraform-plugin-sdk/blob/9bdb216a4ab835003a624b0a15ac39c58ef2861e/helper/customdiff/validate.go#L12 https://github.com/hashicorp/terraform-plugin-sdk/blob/2f7133b9729bf59bd8a59e006f15e4f845556284/helper/customdiff/condition.go#L15 https://github.com/hashicorp/terraform-plugin-sdk/blob/2f7133b9729bf59bd8a59e006f15e4f845556284/helper/customdiff/condition.go#L11
### Use-cases For some tests, its hard to get the TF state and upstream API in the proper state to reproduce observed issues (ie reading when deleting upstream without first...
### SDK version ``` github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.0 ``` ### Relevant provider source code ```go func guacamoleUser() *schema.Resource { return &schema.Resource{ CreateContext: resourceUserCreate, ReadContext: resourceUserRead, UpdateContext: resourceUserUpdate, DeleteContext: resourceUserDelete, Schema: map[string]*schema.Schema{ "username":...
## Data sources Data sources currently can't take advantage of Etag-based (or really any other) caching. Whenever a data source is refreshed, the SDK does not read any existing state,...