Skip to content

Policy Change Notice: Net-new resource types will require Resource Identity and List Resource support #46926

@gdavison

Description

@gdavison

Background

Terraform v1.12 added support for structured Resource Identity. Resource Identity can globally uniquely identify a remote resource, which can be used to identify remote resources managed by multiple Terraform workspaces. Structured Resource Identity is also used with import blocks using the identity object.

Terraform v1.14 added support for listing remote resources, whether managed by Terraform or not. Listing makes use of the list block.

As of v6.36.0 of the provider, there are over 50 List Resources available.

Policy

In order to take advantage of these new Terraform features, all net-new resource types will require Resource Identity and List Resource support.

Existing pull requests for net-new resource types do not require rewriting to add Resource Identity and List Resource support.

Enhancements and bug fixes to existing resource types without Resource Identity and List Resource support do not require the addition of the features. Adding Resource Identity or List Resource support should be handled in separate PRs from enhancements or bug fixes.

Implementation

For a view of the overall implementation status for List/Resource Identity see: #47005

Reference documentation for Resource Identity and List Resource support can be found in the
Resource Identity Reference and the
List Resource Reference.

Note that List Resource support depends on Resource Identity.

To add Resource Identity to an existing resource type, see the guide Adding Resource Identity Support.

To add List Resource support to an existing resource type, see the guide Adding a New List Resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions