From c83a719114cfcca9ee6b99b41e83b6be7430030b Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Thu, 18 Dec 2025 14:13:11 -0600 Subject: [PATCH] feat: Add provider meta user-agent --- .pre-commit-config.yaml | 2 +- README.md | 4 ++-- examples/mysql-iam-cluster/README.md | 4 ++-- examples/mysql-iam-cluster/versions.tf | 2 +- examples/mysql-iam-instance/README.md | 4 ++-- examples/mysql-iam-instance/versions.tf | 2 +- examples/postgresql-iam-cluster/README.md | 4 ++-- examples/postgresql-iam-cluster/versions.tf | 2 +- examples/postgresql-iam-instance/README.md | 4 ++-- examples/postgresql-iam-instance/versions.tf | 2 +- versions.tf | 8 +++++++- wrappers/versions.tf | 8 +++++++- 12 files changed, 29 insertions(+), 17 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 a3c4bd8..0d47644 100644 --- a/README.md +++ b/README.md @@ -63,13 +63,13 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.15 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.15 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/examples/mysql-iam-cluster/README.md b/examples/mysql-iam-cluster/README.md index 3811185..772e999 100644 --- a/examples/mysql-iam-cluster/README.md +++ b/examples/mysql-iam-cluster/README.md @@ -31,13 +31,13 @@ An EC2 instance configuration has been provided for use in validating the exampl | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.15 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.15 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/examples/mysql-iam-cluster/versions.tf b/examples/mysql-iam-cluster/versions.tf index e1ac31c..6c9e0f6 100644 --- a/examples/mysql-iam-cluster/versions.tf +++ b/examples/mysql-iam-cluster/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.15" + version = ">= 6.27" } } } diff --git a/examples/mysql-iam-instance/README.md b/examples/mysql-iam-instance/README.md index 4a699fa..7d57007 100644 --- a/examples/mysql-iam-instance/README.md +++ b/examples/mysql-iam-instance/README.md @@ -31,14 +31,14 @@ An EC2 instance configuration has been provided for use in validating the exampl | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.15 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.15 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/mysql-iam-instance/versions.tf b/examples/mysql-iam-instance/versions.tf index 5c467ae..a3487f5 100644 --- a/examples/mysql-iam-instance/versions.tf +++ b/examples/mysql-iam-instance/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.15" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/postgresql-iam-cluster/README.md b/examples/postgresql-iam-cluster/README.md index 29a0cc6..f0a550f 100644 --- a/examples/postgresql-iam-cluster/README.md +++ b/examples/postgresql-iam-cluster/README.md @@ -31,13 +31,13 @@ An EC2 instance configuration has been provided for use in validating the exampl | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.15 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.15 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/examples/postgresql-iam-cluster/versions.tf b/examples/postgresql-iam-cluster/versions.tf index e1ac31c..6c9e0f6 100644 --- a/examples/postgresql-iam-cluster/versions.tf +++ b/examples/postgresql-iam-cluster/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.15" + version = ">= 6.27" } } } diff --git a/examples/postgresql-iam-instance/README.md b/examples/postgresql-iam-instance/README.md index 3cfd16e..56f4826 100644 --- a/examples/postgresql-iam-instance/README.md +++ b/examples/postgresql-iam-instance/README.md @@ -31,14 +31,14 @@ An EC2 instance configuration has been provided for use in validating the exampl | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.15 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 2.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.15 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 2.0 | ## Modules diff --git a/examples/postgresql-iam-instance/versions.tf b/examples/postgresql-iam-instance/versions.tf index 5c467ae..a3487f5 100644 --- a/examples/postgresql-iam-instance/versions.tf +++ b/examples/postgresql-iam-instance/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.15" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/versions.tf b/versions.tf index e1ac31c..4fc026f 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.15" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } } diff --git a/wrappers/versions.tf b/wrappers/versions.tf index e1ac31c..4fc026f 100644 --- a/wrappers/versions.tf +++ b/wrappers/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.15" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } }