Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 2.86 KB

File metadata and controls

39 lines (24 loc) · 2.86 KB
page_title description
Home - Plugin Development: SDKv2
Maintain plugins built on the legacy SDK.

Terraform Plugin SDKv2

Terraform Plugin SDKv2 is an established way to develop Terraform Plugins on protocol version 5.

~> Important: Which SDK Should I Use? explains the differences between Terraform Plugin SDKv2 and Terraform Plugin Framework to help you decide which option is right for your provider.

Get Started

Key Concepts

  • Schemas define available fields for provider, resource, or provisioner configuration block, and give Terraform metadata about those fields.
  • Resources are an abstraction that allow Terraform to manage infrastructure objects, such as a compute instance, an access policy, or disk. Providers act as a translation layer between Terraform and an API, offering one or more resources for practitioners to define in a configuration.

Debug and Test

Combine or Translate

Migrate to Terraform Plugin Framework

Use the migration guide to migrate preexisting providers from SDKv2 to the Terraform Plugin Framework.

The terraform-plugin-framework is a new way to develop Terraform providers, offering improvements and new features from Terraform Plugin SDKv2. You can refactor individual resources and data sources over time with the following compatibility: