diff --git a/mmv1/third_party/terraform/resources/resource_compute_router_interface.go.erb b/mmv1/third_party/terraform/resources/resource_compute_router_interface.go.erb index 5f946ddfa5c7..06d5a96299f9 100644 --- a/mmv1/third_party/terraform/resources/resource_compute_router_interface.go.erb +++ b/mmv1/third_party/terraform/resources/resource_compute_router_interface.go.erb @@ -71,19 +71,19 @@ func resourceComputeRouterInterface() *schema.Resource { Description: `The IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. Changing this forces a new interface to be created.`, }, "private_ip_address": { + Type: schema.TypeString, + Optional: true, + ForceNew: true, + Description: `The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance.`, + }, + "subnetwork": { Type: schema.TypeString, Optional: true, ForceNew: true, DiffSuppressFunc: compareSelfLinkOrResourceName, - Description: `The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance.`, - }, - "subnetwork": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - AtLeastOneOf: []string{"vpn_tunnel", "interconnect_attachment", "subnetwork"}, - ConflictsWith: []string{"interconnect_attachment", "vpn_tunnel"}, - Description: `The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.`, + AtLeastOneOf: []string{"vpn_tunnel", "interconnect_attachment", "subnetwork"}, + ConflictsWith: []string{"interconnect_attachment", "vpn_tunnel"}, + Description: `The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router.`, }, "project": { Type: schema.TypeString,