mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 18:51:13 +00:00
Replace variable we actually needed.
This commit is contained in:
parent
19b2a3550a
commit
edad00bf4b
@ -749,6 +749,7 @@ func resourceComputeInstanceCreate(d *schema.ResourceData, meta interface{}) err
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Build up the list of networkInterfaces
|
// Build up the list of networkInterfaces
|
||||||
|
networkInterfacesCount := d.Get("network_interface.#").(int)
|
||||||
networkInterfaces := make([]*computeBeta.NetworkInterface, 0, networkInterfacesCount)
|
networkInterfaces := make([]*computeBeta.NetworkInterface, 0, networkInterfacesCount)
|
||||||
for i := 0; i < networkInterfacesCount; i++ {
|
for i := 0; i < networkInterfacesCount; i++ {
|
||||||
prefix := fmt.Sprintf("network_interface.%d", i)
|
prefix := fmt.Sprintf("network_interface.%d", i)
|
||||||
|
Loading…
Reference in New Issue
Block a user