Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lechnerc77 opened this issue Nov 8, 2023 · 1 comment
Open

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

lechnerc77 opened this issue Nov 8, 2023 · 1 comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request

Comments

@lechnerc77
Copy link
Member

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 lechnerc77 added enhancement New feature or request dependencies Pull requests that update a dependency file labels Nov 8, 2023
@lechnerc77
Copy link
Member Author

lechnerc77 commented Feb 28, 2024

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",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant