Skip to content

Commit

Permalink
Self link resiliency in Route.
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-henderson committed Dec 12, 2018
1 parent 9a1bed7 commit 41c1758
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions google-beta/resource_compute_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ func resourceComputeRoute() *schema.Resource {
ForceNew: true,
},
"next_hop_vpn_tunnel": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Type: schema.TypeString,
Optional: true,
ForceNew: true,
DiffSuppressFunc: compareSelfLinkOrResourceName,
},
"priority": {
Type: schema.TypeInt,
Expand All @@ -105,9 +106,10 @@ func resourceComputeRoute() *schema.Resource {
Computed: true,
},
"next_hop_instance_zone": &schema.Schema{
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Type: schema.TypeString,
Optional: true,
ForceNew: true,
DiffSuppressFunc: compareSelfLinkOrResourceName,
},
"project": {
Type: schema.TypeString,
Expand Down

0 comments on commit 41c1758

Please sign in to comment.