feat: Add provider meta user-agent, replacing static tag#148
feat: Add provider meta user-agent, replacing static tag#148bryantbiggs merged 2 commits intoterraform-aws-modules:masterfrom
Conversation
|
|
||
| provider_meta "aws" { | ||
| user_agent = [ | ||
| "github.com/terraform-aws-modules" |
There was a problem hiding this comment.
I'm realizing now our user-agent string parsing made some bad assumptions about the format of the "product name" section - namely that forward slashes wouldn't be used.
I've got a fix up for this in hashicorp/aws-sdk-go-base#1401, which I'm planning to get into the next set of provider releases (v6.28.0 for the standard provider, slated for January 7, 2026). This should allow using the fully qualified repository name and version here.
github.com/terraform-aws-modules/terraform-aws-apigateway-v2/vX.Y.Z
Hopefully this enables a more granular view of usage by module in place of the generic organization name across all modules, if desired.
There was a problem hiding this comment.
thank you @jar-b - I was rather confused as to why some inputs worked and others didn't 😅
There was a problem hiding this comment.
v6.28.0 of the AWS provider has been released with this fix included.
ef5b4e9 to
605b15c
Compare
## [6.1.0](v6.0.0...v6.1.0) (2026-01-08) ### Features * Add provider meta user-agent, replacing static tag ([#148](#148)) ([b5c0ee1](b5c0ee1))
|
This PR is included in version 6.1.0 🎉 |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Motivation and Context
Attribution to our modules can now be collected through normal means by adding to the user-agent used in API requests provider: add
provider_metasupport hashicorp/terraform-provider-aws#45464 - we no longer need the static tagsResolves add bool for including default tag #142
Resolves feat: Add include_default_tag variable #143
Resolves Stop enforcing tag
terraform-aws-modules = "apigateway-v2"#145Breaking Changes
How Has This Been Tested?
examples/*to demonstrate and validate my change(s)examples/*projectspre-commit run -aon my pull request