Skip to content

Commit eadfd3a

Browse files
authored
Merge pull request #45161 from hashicorp/d-s3-docs-encryption
docs/s3: Add notes about upcoming SSE-C encryption policy changes
2 parents 50d38e3 + 6583c64 commit eadfd3a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

website/docs/r/s3_bucket.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ The `sse_kms_encrypted_objects` configuration block supports the following argum
265265

266266
~> **NOTE:** Currently, changes to the `server_side_encryption_configuration` configuration of *existing* resources cannot be automatically detected by Terraform. To manage changes in encryption of an S3 bucket, use the `aws_s3_bucket_server_side_encryption_configuration` resource instead. If you use `server_side_encryption_configuration` on an `aws_s3_bucket`, Terraform will assume management over the encryption configuration for the S3 bucket, treating additional encryption changes as drift. For this reason, `server_side_encryption_configuration` cannot be mixed with the external `aws_s3_bucket_server_side_encryption_configuration` resource for a given S3 bucket.
267267

268+
~> **NOTE:** [Starting in March 2026](https://docs.aws.amazon.com/AmazonS3/latest/userguide/default-s3-c-encryption-setting-faq.html), Amazon S3 will automatically block server-side encryption with customer-provided keys (SSE-C) for all new buckets. The `blocked_encryption_types` argument is not available in this deprecated configuration block. Use the [`aws_s3_bucket_server_side_encryption_configuration`](/docs/providers/aws/r/s3_bucket_server_side_encryption_configuration.html) resource to manage this behavior for specific buckets.
269+
268270
The `server_side_encryption_configuration` configuration block supports the following argument:
269271

270272
* `rule` - (Required) Single object for server-side encryption by default configuration. (documented below)

website/docs/r/s3_bucket_server_side_encryption_configuration.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Provides a S3 bucket server-side encryption configuration resource.
1212

1313
~> **NOTE:** Destroying an `aws_s3_bucket_server_side_encryption_configuration` resource resets the bucket to [Amazon S3 bucket default encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/default-encryption-faq.html).
1414

15+
~> **NOTE:** Starting in March 2026, Amazon S3 will automatically block server-side encryption with customer-provided keys (SSE-C) for all new buckets. Use the `blocked_encryption_types` argument to manage this behavior. For more information, see the [SSE-C changes FAQ](https://docs.aws.amazon.com/AmazonS3/latest/userguide/default-s3-c-encryption-setting-faq.html).
16+
1517
## Example Usage
1618

1719
```terraform

0 commit comments

Comments
 (0)