azurenoops / terraform-azurerm-overlays-virtual-machine

Terraform module overlay to deploy single or multiple SCCA compliant Virtual Machines of Linux or Windows with optional features to be used with Azure NoOps.
MIT License
1 stars 1 forks source link

Fixed secondary NIC ipconfig change loop #31

Closed sstjean closed 9 months ago

sstjean commented 9 months ago

Describe your changes

Changed the secondary NIC's IPConfiguration so that it has primary=true rather than primary=false since Azure will change it to true after creation anyway. This stops every subsequent teraform plan from showing that it needs to be changed back to false.

Issue number

Closes #30

Checklist before requesting a review

Thanks for your cooperation!