Skip to content

Commit

Permalink
Merge pull request #150 from vmware/feature/remove_bgp_peer_pass_vali…
Browse files Browse the repository at this point in the history
…dation

Remove BGP peer password requirement
  • Loading branch information
dimitarproynov authored Apr 3, 2024
2 parents eaafc32 + e393d6e commit 4b58441
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/resources/edge_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Required:

- `asn` (Number) ASN
- `ip` (String) IP address
- `password` (String) Password
- `password` (String) Password - can be empty.



Expand Down
7 changes: 3 additions & 4 deletions internal/nsx_edge_cluster/edge_node_subresource.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,9 @@ func BgpPeerSchema() *schema.Resource {
ValidateFunc: validationUtils.ValidateCidrIPv4AddressSchema,
},
"password": {
Type: schema.TypeString,
Required: true,
Description: "Password",
ValidateFunc: validation.NoZeroValues,
Type: schema.TypeString,
Required: true,
Description: "Password",
},
"asn": {
Type: schema.TypeInt,
Expand Down

0 comments on commit 4b58441

Please sign in to comment.