Skip to content

Commit

Permalink
Fix resourceId on VM Scale Set builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjarobot authored Dec 6, 2023
1 parent 1729e79 commit 7707df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Farmer/Builders/Builders.VmScaleSet.fs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ type VmScaleSetConfig =
|> Option.defaultValue $"password-for-{this.Name.Value}"

member this.SystemIdentity = SystemIdentity this.ResourceId
member this.ResourceId = virtualMachines.resourceId this.Name
member this.ResourceId = virtualMachineScaleSets.resourceId this.Name

/// Builds NICs for this VM, one for each subnet.
member private this.buildNetworkInterfaceConfigurations(vnetId, nsgId) : NetworkInterfaceConfiguration list =
Expand Down

0 comments on commit 7707df9

Please sign in to comment.