diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 954c5373..d2a92f95 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
- rev: v1.71.0
+ rev: v1.74.1
hooks:
- id: terraform_fmt
- id: terraform_wrapper_module_for_each
@@ -24,7 +24,7 @@ repos:
- '--args=--only=terraform_standard_module_structure'
- '--args=--only=terraform_workspace_remote'
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.2.0
+ rev: v4.3.0
hooks:
- id: check-merge-conflict
- id: end-of-file-fixer
diff --git a/README.md b/README.md
index 8997984f..4cdeb854 100644
--- a/README.md
+++ b/README.md
@@ -118,13 +118,13 @@ Users of Terragrunt can achieve similar results by using modules provided in the
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13.1 |
-| [aws](#requirement\_aws) | >= 4.5 |
+| [aws](#requirement\_aws) | >= 4.9 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 4.5 |
+| [aws](#provider\_aws) | >= 4.9 |
## Modules
diff --git a/examples/complete/README.md b/examples/complete/README.md
index d3b5a6bd..70c46ab3 100644
--- a/examples/complete/README.md
+++ b/examples/complete/README.md
@@ -30,14 +30,14 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13.1 |
-| [aws](#requirement\_aws) | >= 4.5 |
+| [aws](#requirement\_aws) | >= 4.9 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 4.5 |
+| [aws](#provider\_aws) | >= 4.9 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/complete/main.tf b/examples/complete/main.tf
index 11473236..0f1626ba 100644
--- a/examples/complete/main.tf
+++ b/examples/complete/main.tf
@@ -95,7 +95,7 @@ module "cloudfront_log_bucket" {
]
owner = {
- id = "457414f555e45c2e6fe1069d1a527a90d6337e1acb012ba99f3833859b23d338"
+ id = data.aws_canonical_user_id.current.id
}
force_destroy = true
diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf
index 497f47be..629d346a 100644
--- a/examples/complete/versions.tf
+++ b/examples/complete/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 4.5"
+ version = ">= 4.9"
}
random = {
source = "hashicorp/random"
diff --git a/examples/notification/README.md b/examples/notification/README.md
index 534f8d2c..653ab5f9 100644
--- a/examples/notification/README.md
+++ b/examples/notification/README.md
@@ -20,7 +20,7 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13.1 |
-| [aws](#requirement\_aws) | >= 4.5 |
+| [aws](#requirement\_aws) | >= 4.9 |
| [null](#requirement\_null) | >= 2.0 |
| [random](#requirement\_random) | >= 2.0 |
@@ -28,7 +28,7 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 4.5 |
+| [aws](#provider\_aws) | >= 4.9 |
| [null](#provider\_null) | >= 2.0 |
| [random](#provider\_random) | >= 2.0 |
diff --git a/examples/notification/versions.tf b/examples/notification/versions.tf
index 6764b80c..f1a31086 100644
--- a/examples/notification/versions.tf
+++ b/examples/notification/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 4.5"
+ version = ">= 4.9"
}
random = {
source = "hashicorp/random"
diff --git a/examples/object/README.md b/examples/object/README.md
index 13a396a2..12356578 100644
--- a/examples/object/README.md
+++ b/examples/object/README.md
@@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13.1 |
-| [aws](#requirement\_aws) | >= 4.5 |
+| [aws](#requirement\_aws) | >= 4.9 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 4.5 |
+| [aws](#provider\_aws) | >= 4.9 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/object/versions.tf b/examples/object/versions.tf
index 497f47be..629d346a 100644
--- a/examples/object/versions.tf
+++ b/examples/object/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 4.5"
+ version = ">= 4.9"
}
random = {
source = "hashicorp/random"
diff --git a/examples/s3-replication/README.md b/examples/s3-replication/README.md
index efafd5ee..c29d107e 100644
--- a/examples/s3-replication/README.md
+++ b/examples/s3-replication/README.md
@@ -22,15 +22,15 @@ Note that this example may create resources which cost money. Run `terraform des
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13.1 |
-| [aws](#requirement\_aws) | >= 4.5 |
+| [aws](#requirement\_aws) | >= 4.9 |
| [random](#requirement\_random) | >= 2.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | >= 4.5 |
-| [aws.replica](#provider\_aws.replica) | >= 4.5 |
+| [aws](#provider\_aws) | >= 4.9 |
+| [aws.replica](#provider\_aws.replica) | >= 4.9 |
| [random](#provider\_random) | >= 2.0 |
## Modules
diff --git a/examples/s3-replication/versions.tf b/examples/s3-replication/versions.tf
index 497f47be..629d346a 100644
--- a/examples/s3-replication/versions.tf
+++ b/examples/s3-replication/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 4.5"
+ version = ">= 4.9"
}
random = {
source = "hashicorp/random"
diff --git a/main.tf b/main.tf
index 9da84258..eabf74e5 100644
--- a/main.tf
+++ b/main.tf
@@ -21,23 +21,6 @@ resource "aws_s3_bucket" "this" {
force_destroy = var.force_destroy
object_lock_enabled = var.object_lock_enabled
tags = var.tags
-
- lifecycle {
- ignore_changes = [
- acceleration_status,
- acl,
- grant,
- cors_rule,
- lifecycle_rule,
- logging,
- object_lock_configuration,
- replication_configuration,
- request_payer,
- server_side_encryption_configuration,
- versioning,
- website
- ]
- }
}
resource "aws_s3_bucket_logging" "this" {
diff --git a/versions.tf b/versions.tf
index 5cd772c4..affc11e7 100644
--- a/versions.tf
+++ b/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = ">= 4.5"
+ version = ">= 4.9"
}
}
}