SAP / terraform-provider-btp

Terraform provider for SAP BTP
https://registry.terraform.io/providers/SAP/btp/latest
Apache License 2.0
71 stars 12 forks source link

[FEATURE] Terraform Test Framework - ID no longer required #517

Open lechnerc77 opened 6 months ago

lechnerc77 commented 6 months ago

The artificial id field introduced for the resources can be removed from the resources as it is no longer needed by the Hashicorp testing framework. For details see: https://developer.hashicorp.com/terraform/plugin/framework/acctests#no-id-found-in-attributes

lechnerc77 commented 2 months ago

The data sources and resources in scope of this issue are the ones that have a deprecation message attached to the id field in the schema e.g.:

id": schema.StringAttribute{ 
    DeprecationMessage:  "Use the `subaccount_id` attribute instead",