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
Need to create multiple Vms in Azure. #10044
Comments
@vikash009 I will try this today/tomorrow. But I think, that you should create nics also with count and reference them in VM conf based on count as well, not like you have now |
I created nic with count and reference them in VM conf. It is working I have also tried to create vms with parallelism=1 option. I have used terraform apply -parallelism=1 variable "node_count" {default = 3} # Define the number of instances resource "azurerm_network_interface" "terraform-CnetFace" {
} resource "azurerm_virtual_machine" "terraform-test" {
azurerm_network_interface.terraform-CnetFace.id}"]
Foe example : If we have given subnet "200.200.1.0/24". Then IP assignments should be like that:node-01 : 200.200.1.4node-02 : But IP assignments are happening in random order. one example. node-01 : 200.200.1.6 Can anyone suggest how can i resolve this issue ? Means IP assignment On Mon, Nov 14, 2016 at 9:27 PM, Petr Artamonov notifications@github.com
|
Then you need to have static local ip addresses. And use cidrhost(iprange, hostnum) interpolation function |
Hi @vikash009 I am going to close this out - we usually try and keep github issues for bug requests. Please feel free to use one of the other methods on our community page for ideas how to get your specific configuration working Thanks Paul |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
The text was updated successfully, but these errors were encountered: