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
### Proposal [schema/valuetype](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/helper/schema/valuetype.go) is widely used enum across schemas for building custom plugins. I propose that we can enrich this enum to validate much more different formats [^1], like the...
### SDK version ``` github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.4 ``` ### Use-cases I would like to copy all the values ("set" values) from a ResourceData to an internal struct. At the moment you...
This an extension of: - https://github.com/terraform-providers/terraform-provider-azurerm/issues/4105 - https://github.com/terraform-providers/terraform-provider-azurerm/pull/4107 properties marked sensitive are not being masked. ### Terraform Version ``` terraform: 0.12.6 azurerm: 1.32.1 ``` ### Terraform Configuration Files ```hcl ssh_key...
Now that we get to use Go 1.15 features (#707) we can take advantage of [`testing.T.TempDir`](https://golang.org/pkg/testing/#T.TempDir), which will give us a temporary directory that will only last the duration of...
### Use-cases Currently `ConflictsWith`, `ExactlyOneOf` or `AtLeastOneOf` are set at the attribute level, which means we can't set it on a list of if we have a list of objects,...
Introduce the ability for resources to define their timeouts dynamically, e.g. higher timeouts for EC2 instances of bigger instance sizes. This way we could reduce the number of users which...
ImportStateVerify tests import a resource with a given id, and then check all fields in the imported state against an existing resource. However, it does these checks with strict equality,...
### SDK version Both 1.16, and 2.0.3 Depending on terraform-plugin-sdk v1.16.0 and 2.0.3 pulls in the entirety of go-git/v5, for no good reason. That is about 40k lines of code....
Description of `oldValue` and `newValue` arguments for `SchemaDiffSuppressFund` is confusing when the resource is changed outside of Terraform. For example, if I change GitLab remote branch to "main" manually, Terraform...
### SDK version ``` v1.15.0 ``` I checked 2.4.4 and the behavior for imported tests is identical, state is not modified. ### Use-cases The terraform plugin for datadog supports modifying...