mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
parent
838296e155
commit
261a43e633
@ -39,8 +39,9 @@ func resourceComputeRoute() *schema.Resource {
|
|||||||
|
|
||||||
"priority": &schema.Schema{
|
"priority": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Required: true,
|
Optional: true,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
|
Default: 1000,
|
||||||
},
|
},
|
||||||
|
|
||||||
"next_hop_gateway": &schema.Schema{
|
"next_hop_gateway": &schema.Schema{
|
||||||
|
@ -153,7 +153,6 @@ resource "google_compute_route" "foobar" {
|
|||||||
dest_range = "15.0.0.0/24"
|
dest_range = "15.0.0.0/24"
|
||||||
network = "${google_compute_network.foobar.name}"
|
network = "${google_compute_network.foobar.name}"
|
||||||
next_hop_ip = "10.0.1.5"
|
next_hop_ip = "10.0.1.5"
|
||||||
priority = 100
|
|
||||||
}`, acctest.RandString(10), acctest.RandString(10))
|
}`, acctest.RandString(10), acctest.RandString(10))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user