From 51a6ee556364e4c9ca5793a613242324094cebc1 Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Thu, 18 Dec 2025 14:02:26 -0600 Subject: [PATCH] feat: Add provider meta user-agent --- .pre-commit-config.yaml | 2 +- README.md | 4 ++-- examples/redis/README.md | 4 ++-- examples/redis/versions.tf | 2 +- examples/valkey/README.md | 4 ++-- examples/valkey/versions.tf | 2 +- versions.tf | 8 +++++++- 7 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9223e3c..efc335f 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_docs diff --git a/README.md b/README.md index e3f9b70..5acafb1 100644 --- a/README.md +++ b/README.md @@ -120,13 +120,13 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.0 | +| [aws](#requirement\_aws) | >= 6.27 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.0 | +| [aws](#provider\_aws) | >= 6.27 | ## Modules diff --git a/examples/redis/README.md b/examples/redis/README.md index deee909..caaf435 100644 --- a/examples/redis/README.md +++ b/examples/redis/README.md @@ -26,14 +26,14 @@ Note that this example may create resources which will incur monetary charges on | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.0 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 3.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.0 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 3.0 | ## Modules diff --git a/examples/redis/versions.tf b/examples/redis/versions.tf index 291b53b..2807099 100644 --- a/examples/redis/versions.tf +++ b/examples/redis/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.0" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/examples/valkey/README.md b/examples/valkey/README.md index ba1eac6..14689f6 100644 --- a/examples/valkey/README.md +++ b/examples/valkey/README.md @@ -26,14 +26,14 @@ Note that this example may create resources which will incur monetary charges on | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.5.7 | -| [aws](#requirement\_aws) | >= 6.0 | +| [aws](#requirement\_aws) | >= 6.27 | | [random](#requirement\_random) | >= 3.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 6.0 | +| [aws](#provider\_aws) | >= 6.27 | | [random](#provider\_random) | >= 3.0 | ## Modules diff --git a/examples/valkey/versions.tf b/examples/valkey/versions.tf index 291b53b..2807099 100644 --- a/examples/valkey/versions.tf +++ b/examples/valkey/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.0" + version = ">= 6.27" } random = { source = "hashicorp/random" diff --git a/versions.tf b/versions.tf index db13b0a..4fc026f 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 6.0" + version = ">= 6.27" } } + + provider_meta "aws" { + user_agent = [ + "github.com/terraform-aws-modules" + ] + } }