Skip to content

Commit 78cc8ce

Browse files
authored
Merge branch 'master' into feat/s3_bucket_metadata_config
2 parents 1e5cf4c + d208c41 commit 78cc8ce

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [5.3.0](https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/compare/v5.2.0...v5.3.0) (2025-08-05)
6+
7+
8+
### Features
9+
10+
* Add bucket versioning status as an output ([#350](https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/issues/350)) ([525f43c](https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/commit/525f43c045a0fd141ef9573b83d4be5b9c266787))
11+
512
## [5.2.0](https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/compare/v5.1.0...v5.2.0) (2025-07-06)
613

714

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ No modules.
286286

287287
| Name | Description |
288288
|------|-------------|
289+
| <a name="output_aws_s3_bucket_versioning_status"></a> [aws\_s3\_bucket\_versioning\_status](#output\_aws\_s3\_bucket\_versioning\_status) | The versioning status of the bucket. Will be 'Enabled', 'Suspended', or 'Disabled'. |
289290
| <a name="output_s3_bucket_arn"></a> [s3\_bucket\_arn](#output\_s3\_bucket\_arn) | The ARN of the bucket. Will be of format arn:aws:s3:::bucketname. |
290291
| <a name="output_s3_bucket_bucket_domain_name"></a> [s3\_bucket\_bucket\_domain\_name](#output\_s3\_bucket\_bucket\_domain\_name) | The bucket domain name. Will be of format bucketname.s3.amazonaws.com. |
291292
| <a name="output_s3_bucket_bucket_regional_domain_name"></a> [s3\_bucket\_bucket\_regional\_domain\_name](#output\_s3\_bucket\_bucket\_regional\_domain\_name) | The bucket region-specific domain name. The bucket domain name including the region name, please refer here for format. Note: The AWS CloudFront allows specifying S3 region-specific endpoint when creating S3 origin, it will prevent redirect issues from CloudFront to S3 Origin URL. |

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,8 @@ output "s3_directory_bucket_arn" {
5757
description = "ARN of the directory bucket."
5858
value = try(aws_s3_directory_bucket.this[0].arn, null)
5959
}
60+
61+
output "aws_s3_bucket_versioning_status" {
62+
description = "The versioning status of the bucket. Will be 'Enabled', 'Suspended', or 'Disabled'."
63+
value = try(aws_s3_bucket_versioning.this[0].versioning_configuration[0].status, null)
64+
}

0 commit comments

Comments
 (0)