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
Fixes: - https://github.com/hashicorp/terraform-plugin-sdk/issues/1038 - https://github.com/hashicorp/terraform-provider-hcp/issues/377 To test, pull this commit into your provider's go.mod. Set any datasource timeout to 1 min. Apply. ``` var readTimeout = time.Minute * 1 ......
### SDK version ``` github.com/hashicorp/terraform-plugin-sdk v1.17.2 ``` ### Simplified Reproduction Case ```go package main import ( "log" "github.com/davecgh/go-spew/spew" "github.com/hashicorp/terraform-plugin-sdk/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/terraform" "github.com/zclconf/go-cty/cty" ) func main() { s := schema.InternalMap{ "tags": &schema.Schema{...
### SDK version ``` v2.21.0 ``` ### Relevant provider source code ```go &schema.Resource{ // Root resource Schema: map[string]*schema.Schema{ "analysis_definition": { Type: schema.TypeList, MaxItems: 1, Required: true, Elem: &schema.Resource{ Schema: analysisDefinitionSchema,...
### SDK version ``` v2.20.0 ``` ### Use-cases Occasionally, when writing acceptance tests it is useful to be able to extract and store a value from state in order to...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.21.0. Commits 7067223 go.mod: update golang.org/x dependencies 0d2316b ssh/test: work around for TestCiphers failures on macOS See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)...
### SDK version ``` v2.29.0 ``` ### Relevant provider source code https://github.com/vmware/terraform-provider-nsxt ```go "roles_for_path": getRolesForPathSchema(false), ``` ```go func getRolesForPathSchema(forceNew bool) *schema.Schema { return &schema.Schema{ Type: schema.TypeSet, Description: "List of roles...
### SDK version present in v1.13.1, not tested in previous versions, still need to determine when the bug was introduced, or if it was intended behavior that wasn't communicated clearly...
Reference: https://github.com/hashicorp/terraform-providers-devex-internal/issues/175 - Adding a change log entry for the bump to Go `1.21`. - Reinstating the `go toolchain` directive in `go.mod`. - Updating CI and docs to reflect update...
Schema validation fails on RequiredWith even when a DefaultFunc is specified. Added a check to return nil if a defaultfunc is provided. The correctness of the defaultfunc is checked as...
# SDK Version ` 2.7.0 ` # Relevant provider source code Resource: ```golang func resourceTestComponent() *schema.Resource { return &schema.Resource{ Schema: map[string]*schema.Schema{ "name": { Type: schema.TypeString, Required: true, }, "the_test": {...