Changed
default_server_side_encryptiononb2_bucket: no longer acceptsnone. B2 applies SSE-B2 (AES256) as the default server-side encryption to every bucket, existing ones included; a configuration that still declaresnonemust drop the block or setSSE-B2before upgrading. When omitted, the server default appliesdefault_server_side_encryptiononb2_bucket: when omitted, the provider no longer sends a value from stored state; previously it silently re-sent the last value read from B2 on every update, with no visible diff in the planserver_side_encryptiononb2_bucket_file_version: no longer acceptsnone(it was never valid); when omitted, the file gets the bucket default
Fixed
- Ignore
bucket_infokey case differences inb2_bucketresource, which caused a permanent diff - Ignore
file_infokey case differences inb2_bucket_file_versionresource, which caused the file to be re-uploaded on every apply - Stop re-uploading
b2_bucket_file_versionfiles whosefile_infogained a key from B2, such assse_c_key_idorlarge_file_sha1 - Warn when
file_infoinb2_bucket_file_versionresource sets a key that B2 sets itself, such assse_c_key_idorlarge_file_sha1 - Stop
b2_bucketlifecycle_rulesorder diffs caused by B2 not guaranteeing the rule order (a permanent plan and needlessrevisionbumps on every apply) server_side_encryptiononb2_bucket_file_version: when omitted, fixed a perpetual plan diff that forced the file to be re-created (re-uploaded) on every apply once the bucket default is SSE-B2
Infrastructure
- Add
make testtarget running unit tests and run them in CI - Upgrade
google.golang.org/grpcto v1.83.2 - Build Linux Python bindings on Debian bookworm, as Debian bullseye security packages are no longer available