Skip to content

Inconsistent naming of NSGs IDs in compute/virtualmachines #1323

Closed

Description

Describe the bug

In the file ResourceModules/arm/Microsoft.Compute/virtualMachines/deploy.bicep
is currently
networkSecurityGroupId: contains(nicConfiguration, 'nsgId') ? (!empty(nicConfiguration.nsgId) ? nicConfiguration.nsgId : '') : ''

but should be:
networkSecurityGroupId: contains(nicConfiguration, 'networkSecurityGroupId') ? (!empty(nicConfiguration.networkSecurityGroupId) ? nicConfiguration.networkSecurityGroupId : '') : ''

To reproduce

see desc

Code snippet

No response

Relevant log output

No response

Activity

  1. AlexanderSehr commented on Apr 22, 2022

    @AlexanderSehr
    Contributor

    We could even go a step further and call it networkSecurityGroupResourceId.

    In any case I agree that we should update this, but will remove the label bug and replace it with enhancement.

    Thanks for the submission Aaron Saikovski (@AaronSaikovski)

  2. added
    enhancement
    [cat] modules
    and removed
    bug
    on Apr 22, 2022
  3. changed the title [-][Bug Report]: Inconsistent naming of NSGs IDs in compute/virtualmachines[/-] [+]Inconsistent naming of NSGs IDs in compute/virtualmachines[/+] on May 3, 2022
  4. AlexanderSehr commented on May 27, 2022

    @AlexanderSehr
    Contributor

    Closed as PR was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[cat] modulesenhancement

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions