Skip to content

Commit

Permalink
No default match_type (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasSteinerPF authored Jun 29, 2023
1 parent 221ac44 commit 0eeda81
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.6.2 (June 29, 2023)

BUG FIXES:

* Fix BGP Session Prefixes match_type defaulting to exact, they should not have default value (#533)

## 1.6.1 (June 13, 2023)

BUG FIXES:
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/packetfabric_cloud_router_bgp_session.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Optional:
Available range is 1 through 4294967295.
- `match_type` (String) The match type of this prefix.

Enum: `"exact"` `"orlonger"` Defaults: exact
Enum: `"exact"` `"orlonger"`
- `med` (Number) The MED of this prefix. It is used when type = out.

Available range is 1 through 4294967295.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/packetfabric_cloud_router_connection_aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Optional:
Available range is 1 through 4294967295.
- `match_type` (String) The match type of this prefix.

Enum: `"exact"` `"orlonger"` Defaults: exact
Enum: `"exact"` `"orlonger"`
- `med` (Number) The MED of this prefix. It is used when type = out.

Available range is 1 through 4294967295.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Optional:
Available range is 1 through 4294967295.
- `match_type` (String) The match type of this prefix.

Enum: `"exact"` `"orlonger"` Defaults: exact
Enum: `"exact"` `"orlonger"`
- `med` (Number) The MED of this prefix. It is used when type = out.

Available range is 1 through 4294967295.
Expand Down
1 change: 0 additions & 1 deletion internal/provider/resource_aws_cloud_router_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ func resourceRouterConnectionAws() *schema.Resource {
"match_type": {
Type: schema.TypeString,
Optional: true,
Default: "exact",
ValidateFunc: validation.StringInSlice([]string{"exact", "orlonger"}, true),
Description: "The match type of this prefix.\n\n\tEnum: `\"exact\"` `\"orlonger\"` ",
},
Expand Down
1 change: 0 additions & 1 deletion internal/provider/resource_bgp_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ func resourceBgpSession() *schema.Resource {
"match_type": {
Type: schema.TypeString,
Optional: true,
Default: "exact",
ValidateFunc: validation.StringInSlice([]string{"exact", "orlonger"}, true),
Description: "The match type of this prefix.\n\n\tEnum: `\"exact\"` `\"orlonger\"` ",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ func resourceGoogleCloudRouterConn() *schema.Resource {
"match_type": {
Type: schema.TypeString,
Optional: true,
Default: "exact",
ValidateFunc: validation.StringInSlice([]string{"exact", "orlonger"}, true),
Description: "The match type of this prefix.\n\n\tEnum: `\"exact\"` `\"orlonger\"` ",
},
Expand Down

0 comments on commit 0eeda81

Please sign in to comment.