Better documentation for the id
attribute for resources with a single primaryIdentifier
property
#372
Labels
code-generation
Relates to the conversion of CloudFormation schema to Terraform schema at buildtime.
documentation
enhancement
Community Note
Description
Every resource has an
id
attribute which uniquely identifies the resource.Usually this attribute is synthesized and populated at runtime with the resource's primary identifier returned from the Cloud Control API. When the attribute is synthesized it is give the generic description Uniquely identifies the resource. which is then propagated to generated documentation for the resource.
If the resource has a single
primaryIdentifier
property specified in its CloudFormation resource schema then that property's description, which is likely to be more informative, can be used instead.The text was updated successfully, but these errors were encountered: