Use valid names

March 21, 2025 ยท View on GitHub

SYNOPSIS

Bastion hosts should meet naming requirements.

DESCRIPTION

When naming Azure resources, resource names must meet service requirements. The requirements for Bastion host names are:

  • Between 1 and 80 characters long.
  • Alphanumerics, underscores, periods and hyphens.
  • Start with alphanumeric.
  • End with alphanumeric or underscore.

RECOMMENDATION

Consider using names that meet Bastion host naming requirements. Additionally consider naming resources with a standard naming convention.

NOTES

This rule does not check if Bastion host names are unique.