# Plugin Development

**URL:** https://discuss.hashicorp.com/c/terraform-providers/tf-plugin-sdk/43.md

[Latest](https://discuss.hashicorp.com/latest.md) · [Categories](https://discuss.hashicorp.com/categories.md) · [Tags](https://discuss.hashicorp.com/tags.md)

---

## [About the Plugin Development category](https://discuss.hashicorp.com/t/about-the-plugin-development-category/3285)

<div class="topic-metadata">

**Author:** [@joatmon08](https://discuss.hashicorp.com/u/joatmon08)\
**Replies:** 1\
**Last updated:** [December 17, 2022, 6:28am UTC](https://discuss.hashicorp.com/t/about-the-plugin-development-category/3285 "2022-12-17T06:28:29Z")

</div>

Information about Terraform Plugin development. Please post your questions, best practices and experiences here. For more information regarding Terraform Plugin development, please see this link.

---

## [Quadratic set handling in terraform-plugin-framework: fixes ready, looking for a reviewer](https://discuss.hashicorp.com/t/quadratic-set-handling-in-terraform-plugin-framework-fixes-ready-looking-for-a-reviewer/78095)

<div class="topic-metadata">

**Author:** [@samssh](https://discuss.hashicorp.com/u/samssh)\
**Replies:** 2\
**Last updated:** [November 12, 2026, 1:17am UTC](https://discuss.hashicorp.com/t/quadratic-set-handling-in-terraform-plugin-framework-fixes-ready-looking-for-a-reviewer/78095 "2026-11-12T01:17:38Z")

</div>

Hi all, We’ve been running into serious performance problems with large SetNestedAttribute values in terraform-plugin-framework. I’ve opened an issue and a couple of PRs, but haven’t heard back since early September. I’…

---

## [Tfproviderlint is broken with Go 1.27](https://discuss.hashicorp.com/t/tfproviderlint-is-broken-with-go-1-27/77669)

<div class="topic-metadata">

**Author:** [@zliang-akamai](https://discuss.hashicorp.com/u/zliang-akamai)\
**Replies:** 0\
**Last updated:** [August 22, 2026, 4:47am UTC](https://discuss.hashicorp.com/t/tfproviderlint-is-broken-with-go-1-27/77669 "2026-08-22T04:47:55Z")

</div>

tfproviderlint is a package apparently maintained by a former HashiCorp employee, and it’s still used in many HashiCorp officially maintained codebases and third party providers, such as our Linode Provider. It hasn’t be…

---

## [How to use Resource Identity for CRUD in Terraform Plugin Framework?](https://discuss.hashicorp.com/t/how-to-use-resource-identity-for-crud-in-terraform-plugin-framework/77578)

<div class="topic-metadata">

**Author:** [@thomas-schleicher](https://discuss.hashicorp.com/u/thomas-schleicher)\
**Replies:** 0\
**Last updated:** [July 15, 2026, 8:17am UTC](https://discuss.hashicorp.com/t/how-to-use-resource-identity-for-crud-in-terraform-plugin-framework/77578 "2026-07-15T08:17:05Z")

</div>

Hi, I have a resource that has an Identity which includes its id and group which is necessary for importing the object as both attributes are necessary to identify the resource on the API side. As it seemed natural, I us…

---

## [Debugging acceptance tests with SDK v2](https://discuss.hashicorp.com/t/debugging-acceptance-tests-with-sdk-v2/14060)

<div class="topic-metadata">

**Author:** [@nfx](https://discuss.hashicorp.com/u/nfx)\
**Replies:** 5\
**Last updated:** [May 29, 2026, 11:55am UTC](https://discuss.hashicorp.com/t/debugging-acceptance-tests-with-sdk-v2/14060 "2026-05-29T11:55:53Z")

</div>

In previous SDK version, it was possible to step-by-step debug resources, as well as seeing logs of them. Right now it’s not possible (or at least i was not able to find a way after 1 hour reading the sources) how to deb…

---

## [A library for generating comprehensive documentation for Terraform providers built with terraform-plugin-framework](https://discuss.hashicorp.com/t/a-library-for-generating-comprehensive-documentation-for-terraform-providers-built-with-terraform-plugin-framework/77288)

<div class="topic-metadata">

**Author:** [@magodo1](https://discuss.hashicorp.com/u/magodo1)\
**Replies:** 2\
**Last updated:** [April 6, 2026, 8:09am UTC](https://discuss.hashicorp.com/t/a-library-for-generating-comprehensive-documentation-for-terraform-providers-built-with-terraform-plugin-framework/77288 "2026-04-06T08:09:52Z")

</div>

Feedbacks are welcome!

---

## [How to change the provider license?](https://discuss.hashicorp.com/t/how-to-change-the-provider-license/77295)

<div class="topic-metadata">

**Author:** [@lfkouuyi](https://discuss.hashicorp.com/u/lfkouuyi)\
**Replies:** 0\
**Last updated:** [April 3, 2026, 3:57pm UTC](https://discuss.hashicorp.com/t/how-to-change-the-provider-license/77295 "2026-04-03T15:57:41Z")

</div>

Hi, I see this question has already been asked but it was not answered. So, let me ask it again: the terraform-provider-scaffolding-framework is licensed under “Mozilla Public License Version 2.0”. Does that mean that A…

---

## [Feature Request: Add JSON Marshalling/Unmarshalling Support for HCL Types](https://discuss.hashicorp.com/t/feature-request-add-json-marshalling-unmarshalling-support-for-hcl-types/76859)

<div class="topic-metadata">

**Author:** [@Kirdock](https://discuss.hashicorp.com/u/Kirdock)\
**Replies:** 3\
**Last updated:** [March 25, 2026, 11:00am UTC](https://discuss.hashicorp.com/t/feature-request-add-json-marshalling-unmarshalling-support-for-hcl-types/76859 "2026-03-25T11:00:57Z")

</div>

Problem Statement Currently, when defining a resource in Terraform, two separate structs are often required: HCL Schema Struct : Used to define the resource schema in HCL. API Struct : Used to interact with the backend…

---

## [Default schema metadata information in generated docs](https://discuss.hashicorp.com/t/default-schema-metadata-information-in-generated-docs/77134)

<div class="topic-metadata">

**Author:** [@vipinvkmenon](https://discuss.hashicorp.com/u/vipinvkmenon)\
**Replies:** 1\
**Last updated:** [March 24, 2026, 10:12am UTC](https://discuss.hashicorp.com/t/default-schema-metadata-information-in-generated-docs/77134 "2026-03-24T10:12:18Z")

</div>

I’m developing a Terraform provider using the Terraform Plugin Framework and generating docs with terraform-plugin-docs. The documents generate correctly, but I’m trying to avoid manually duplicating schema information.…

---

## [Bad ideas: JSON \<===\> tftypes.Value](https://discuss.hashicorp.com/t/bad-ideas-json-tftypes-value/77218)

<div class="topic-metadata">

**Author:** [@hQnVyLRx](https://discuss.hashicorp.com/u/hQnVyLRx)\
**Replies:** 3\
**Last updated:** [March 9, 2026, 1:04pm UTC](https://discuss.hashicorp.com/t/bad-ideas-json-tftypes-value/77218 "2026-03-09T13:04:02Z")

</div>

I’m tinkering around with some bad idea code that invokes my framework provider’s resource and datasource CRUD methods directly. I’m not starting a provider server, and I don’t have (access to) model structs which can be…

---

## [Terraform provider registry doc-preview tool](https://discuss.hashicorp.com/t/terraform-provider-registry-doc-preview-tool/13253)

<div class="topic-metadata">

**Author:** [@iwarapter](https://discuss.hashicorp.com/u/iwarapter)\
**Replies:** 3\
**Last updated:** [March 5, 2026, 2:52pm UTC](https://discuss.hashicorp.com/t/terraform-provider-registry-doc-preview-tool/13253 "2026-03-05T14:52:24Z")

</div>

The link for the provider doc-preview tool seem to be broken: https://registry.terraform.io/tools/doc-preview This is taken from the offical provider docs page - https://www.terraform.io/docs/registry/providers/docs.ht…

---

## [Issues with List Development](https://discuss.hashicorp.com/t/issues-with-list-development/77187)

<div class="topic-metadata">

**Author:** [@remyleone](https://discuss.hashicorp.com/u/remyleone)\
**Replies:** 3\
**Last updated:** [February 27, 2026, 4:02pm UTC](https://discuss.hashicorp.com/t/issues-with-list-development/77187 "2026-02-27T16:02:21Z")

</div>

I’m having issue with developing list support for my provider. When I try to run a test I get an error like this one: vpc\_list\_test.go:17: Step 2/2 error running query checks: running terraform query command return…

---

## [Feature request: Official Agent Skills set for Plugin Development](https://discuss.hashicorp.com/t/feature-request-official-agent-skills-set-for-plugin-development/77154)

<div class="topic-metadata">

**Author:** [@zliang-akamai](https://discuss.hashicorp.com/u/zliang-akamai)\
**Replies:** 1\
**Last updated:** [February 12, 2026, 2:41pm UTC](https://discuss.hashicorp.com/t/feature-request-official-agent-skills-set-for-plugin-development/77154 "2026-02-12T14:41:25Z")

</div>

It would be very cool if HashiCorp/IBM could release official AI agent skills for plugin development across the HashiCorp portfolio, such as Packer plugins and Terraform providers. With help from AI agents, I think it’s…

---

## [Terraform detects a change with custom PlanModifier](https://discuss.hashicorp.com/t/terraform-detects-a-change-with-custom-planmodifier/76908)

<div class="topic-metadata">

**Author:** [@ryohkhn](https://discuss.hashicorp.com/u/ryohkhn)\
**Replies:** 7\
**Last updated:** [December 16, 2025, 3:21pm UTC](https://discuss.hashicorp.com/t/terraform-detects-a-change-with-custom-planmodifier/76908 "2025-12-16T15:21:42Z")

</div>

Hello, I’m working on a provider using the Plugin Framework. I have a specific resource that stores a date as a string in ISO8601 (format accepted and returned by the API), with the following schema: "expiration\_dat…

---

## [Possible bug - Implementing new ListResourceWithConfigure and Configure isn't working right](https://discuss.hashicorp.com/t/possible-bug-implementing-new-listresourcewithconfigure-and-configure-isnt-working-right/76767)

<div class="topic-metadata">

**Author:** [@masongup-mdsol](https://discuss.hashicorp.com/u/masongup-mdsol)\
**Replies:** 2\
**Last updated:** [November 12, 2025, 6:28pm UTC](https://discuss.hashicorp.com/t/possible-bug-implementing-new-listresourcewithconfigure-and-configure-isnt-working-right/76767 "2025-11-12T18:28:26Z")

</div>

I have a custom provider for some internal resources in our company. Currently, the provider has a resource that impls resource.ResourceWithConfigure. Everything works perfectly fine with this resource, Configure gets ca…

---

## [Partner Premier Tag - Requirements for SBOM artifacts?](https://discuss.hashicorp.com/t/partner-premier-tag-requirements-for-sbom-artifacts/76748)

<div class="topic-metadata">

**Author:** [@hQnVyLRx](https://discuss.hashicorp.com/u/hQnVyLRx)\
**Replies:** 3\
**Last updated:** [November 11, 2025, 9:17pm UTC](https://discuss.hashicorp.com/t/partner-premier-tag-requirements-for-sbom-artifacts/76748 "2025-11-11T21:17:19Z")

</div>

The requirements for the Partner Premier Tag mention inclusion of an SBOM, but don’t have any guidance about how the SBOM should be presented and signed in Github Releases. I assume that each provider binary (os/archite…

---

## [Data source side effects](https://discuss.hashicorp.com/t/data-source-side-effects/76734)

<div class="topic-metadata">

**Author:** [@SimoneDutto](https://discuss.hashicorp.com/u/SimoneDutto)\
**Replies:** 3\
**Last updated:** [November 4, 2025, 7:46am UTC](https://discuss.hashicorp.com/t/data-source-side-effects/76734 "2025-11-04T07:46:44Z")

</div>

Hello everyone, I’m developing the Juju Terraform provider using the Plugin Framework and I encountered an unexpected behavior that might be interesting to get insight on, or that might suggest a different design. Summ…

---

## [Best practices for handling "known after apply" plan verbosity in TPF resources](https://discuss.hashicorp.com/t/best-practices-for-handling-known-after-apply-plan-verbosity-in-tpf-resources/73806)

<div class="topic-metadata">

**Author:** [@AgustinBettati](https://discuss.hashicorp.com/u/AgustinBettati)\
**Replies:** 6\
**Last updated:** [October 21, 2025, 6:36pm UTC](https://discuss.hashicorp.com/t/best-practices-for-handling-known-after-apply-plan-verbosity-in-tpf-resources/73806 "2025-10-21T18:36:06Z")

</div>

Problem statement - TPF increases plan output verbosity When migrating resources from SDK v2 over to TPF we have found that all computed attributes not defined in the resource configuration generate a -\> (known after app…

---

## [Smoothing over practitioner-facing breaking changes](https://discuss.hashicorp.com/t/smoothing-over-practitioner-facing-breaking-changes/76630)

<div class="topic-metadata">

**Author:** [@hQnVyLRx](https://discuss.hashicorp.com/u/hQnVyLRx)\
**Replies:** 2\
**Last updated:** [October 10, 2025, 11:22am UTC](https://discuss.hashicorp.com/t/smoothing-over-practitioner-facing-breaking-changes/76630 "2025-10-10T11:22:51Z")

</div>

Suppose I release a provider with a resource like this: resource "ice\_cream\_order" "example" { pickup\_person = "Ben Cohen" cones = \[ "vanilla", "chocolate" \] } Pretty soon I realize the schema is all wrong,…

---

## [Schema for \`Optional\` + \`Computed\` to support correct removal plan in framework](https://discuss.hashicorp.com/t/schema-for-optional-computed-to-support-correct-removal-plan-in-framework/49055)

<div class="topic-metadata">

**Author:** [@timofurrer](https://discuss.hashicorp.com/u/timofurrer)\
**Replies:** 9\
**Last updated:** [September 19, 2025, 1:33pm UTC](https://discuss.hashicorp.com/t/schema-for-optional-computed-to-support-correct-removal-plan-in-framework/49055 "2025-09-19T13:33:36Z")

</div>

In a provider I have the situation that a top-level resource attribute is both Optional and Computed with the corresponding API behavior that ff the attribute is not set during create the upstream API will set it to some…

---

## [TF\_LOG\_PROVIDER\_{NAME} does not work](https://discuss.hashicorp.com/t/tf-log-provider-name-does-not-work/39963)

<div class="topic-metadata">

**Author:** [@kota65535](https://discuss.hashicorp.com/u/kota65535)\
**Replies:** 4\
**Last updated:** [August 27, 2025, 5:00pm UTC](https://discuss.hashicorp.com/t/tf-log-provider-name-does-not-work/39963 "2025-08-27T17:00:42Z")

</div>

I’m developing a custom provider named “maven”, and I would like to filter logs only from my provider. I followed the instruction in Home - Plugin Development: Managing Log Output | Terraform | HashiCorp Developer, and …

---

## [Provider frameworks for {Python, TypeScript, anything-non-Go}](https://discuss.hashicorp.com/t/provider-frameworks-for-python-typescript-anything-non-go/76296)

<div class="topic-metadata">

**Author:** [@ath](https://discuss.hashicorp.com/u/ath)\
**Replies:** 1\
**Last updated:** [August 25, 2025, 1:51pm UTC](https://discuss.hashicorp.com/t/provider-frameworks-for-python-typescript-anything-non-go/76296 "2025-08-25T13:51:44Z")

</div>

What’s the current attitude to plugins/providers built in programming languages other than Go, and is there any hope of adding official frameworks/SDKs for these in future? I’m relatively new to TF, but have a lot of ex…

---

## [Nested structures in code generation framework](https://discuss.hashicorp.com/t/nested-structures-in-code-generation-framework/76350)

<div class="topic-metadata">

**Author:** [@thomas.seam](https://discuss.hashicorp.com/u/thomas.seam)\
**Replies:** 0\
**Last updated:** [August 24, 2025, 8:20pm UTC](https://discuss.hashicorp.com/t/nested-structures-in-code-generation-framework/76350 "2025-08-24T20:20:23Z")

</div>

Hello everyone, I’m new to developing plugins for Terraform and am currently evaluating the framework’s code generator. Can someone explain to me why the code generation implements various functions for (Single-)Nested…

---

## [SetNestedBlock with custom custom type for the nested object doesn't seem to work as expceted](https://discuss.hashicorp.com/t/setnestedblock-with-custom-custom-type-for-the-nested-object-doesnt-seem-to-work-as-expceted/75907)

<div class="topic-metadata">

**Author:** [@nieomylnieja](https://discuss.hashicorp.com/u/nieomylnieja)\
**Replies:** 7\
**Last updated:** [July 23, 2025, 7:42pm UTC](https://discuss.hashicorp.com/t/setnestedblock-with-custom-custom-type-for-the-nested-object-doesnt-seem-to-work-as-expceted/75907 "2025-07-23T19:42:00Z")

</div>

I’m trying to migrate my resource definition from Terraform Plugin SDK v2 to Plugin Framework. I need to maintain (at least for now) backwards compatibility for the users of the provider and I need to stick to blocks for…

---

## [Making create idempotent (for “already exists”) given module‑level import limitations](https://discuss.hashicorp.com/t/making-create-idempotent-for-already-exists-given-module-level-import-limitations/75892)

<div class="topic-metadata">

**Author:** [@maastha](https://discuss.hashicorp.com/u/maastha)\
**Replies:** 1\
**Last updated:** [July 22, 2025, 8:36pm UTC](https://discuss.hashicorp.com/t/making-create-idempotent-for-already-exists-given-module-level-import-limitations/75892 "2025-07-22T20:36:37Z")

</div>

Some of our new APIs require one‑to‑many migrations (from older deprecated APIs) that Terraform’s built‑in moved block can’t automate (as it only handles 1:1). Because moved only supports a single target resource, we mu…

---

## [Open Source Provider Binary Expiration](https://discuss.hashicorp.com/t/open-source-provider-binary-expiration/75849)

<div class="topic-metadata">

**Author:** [@germ](https://discuss.hashicorp.com/u/germ)\
**Replies:** 4\
**Last updated:** [July 22, 2025, 6:07pm UTC](https://discuss.hashicorp.com/t/open-source-provider-binary-expiration/75849 "2025-07-22T18:07:26Z")

</div>

I’m working on a new open source Terraform provider. I have published the provider as instructed, and things are working fine. However, one thing I am uncertain about is: My GitHub repo has a maximum artifact retention …

---

## [Accessing Resource object from within an attribute plan modifier](https://discuss.hashicorp.com/t/accessing-resource-object-from-within-an-attribute-plan-modifier/75389)

<div class="topic-metadata">

**Author:** [@zanecodes](https://discuss.hashicorp.com/u/zanecodes)\
**Replies:** 1\
**Last updated:** [July 17, 2025, 11:55am UTC](https://discuss.hashicorp.com/t/accessing-resource-object-from-within-an-attribute-plan-modifier/75389 "2025-07-17T11:55:19Z")

</div>

I’m writing a resource in a Terraform provider using the terraform-plugin-framework which has several attributes that interact in complex ways. One attribute is required, and if it’s known during planning it can be used …

---

## [Set of SetNestedAttributes or MapNestedAttribute](https://discuss.hashicorp.com/t/set-of-setnestedattributes-or-mapnestedattribute/75355)

<div class="topic-metadata">

**Author:** [@np5](https://discuss.hashicorp.com/u/np5)\
**Replies:** 3\
**Last updated:** [June 10, 2025, 2:32pm UTC](https://discuss.hashicorp.com/t/set-of-setnestedattributes-or-mapnestedattribute/75355 "2025-06-10T14:32:03Z")

</div>

I have to build a resource that has an attribute that is a set of sets of objects or a set of maps of objects. Ideally, it would look like: resource "my\_resource" "slug" { filters\_v1 = \[ \[ { attribute = "dec…

---

## [Attribute RequiresReplace ... Maybe. Depending on API version](https://discuss.hashicorp.com/t/attribute-requiresreplace-maybe-depending-on-api-version/75341)

<div class="topic-metadata">

**Author:** [@hQnVyLRx](https://discuss.hashicorp.com/u/hQnVyLRx)\
**Replies:** 2\
**Last updated:** [June 6, 2025, 1:06pm UTC](https://discuss.hashicorp.com/t/attribute-requiresreplace-maybe-depending-on-api-version/75341 "2025-06-06T13:06:19Z")

</div>

One of my resources has an attribute which can only be modified with some API versions: Early API releases treat it as immutable, but that constraint has been relaxed in later API releases. The resource schema currently…

---

## [Creating a custom provider Data Source that takes arguments](https://discuss.hashicorp.com/t/creating-a-custom-provider-data-source-that-takes-arguments/70497)

<div class="topic-metadata">

**Author:** [@garyng-tc](https://discuss.hashicorp.com/u/garyng-tc)\
**Replies:** 5\
**Last updated:** [May 30, 2025, 11:44am UTC](https://discuss.hashicorp.com/t/creating-a-custom-provider-data-source-that-takes-arguments/70497 "2025-05-30T11:44:41Z")

</div>

Hello! New to Terraform/provider creation (using the plugin framework), and I have a very basic question that I hope someone can help me with! Following the tutorial (which is great, by the way), I’m able to create a v…

[Next page](https://discuss.hashicorp.com/c/terraform-providers/tf-plugin-sdk/43.md?page=1)
