You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each terraform schema has an implicit ID that needs to be set for the terraform lifecycle to work properly.
We don't set this "ID" explicitly in the schema, but the generated documentation seems to mark it as Optional
I think this should be marked as "Read Only" if the "ID" isn't explicitly in the schema by the provider developer.
The text was updated successfully, but these errors were encountered:
nmuesch
changed the title
ID attribute marked as Optional in generated documentation
ID attribute marked as Optional in generated documentation
Mar 4, 2021
Each terraform schema has an implicit
ID
that needs to be set for the terraform lifecycle to work properly.We don't set this "ID" explicitly in the schema, but the generated documentation seems to mark it as
Optional
I think this should be marked as "Read Only" if the "ID" isn't explicitly in the schema by the provider developer.
Example Dashboard Resource Schema - https://github.com/DataDog/terraform-provider-datadog/blob/master/datadog/resource_datadog_dashboard.go#L44
Generated Documentation - https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/dashboard#optional
The text was updated successfully, but these errors were encountered: