Skip to content

Terraform plugin SDK update #66

Closed
Closed

Description

@poddm

Looks like cloudstack is using the "legacy Terraform plugin SDK". To ensure terraform core compatibility we should look at upgrading to SDK v2.

Current: github.com/hashicorp/terraform v0.12.0

v1-upgrade-guide

As of September 2019, Terraform provider developers importing the Go module github.com/hashicorp/terraform, known as Terraform Core, should switch to github.com/hashicorp/terraform-plugin-sdk, the Terraform Plugin SDK, instead.
..
We will use the term "legacy Terraform plugin SDK" when referring to the version of Terraform Core imported and used by providers.

Upgrading to the latest Terraform SDK

At the time of the Terraform 0.12 release, the Terraform SDK is a set of sub-directories inside the Terraform Core repository. Therefore upgrading to the latest Terraform SDK involves upgrading all of the dependencies on Go packages with the prefix github.com/hashicorp/terraform/ to a version with support for the new provider protocol.

NOTE: The SDK is now its own Go module. Existing providers should upgrade to at least v0.12.7 before switching to the standalone SDK. This is to isolate issues between Terraform SDK v0.11 and v0.12, and the standalone SDK. New providers should vendor the standalone SDK from the start.

Activity

  1. added this to the v0.5.0 milestone on Sep 12, 2023
  2. modified the milestones: v0.5.0, v0.6.0 on Feb 19, 2024
  3. fabiomatavelli commented on Jun 24, 2024

    @fabiomatavelli
    Collaborator

    This was implemented by #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions