Skip to content

Auto-Increment Resource Instance #209

Description

@yvesgermain005

Tool version
Azure Naming Tool v5.0.2

Describe the bug
With the Auto-Increment Resource Instance set to on, when you generate a new name, it increments not only the Instance (1 - 5 digits) but also numbers in the name. I have a free form field that I named description that can contain numbers. When the name for example ca-p-dc-app-01-1 already exists, it increments it to ca-p-dc-app-02-2 when it should increment it to ca-p-dc-app-01-2

To Reproduce
Steps to reproduce the behavior:

  1. Set the Auto-Increment Resource Instance set to On
  2. Go to Generate
  3. Fill in all the field but make sure that the second to last field ends with a number. Use the SAME number as the one for the Instance
  4. Click on generate
  5. Now enter the same information to generate a second name
  6. Check the generated names log
    .
    Expected behavior

For example ca-p-dc-app-01-1 already exists, it increments it to ca-p-dc-app-02-2 when it should increment it to ca-p-dc-app-01-2

  1. Set Auto-Increment Resource Instance set to On
    <img width="1475" height="83" alt="Image" src="https://github.com/user-attachments/assets/5b5fa2f9-6c0f-4749-91da-58a2f434aa09" /

Screenshots

Image Image

Installation Method
Azure naming tool is installed as a container in Google cloud

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions