Skip to content

Commit b56bc87

Browse files
Merge pull request #1891 from linode/dev
Release v2.41.0
2 parents 66401ca + 9c330dc commit b56bc87

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+279
-102
lines changed

docs/data-sources/nodebalancer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ In addition to all arguments above, the following attributes are exported:
3131

3232
* `client_conn_throttle` - Throttle connections per second (0-20).
3333

34+
* `client_udp_sess_throttle` - Throttle UDP sessions per second (0-20).
35+
36+
* **NOTE: This attribute may not be generally available.**
37+
3438
* `created` – When this Linode NodeBalancer was created
3539

3640
* `linode_id` - The ID of a Linode Instance where the NodeBalancer should be attached.

docs/data-sources/nodebalancer_config.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ In addition to all arguments above, the following attributes are exported:
5454

5555
* `check_passive` - If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
5656

57+
* `udp_check_port` - Specifies the port on the backend node used for active health checks, which may differ from the port serving traffic.
58+
59+
* **NOTE: This attribute may not be generally available.**
60+
61+
* `udp_session_timeout` - The idle time in seconds after which a session that hasn’t received packets is destroyed.
62+
63+
* **NOTE: This attribute may not be generally available.**
64+
5765
* `cipher_suite` - What ciphers to use for SSL connections served by this NodeBalancer. `legacy` is considered insecure and should only be used if necessary. (`recommended`, `legacy`)
5866

5967
* `ssl_commonname` - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.

docs/data-sources/nodebalancer_configs.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ Each Linode NodeBalancer Config will be stored in the `nodebalancer_configs` att
7979

8080
* `check_passive` - If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
8181

82+
* `udp_check_port` - Specifies the port on the backend node used for active health checks, which may differ from the port serving traffic.
83+
84+
* **NOTE: This attribute may not be generally available.**
85+
86+
* `udp_session_timeout` - The idle time in seconds after which a session that hasn’t received packets is destroyed.
87+
88+
* **NOTE: This attribute may not be generally available.**
89+
8290
* `cipher_suite` - What ciphers to use for SSL connections served by this NodeBalancer. `legacy` is considered insecure and should only be used if necessary. (`recommended`, `legacy`)
8391

8492
* `ssl_commonname` - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.

docs/data-sources/nodebalancers.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ Each Linode NodeBalancer will be stored in the `nodebalancers` attribute and wil
5757

5858
* `client_conn_throttle` - Throttle connections per second (0-20)
5959

60+
* `client_udp_sess_throttle` - Throttle UDP sessions per second (0-20).
61+
62+
* **NOTE: This attribute may not be generally available.**
63+
6064
* `created` – When this Linode NodeBalancer was created
6165

6266
* `linode_id` - The ID of a Linode Instance where the NodeBalancer should be attached

docs/resources/nodebalancer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ resource "linode_nodebalancer" "foobar" {
2020
label = "mynodebalancer"
2121
region = "us-east"
2222
client_conn_throttle = 20
23+
client_udp_sess_throttle = 10
2324
tags = ["foobar"]
2425
}
2526
```
@@ -36,6 +37,10 @@ The following arguments are supported:
3637

3738
* `client_conn_throttle` - (Optional) Throttle connections per second (0-20). Set to 0 (default) to disable throttling.
3839

40+
* `client_udp_sess_throttle` - Throttle UDP sessions per second (0-20). Set to 0 (default) to disable throttling.
41+
42+
* **NOTE: This argument may not be generally available.**
43+
3944
* `tags` - (Optional) A list of tags applied to this object. Tags are case-insensitive and are for organizational purposes only.
4045

4146
## Attributes Reference

docs/resources/nodebalancer_config.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ resource "linode_nodebalancer_config" "foofig" {
3030
check_path = "/foo"
3131
check_attempts = 3
3232
check_timeout = 30
33+
udp_check_port = 12345
3334
stickiness = "http_cookie"
3435
algorithm = "source"
3536
}
@@ -65,6 +66,10 @@ The following arguments are supported:
6566

6667
* `check_passive` - (Optional) If true, any response from this backend with a 5xx status code will be enough for it to be considered unhealthy and taken out of rotation.
6768

69+
* `udp_check_port` - (Optional) Specifies the port on the backend node used for active health checks, which may differ from the port serving traffic. Defaults to 80.
70+
71+
* **NOTE: This argument may not be generally available.**
72+
6873
* `cipher_suite` - (Optional) What ciphers to use for SSL connections served by this NodeBalancer. `legacy` is considered insecure and should only be used if necessary.
6974

7075
* `ssl_cert` - (Optional) The certificate this port is serving. This is not returned. If set, this field will come back as `<REDACTED>`. Please use the ssl_commonname and ssl_fingerprint to identify the certificate.
@@ -75,6 +80,10 @@ The following arguments are supported:
7580

7681
This resource exports the following attributes:
7782

83+
* `udp_session_timeout` - The read-only idle time in seconds after which a session that hasn’t received packets is destroyed.
84+
85+
* **NOTE: This attribute may not be generally available.**
86+
7887
* `ssl_commonname` - The read-only common name automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.
7988

8089
* `ssl_fingerprint` - The read-only fingerprint automatically derived from the SSL certificate assigned to this NodeBalancerConfig. Please refer to this field to verify that the appropriate certificate is assigned to your NodeBalancerConfig.

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ require (
2121
github.com/hashicorp/terraform-plugin-framework-timeouts v0.5.0
2222
github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0
2323
github.com/hashicorp/terraform-plugin-framework-validators v0.18.0
24-
github.com/hashicorp/terraform-plugin-go v0.27.0
24+
github.com/hashicorp/terraform-plugin-go v0.28.0
2525
github.com/hashicorp/terraform-plugin-log v0.9.0
26-
github.com/hashicorp/terraform-plugin-mux v0.19.0
26+
github.com/hashicorp/terraform-plugin-mux v0.20.0
2727
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0
28-
github.com/hashicorp/terraform-plugin-testing v1.13.0
29-
github.com/linode/linodego v1.51.0
28+
github.com/hashicorp/terraform-plugin-testing v1.13.1
29+
github.com/linode/linodego v1.52.0
3030
github.com/linode/linodego/k8s v1.25.2
3131
github.com/stretchr/testify v1.10.0
3232
golang.org/x/crypto v0.38.0

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,16 @@ github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0 h1:v3DapR8gsp3E
154154
github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0/go.mod h1:c3PnGE9pHBDfdEVG9t1S1C9ia5LW+gkFR0CygXlM8ak=
155155
github.com/hashicorp/terraform-plugin-framework-validators v0.18.0 h1:OQnlOt98ua//rCw+QhBbSqfW3QbwtVrcdWeQN5gI3Hw=
156156
github.com/hashicorp/terraform-plugin-framework-validators v0.18.0/go.mod h1:lZvZvagw5hsJwuY7mAY6KUz45/U6fiDR0CzQAwWD0CA=
157-
github.com/hashicorp/terraform-plugin-go v0.27.0 h1:ujykws/fWIdsi6oTUT5Or4ukvEan4aN9lY+LOxVP8EE=
158-
github.com/hashicorp/terraform-plugin-go v0.27.0/go.mod h1:FDa2Bb3uumkTGSkTFpWSOwWJDwA7bf3vdP3ltLDTH6o=
157+
github.com/hashicorp/terraform-plugin-go v0.28.0 h1:zJmu2UDwhVN0J+J20RE5huiF3XXlTYVIleaevHZgKPA=
158+
github.com/hashicorp/terraform-plugin-go v0.28.0/go.mod h1:FDa2Bb3uumkTGSkTFpWSOwWJDwA7bf3vdP3ltLDTH6o=
159159
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0=
160160
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
161-
github.com/hashicorp/terraform-plugin-mux v0.19.0 h1:F2QxnHfsvdoWbF7EWeEHA+sfmBetlW5pipq+zWnVdIc=
162-
github.com/hashicorp/terraform-plugin-mux v0.19.0/go.mod h1:MO+7zYzrMz2Ohc5r8m7sM6YT+F8ET4lgYKe2GhiYW0g=
161+
github.com/hashicorp/terraform-plugin-mux v0.20.0 h1:3QpBnI9uCuL0Yy2Rq/kR9cOdmOFNhw88A2GoZtk5aXM=
162+
github.com/hashicorp/terraform-plugin-mux v0.20.0/go.mod h1:wSIZwJjSYk86NOTX3fKUlThMT4EAV1XpBHz9SAvjQr4=
163163
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0 h1:NFPMacTrY/IdcIcnUB+7hsore1ZaRWU9cnB6jFoBnIM=
164164
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0/go.mod h1:QYmYnLfsosrxjCnGY1p9c7Zj6n9thnEE+7RObeYs3fA=
165-
github.com/hashicorp/terraform-plugin-testing v1.13.0 h1:vTELm6x3Z4H9VO3fbz71wbJhbs/5dr5DXfIwi3GMmPY=
166-
github.com/hashicorp/terraform-plugin-testing v1.13.0/go.mod h1:b/hl6YZLm9fjeud/3goqh/gdqhZXbRfbHMkEiY9dZwc=
165+
github.com/hashicorp/terraform-plugin-testing v1.13.1 h1:0nhSm8lngGTggqXptU4vunFI0S2XjLAhJg3RylC5aLw=
166+
github.com/hashicorp/terraform-plugin-testing v1.13.1/go.mod h1:b/hl6YZLm9fjeud/3goqh/gdqhZXbRfbHMkEiY9dZwc=
167167
github.com/hashicorp/terraform-registry-address v0.2.5 h1:2GTftHqmUhVOeuu9CW3kwDkRe4pcBDq0uuK5VJngU1M=
168168
github.com/hashicorp/terraform-registry-address v0.2.5/go.mod h1:PpzXWINwB5kuVS5CA7m1+eO2f1jKb5ZDIxrOPfpnGkg=
169169
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=
@@ -194,8 +194,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
194194
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
195195
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
196196
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
197-
github.com/linode/linodego v1.51.0 h1:8S0vNQRUZAuumGFe8h/huCzbyExxlvOUR2Uf0oDoJ/8=
198-
github.com/linode/linodego v1.51.0/go.mod h1:zEN2sX+cSdp67EuRY1HJiyuLujoa7HqvVwNEcJv3iXw=
197+
github.com/linode/linodego v1.52.0 h1:SN1PSekrZBcHtRt1pADTz0JO7NX9pQv/Gf8Jc9s9l8w=
198+
github.com/linode/linodego v1.52.0/go.mod h1:zEN2sX+cSdp67EuRY1HJiyuLujoa7HqvVwNEcJv3iXw=
199199
github.com/linode/linodego/k8s v1.25.2 h1:PY6S0sAD3xANVvM9WY38bz9GqMTjIbytC8IJJ9Cv23o=
200200
github.com/linode/linodego/k8s v1.25.2/go.mod h1:DC1XCSRZRGsmaa/ggpDPSDUmOM6aK1bhSIP6+f9Cwhc=
201201
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=

linode/databasemysqlv2/framework_resource.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ func (r *Resource) Create(
121121
"Failed to wait for MySQL database to finish creating",
122122
err.Error(),
123123
)
124+
return
124125
}
125126

126127
// Sometimes the creation event finishes before the status becomes `active`
@@ -403,6 +404,7 @@ func (r *Resource) Update(
403404
"Cannot update engine component of engine_id",
404405
fmt.Sprintf("%s != %s", engine, state.Engine.ValueString()),
405406
)
407+
return
406408
}
407409

408410
shouldUpdate = true

0 commit comments

Comments
 (0)