Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

required field is not set error when running terraform plan (Azure) #62

Open
jzalmanovich opened this issue Dec 18, 2018 · 2 comments
Open

Comments

@jzalmanovich
Copy link

Getting theses errors when trying to create the cluster, this is the output of terraform plan

Error: azurerm_virtual_machine_scale_set.data-nodes: "network_profile": required field is not set

Error: azurerm_virtual_machine_scale_set.master-nodes: "network_profile.0.ip_configuration.0.primary": required field is not set

@jzalmanovich
Copy link
Author

The solution was to add primary = true under network_profile and network_profile.ip_configuration in masters.tf, datas.tf, and clients.tf

@synhershko
Copy link
Member

Thanks - can you submit a PR with the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants