Skip to content

Commit

Permalink
mark vpc_access_connector.network as required
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
danawillow authored and modular-magician committed Jan 2, 2020
1 parent 2d9c01a commit ac7a596
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions google-beta/resource_vpc_access_connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions website/docs/r/vpc_access_connector.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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.
Expand Down

0 comments on commit ac7a596

Please sign in to comment.