Skip to content

Use valid PostgreSQL DB server names#

Operational Excellence · Azure Database for PostgreSQL · Rule · 2020_12 · Awareness

Azure PostgreSQL DB server names should meet naming requirements.

Description#

When naming Azure resources, resource names must meet service requirements. The requirements for PostgreSQL DB server names are:

  • Between 3 and 63 characters long.
  • Lowercase letters, numbers, and hyphens.
  • Can't start or end with a hyphen.
  • PostgreSQL DB server names must be globally unique.

Recommendation#

Consider using names that meet Azure PostgreSQL DB server naming requirements. Additionally consider naming resources with a standard naming convention.

Notes#

This rule does not check if Azure PostgreSQL DB server names are unique.

Comments