Skip to content

aws: use fixed BehaviorVersion

Quoting BehaviorVersion documentation:

Over time, new best-practice behaviors are introduced. However, these behaviors might not be backwards compatible. For example, a change which introduces new default timeouts or a new retry-mode for all operations might be the ideal behavior but could break existing applications.

This commit uses BehaviorVersion::v2023_11_09(), which is the latest major version at the moment. When a new major version is released, the method will be deprecated, which will warn us of the new version and let us decide when to upgrade, after any changes if required. This is safer that using latest() which would silently use a different major version, possibly breaking existing code.

Merge request reports