terraform-plugin-sdk icon indicating copy to clipboard operation
terraform-plugin-sdk copied to clipboard

Terraform Plugin SDK enables building plugins (providers) to manage any service providers or custom in-house solutions

Results 166 terraform-plugin-sdk issues
Sort by recently updated
recently updated
newest added

Essentially a duplicate of https://github.com/hashicorp/terraform-plugin-sdk/issues/469 because I can't reopen. This continues to reoccur in the Google provider from time to time. For reference: https://github.com/hashicorp/terraform-provider-google/issues/15501 https://github.com/hashicorp/terraform-provider-google/issues/13775 ### SDK version ``` 1.11.0...

bug
terraform-plugin-framework

### SDK version ``` v2.31.0 ``` ### Use-cases The `mitchellh/mapstructure` dependency is being archived, per [this announcement](https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc). Viper has the blessed fork and published [v1.6.0 release](https://github.com/go-viper/mapstructure/releases/tag/v1.6.0). ### Proposal Replace Go...

dependencies

### SDK version ``` github.com/hashicorp/terraform-plugin-sdk/v2@6a82eb66c240000ef148c6defa6f77ac1029128c ``` ### Relevant provider source code ```go if d.HasChange(prefix + "metric") { ops = append(ops, &ReplaceOperation{ Path: pathPrefix + "/metrics", Value: expandV2Beta2Metrics(d.Get(prefix + "metric").(*schema.Set).List()), })...

bug

### SDK version ``` $ cat go.mod | grep terraform-plugin-sdk github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.0 $ terraform version Terraform v1.4.2 on darwin_arm64 Your version of Terraform is out of date! The latest version...

enhancement
terraform-plugin-framework

### SDK version ``` v2.26.1 ``` ### Relevant provider source code ```go { Schema: map[string]*pluginsdk.Schema{ ... "prop_set": { Type: pluginsdk.TypeSet, Elem: &pluginsdk.Resource{ Schema: map[string]*pluginsdk.Schema{ ... "prop_list": { Type: pluginsdk.TypeList, Elem:...

bug

### SDK version ``` latest ``` ### Relevant provider source code Terraform reads it correctly in first place, until it reaches `grpc_provider.go`, here is an example where it's read properly:...

bug
terraform-plugin-framework

Fix https://github.com/hashicorp/terraform-plugin-sdk/issues/1197 ### Scenario If a schema has a set property which contains a list property as follows, [GetOkExists](https://github.com/hashicorp/terraform-plugin-sdk/blob/6b60c91fdd316c50bf4f4de675e29fbc85f62f0d/helper/schema/resource_diff.go#LL410C24-L410C35) may failed to read values of `prop_list`. ``` "prop_set": { Type:...

### Terraform Version ``` 0.12.7 (SDK) ``` ### Terraform Configuration Files ```hcl data "google_compute_image" "my_image" { family = "centos-7" project = "gce-uefi-images" } resource "google_compute_instance_template" "foobar" { name = "instancet-test-%s"...

bug
subsystem/tests

Historically the testing framework didn't have any way to run acceptance tests in parallel. We used a [separate tool](https://github.com/jen20/teamcity-go-test) to achieve this and we still use it today. This worked...

documentation
subsystem/tests

### SDK version ``` $ cat go.mod | grep terraform-plugin-sdk github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1 $ terraform version Terraform v1.4.6 on darwin_arm64 $ terraform version -json { "terraform_version": "1.4.6", "platform": "darwin_arm64", "provider_selections": {},...

bug