Azure-docs: required field is not set

Created on 25 Oct 2018  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

Running terraform plan I get

azurerm_virtual_machine_scale_set.vmss: "network_profile.0.ip_configuration.0.primary": required field is not set


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author doc-bug product-issue terraforsvc triaged

All 4 comments

Thanks for the feedback! We are currently investigating and will update you shortly.

@neiltingley Thanks for the feedback. It appears that something has changed that has broken the article. I'll work with the feature team to fix.

@neiltingley

After doing some research, there have been some changes in the underlying provider.

In the Step 3 instructions in the Add a virtual machine scale set section, add the following line after the setting of subnet_id
primary = true

Instead of setting name to "osdisk", set it to ""

I just tested this, and it works.

Tomorrow, I'll update the docs to reflect the new instructions

Here is some more information:

@MicahMcKittrick-MSFT I've updated the article to reflect the latest TF provider. #please-close

Was this page helpful?
0 / 5 - 0 ratings