diff --git a/google-beta/resource_vpc_access_connector.go b/google-beta/resource_vpc_access_connector.go index ff527286d9..078a9b2ff4 100644 --- a/google-beta/resource_vpc_access_connector.go +++ b/google-beta/resource_vpc_access_connector.go @@ -53,6 +53,12 @@ func resourceVPCAccessConnector() *schema.Resource { ForceNew: true, Description: `The name of the resource (Max 25 characters).`, }, + "network": { + Type: schema.TypeString, + Required: true, + ForceNew: true, + Description: `Name of a VPC network.`, + }, "region": { Type: schema.TypeString, Required: true, @@ -75,12 +81,6 @@ func resourceVPCAccessConnector() *schema.Resource { Description: `Minimum throughput of the connector in Mbps. Default and min is 200.`, Default: 200, }, - "network": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - Description: `Name of a VPC network.`, - }, "self_link": { Type: schema.TypeString, Computed: true, diff --git a/website/docs/r/vpc_access_connector.html.markdown b/website/docs/r/vpc_access_connector.html.markdown index 92bb6c6253..54fcec6cfe 100644 --- a/website/docs/r/vpc_access_connector.html.markdown +++ b/website/docs/r/vpc_access_connector.html.markdown @@ -63,6 +63,10 @@ The following arguments are supported: (Required) The name of the resource (Max 25 characters). +* `network` - + (Required) + Name of a VPC network. + * `ip_cidr_range` - (Required) The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`. @@ -75,10 +79,6 @@ The following arguments are supported: - - - -* `network` - - (Optional) - Name of a VPC network. - * `min_throughput` - (Optional) Minimum throughput of the connector in Mbps. Default and min is 200.