From acd55fb81231385d4878c5b17e7f272a02837e9f Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Thu, 18 Dec 2025 14:18:11 -0600 Subject: [PATCH] feat: Add provider meta user-agent --- .pre-commit-config.yaml | 2 +- README.md | 4 ++-- examples/account-public-access/README.md | 2 +- examples/account-public-access/versions.tf | 2 +- examples/complete/README.md | 4 ++-- examples/complete/versions.tf | 2 +- examples/directory-bucket/README.md | 4 ++-- examples/directory-bucket/versions.tf | 2 +- examples/notification/README.md | 4 ++-- examples/notification/versions.tf | 2 +- examples/object/README.md | 4 ++-- examples/object/versions.tf | 2 +- examples/s3-analytics/README.md | 4 ++-- examples/s3-analytics/versions.tf | 2 +- examples/s3-inventory/README.md | 4 ++-- examples/s3-inventory/versions.tf | 2 +- examples/s3-replication/README.md | 6 +++--- examples/s3-replication/versions.tf | 2 +- examples/table-bucket/README.md | 4 ++-- examples/table-bucket/versions.tf | 2 +- modules/account-public-access/README.md | 4 ++-- modules/account-public-access/versions.tf | 8 +++++++- modules/notification/README.md | 4 ++-- modules/notification/versions.tf | 8 +++++++- modules/object/README.md | 4 ++-- modules/object/versions.tf | 8 +++++++- modules/table-bucket/README.md | 4 ++-- modules/table-bucket/versions.tf | 8 +++++++- versions.tf | 8 +++++++- wrappers/account-public-access/versions.tf | 8 +++++++- wrappers/notification/versions.tf | 8 +++++++- wrappers/object/versions.tf | 8 +++++++- wrappers/table-bucket/versions.tf | 8 +++++++- wrappers/versions.tf | 8 +++++++- 34 files changed, 108 insertions(+), 48 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71da442..02bf72e 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.103.0 + rev: v1.104.0 hooks: - id: terraform_fmt - id: terraform_wrapper_module_for_each diff --git a/README.md b/README.md index ef4b644..5f024f3 100644 --- a/README.md +++ b/README.md @@ -156,13 +156,13 @@ Users of Terragrunt can achieve similar results by using modules provided in the | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/examples/account-public-access/README.md b/examples/account-public-access/README.md index 047af8d..e4674ce 100644 --- a/examples/account-public-access/README.md +++ b/examples/account-public-access/README.md @@ -20,7 +20,7 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.10 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers diff --git a/examples/account-public-access/versions.tf b/examples/account-public-access/versions.tf index fd9be81..5916d9e 100644 --- a/examples/account-public-access/versions.tf +++ b/examples/account-public-access/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/complete/README.md b/examples/complete/README.md index 895ba1e..bc4001f 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) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf index 6a9817a..a3487f5 100644 --- a/examples/complete/versions.tf +++ b/examples/complete/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/directory-bucket/README.md b/examples/directory-bucket/README.md index d937f33..4fafa7a 100644 --- a/examples/directory-bucket/README.md +++ b/examples/directory-bucket/README.md @@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/directory-bucket/versions.tf b/examples/directory-bucket/versions.tf index 6a9817a..a3487f5 100644 --- a/examples/directory-bucket/versions.tf +++ b/examples/directory-bucket/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/notification/README.md b/examples/notification/README.md index 84d7be9..cbd8311 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) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [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) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | | [null](#provider\_null) | >= 2.0 | | [random](#provider\_random) | >= 2.0 | diff --git a/examples/notification/versions.tf b/examples/notification/versions.tf index 397ca61..428632c 100644 --- a/examples/notification/versions.tf +++ b/examples/notification/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/object/README.md b/examples/object/README.md index 01119c8..f92f8c8 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) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/object/versions.tf b/examples/object/versions.tf index 6a9817a..a3487f5 100644 --- a/examples/object/versions.tf +++ b/examples/object/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/s3-analytics/README.md b/examples/s3-analytics/README.md index 844d5a8..882f3d9 100644 --- a/examples/s3-analytics/README.md +++ b/examples/s3-analytics/README.md @@ -10,14 +10,14 @@ Please check [complete example](https://github.com/terraform-aws-modules/terrafo | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/s3-analytics/versions.tf b/examples/s3-analytics/versions.tf index 6a9817a..a3487f5 100644 --- a/examples/s3-analytics/versions.tf +++ b/examples/s3-analytics/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/s3-inventory/README.md b/examples/s3-inventory/README.md index 9a6b629..59169e1 100644 --- a/examples/s3-inventory/README.md +++ b/examples/s3-inventory/README.md @@ -10,14 +10,14 @@ Please check [complete example](https://github.com/terraform-aws-modules/terrafo | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/s3-inventory/versions.tf b/examples/s3-inventory/versions.tf index 6a9817a..a3487f5 100644 --- a/examples/s3-inventory/versions.tf +++ b/examples/s3-inventory/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/s3-replication/README.md b/examples/s3-replication/README.md index a482bd9..3711049 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) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | -| [aws.replica](#provider\_aws.replica) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | +| [aws.replica](#provider\_aws.replica) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/s3-replication/versions.tf b/examples/s3-replication/versions.tf index 6a9817a..a3487f5 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 = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/table-bucket/README.md b/examples/table-bucket/README.md index 5776a9c..7107957 100644 --- a/examples/table-bucket/README.md +++ b/examples/table-bucket/README.md @@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/table-bucket/versions.tf b/examples/table-bucket/versions.tf index 6a9817a..a3487f5 100644 --- a/examples/table-bucket/versions.tf +++ b/examples/table-bucket/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/modules/account-public-access/README.md b/modules/account-public-access/README.md index 4c9301e..184f72e 100644 --- a/modules/account-public-access/README.md +++ b/modules/account-public-access/README.md @@ -12,13 +12,13 @@ Each AWS account may only have one S3 Public Access Block configuration. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/modules/account-public-access/versions.tf b/modules/account-public-access/versions.tf index 0cf1cd7..4fc026f 100644 --- a/modules/account-public-access/versions.tf +++ b/modules/account-public-access/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/modules/notification/README.md b/modules/notification/README.md index 429a953..725ba2c 100644 --- a/modules/notification/README.md +++ b/modules/notification/README.md @@ -8,13 +8,13 @@ Creates S3 bucket notification resource with all supported types of deliveries: | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/modules/notification/versions.tf b/modules/notification/versions.tf index 0cf1cd7..4fc026f 100644 --- a/modules/notification/versions.tf +++ b/modules/notification/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/modules/object/README.md b/modules/object/README.md index 40927e2..31d1be4 100644 --- a/modules/object/README.md +++ b/modules/object/README.md @@ -8,13 +8,13 @@ Creates S3 bucket objects with different configurations. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/modules/object/versions.tf b/modules/object/versions.tf index 0cf1cd7..4fc026f 100644 --- a/modules/object/versions.tf +++ b/modules/object/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/modules/table-bucket/README.md b/modules/table-bucket/README.md index 265c476..4603e2a 100644 --- a/modules/table-bucket/README.md +++ b/modules/table-bucket/README.md @@ -8,13 +8,13 @@ Creates S3 Table Bucket and Tables with various configurations. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.22 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.22 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/modules/table-bucket/versions.tf b/modules/table-bucket/versions.tf index 0cf1cd7..4fc026f 100644 --- a/modules/table-bucket/versions.tf +++ b/modules/table-bucket/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/versions.tf b/versions.tf index 0cf1cd7..4fc026f 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/wrappers/account-public-access/versions.tf b/wrappers/account-public-access/versions.tf index 0cf1cd7..4fc026f 100644 --- a/wrappers/account-public-access/versions.tf +++ b/wrappers/account-public-access/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/wrappers/notification/versions.tf b/wrappers/notification/versions.tf index 0cf1cd7..4fc026f 100644 --- a/wrappers/notification/versions.tf +++ b/wrappers/notification/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/wrappers/object/versions.tf b/wrappers/object/versions.tf index 0cf1cd7..4fc026f 100644 --- a/wrappers/object/versions.tf +++ b/wrappers/object/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/wrappers/table-bucket/versions.tf b/wrappers/table-bucket/versions.tf index 0cf1cd7..4fc026f 100644 --- a/wrappers/table-bucket/versions.tf +++ b/wrappers/table-bucket/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/wrappers/versions.tf b/wrappers/versions.tf index 0cf1cd7..4fc026f 100644 --- a/wrappers/versions.tf +++ b/wrappers/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.22" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } }