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
### SDK version ``` github.com/hashicorp/terraform-plugin-sdk v1.14.0 ``` ### Relevant provider source code #### case1 https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/autoscaling_tags.go#L17 ```go func autoscalingTagSchema() *schema.Schema { return &schema.Schema{ Type: schema.TypeSet, Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{...
### Terraform Version ``` Terraform v0.12.26 ``` ### Terraform Configuration Files **Terraform plan:** ```terraform data "avi_tenant" "default_tenant" { name = "admin" } resource "avi_pool" "lb_pool" { name = "pool1" lb_algorithm...
### SDK version ``` "v2.0.1" (also tested against v1) ``` ### Relevant provider source code Excerpt from aws/resource_aws_autoscaling_group.go (`v3.7.0`): ```go "tags": { Type: schema.TypeSet, Optional: true, Elem: &schema.Schema{ Type: schema.TypeMap,...
Upgrading OpenAPI Terraform provider to Terraform SDK 2.0: TypeMap with Elem*Resource not supported
### Context I am in the process of upgrading the [OpenAPI Terraform provider](https://github.com/dikhan/terraform-provider-openapi) to use the new Terraform SDK 2.0, and some int tests are now throwing the following error:...
Please add a Description field to the Provider struct to store documentation. This is important for automated documentation generation. https://github.com/hashicorp/terraform-plugin-sdk/blob/47f4b2fefc91f4e5135c3079fc4a8b83aa0e1d13/helper/schema/provider.go#L49 Similar to Schema and Resource.
### SDK version ``` 1.15 ``` ### Terraform Configuration Files ```hcl resource "datadog_monitor" "issue_781" { name = "vault is unreachable {{url.name}} {{check_message}}" type = "service check" query = "\"http.can_connect\".over(\"cluster_type:kubernetes\",\"instance:vault\").by(\"url\",\"cluster_name\").last(1).pct_by_status()" message...
`ProtoV6ProviderFactories` added in https://github.com/hashicorp/terraform-plugin-sdk/pull/761 requires Terraform v0.15.4 or later. Using earlier versions of Terraform will result in an unhelpful error from the Terraform CLI. Check the Terraform version being used...
### SDK version ``` github.com/hashicorp/terraform-plugin-sdk/v2 v2.4.4 ``` ### Use-cases **Summary:** Warn users prior to the breaking change of enabling ConflictsWith on provider configuration attributes. **Details:** In the Kubernetes and Helm...
### Terraform Version ``` ./ version Terraform v1.0.3 on linux_amd64 ``` ### Terraform Configuration Files ```terraform resource "sample_x" "x"{ sample_set{ sample_string = "ABC" } } ``` ### Debug Output ###...
### SDK version ``` github.com/hashicorp/terraform-plugin-sdk/v2 v2.7.0 ``` ### Use-cases In a CustomizeDiff function, it would be nice to be able to reliably test for a value that is unknown at...