Skip to content

Commit

Permalink
feat: deprecate 'replication_configuration' argument
Browse files Browse the repository at this point in the history
  • Loading branch information
anGie44 committed Feb 5, 2022
1 parent db1ab4c commit 447f054
Show file tree
Hide file tree
Showing 8 changed files with 1,256 additions and 3,871 deletions.
580 changes: 224 additions & 356 deletions internal/service/s3/bucket.go

Large diffs are not rendered by default.

39 changes: 0 additions & 39 deletions internal/service/s3/bucket_replication_configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -978,10 +978,6 @@ resource "aws_s3_bucket" "destination" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket" "source" {
Expand All @@ -990,10 +986,6 @@ resource "aws_s3_bucket" "source" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}`, rName)
}

Expand Down Expand Up @@ -1090,9 +1082,6 @@ resource "aws_s3_bucket" "destination2" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket" "destination3" {
Expand All @@ -1102,9 +1091,6 @@ resource "aws_s3_bucket" "destination3" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket_replication_configuration" "test" {
Expand Down Expand Up @@ -1176,9 +1162,6 @@ resource "aws_s3_bucket" "destination2" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket" "destination3" {
Expand All @@ -1188,9 +1171,6 @@ resource "aws_s3_bucket" "destination3" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket_replication_configuration" "test" {
Expand Down Expand Up @@ -1249,9 +1229,6 @@ resource "aws_s3_bucket" "destination2" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket_replication_configuration" "test" {
Expand Down Expand Up @@ -1495,10 +1472,6 @@ resource "aws_s3_bucket" "destination" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket" "source" {
Expand All @@ -1508,10 +1481,6 @@ resource "aws_s3_bucket" "source" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket_replication_configuration" "test" {
Expand Down Expand Up @@ -1568,10 +1537,6 @@ resource "aws_s3_bucket" "destination" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket" "source" {
Expand All @@ -1581,10 +1546,6 @@ resource "aws_s3_bucket" "source" {
versioning {
enabled = true
}
lifecycle {
ignore_changes = [replication_configuration]
}
}
resource "aws_s3_bucket_replication_configuration" "test" {
Expand Down
Loading

0 comments on commit 447f054

Please sign in to comment.