Skip to content

Commit

Permalink
change aws_s3_bucket_object to aws_s3_object
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 29, 2022
1 parent 29b513f commit 67fdc54
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,7 @@ This works with the Terraform AWS provider 4.x, released 2022-02.
* 3.3.1 -- 2022-07-28
- common
- fix map() and list()

* 3.3.2 -- 2022-07-28
- common
- change aws_s3_bucket_object to aws_s3_object
6 changes: 5 additions & 1 deletion common/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ resource "null_resource" "policy_delay" {
}
}

resource "aws_s3_bucket_object" "this_objects" {
#---
# new: s3 bucket refactor: aws_s3_object
#---
#resource "aws_s3_bucket_object" "this_objects" {
resource "aws_s3_object" "this_objects" {
for_each = toset(var.bucket_folders)
bucket = aws_s3_bucket.this.id
key = format("%s/", each.key)
Expand Down
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "3.3.1"
_module_version = "3.3.2"
}

0 comments on commit 67fdc54

Please sign in to comment.