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

Hi! The Provider API could use a `TeardownFunc` method just like it offers a `ConfigureFunc` method. Basically, some use cases need to make a final call to some API after...

enhancement
upstream-protocol

### SDK version ``` v2.0.0 (although able to repro in 1.15.0 and 1.0.0) ``` ### Relevant provider source code I used an update that sets `d.Partial` and schema with a...

bug
subsystem/types

I was trying to model a block that had `map[string][]string` as it's schema, but the code was panicking with: ``` Unknown validation type: 6 ``` Debugging, and it became clear...

Please refer to my analysis from https://github.com/hashicorp/terraform-provider-helm/issues/817 to find out how the current behavior makes terraform-provider-helm create inconsistent final plan when value in set refers to unknown value that actually...

bug

Not sure if bug or feature but this has been kinda frustrating. I have an API that accepts a string field, and as far as requests go, it is valid...

bug
terraform-plugin-framework

The `ConfigureContextFunc` in a provider receives a `context.Context` which includes a *stop context* as value The stop context is cancelled when Terraform invokes the GRPC method `StopProvider`: https://github.com/hashicorp/terraform-plugin-sdk/blob/4681738a561387fb0b3aaa69aeb42231383634a0/helper/schema/grpc_provider.go#L521 `schema.StopContext` is...

bug
subsystem/tests

https://github.com/hashicorp/terraform-plugin-sdk/blob/main/helper/resource/state_shim.go#L168

### SDK version ``` v2.16.0 ``` ### Use-cases Deploy following config: ``` resource "azurerm_resource_group" "test" { name = "mgd-test123" location = "eastus2" } ``` The default timeouts are set: ```...

enhancement
terraform-plugin-framework

If a provider is using `Schema.StateFunc` on an attribute of a set value, the resource will see extra entries in the set obtained from `d.Get` during `Apply`. This is because...

enhancement
subsystem/types

### SDK version ``` github.com/hashicorp/terraform-plugin-sdk/v2 v2.14.0 ``` ### Relevant provider source code `helper/resource/testing.go` ```go // TestCheckOutput checks an output in the Terraform configuration func TestCheckOutput(name, value string) TestCheckFunc { return...

bug
subsystem/tests