pub fn validate_resource_id(id: &str) -> Result<(), &'static str>Expand description
Validates a resource ID against the common cloud naming constraints.
Resource IDs become part of cloud resource names, so the strictest common pattern across
GCP, AWS and Azure applies: [a-z0-9]([a-z0-9-]*[a-z0-9])? with no consecutive hyphens.
The error says what is wrong.