Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set User-Agent header when fetching TF or any other download #682

Closed
paultyng opened this issue Apr 30, 2020 · 2 comments
Closed

Set User-Agent header when fetching TF or any other download #682

paultyng opened this issue Apr 30, 2020 · 2 comments

Comments

@paultyng
Copy link
Contributor

Also needs to set TF_APPEND_USER_AGENT on invocations of terraform.

@kmoe kmoe transferred this issue from hashicorp/terraform-plugin-test Jan 12, 2021
@bflad
Copy link
Contributor

bflad commented Mar 16, 2022

terraform-exec automatically propagates TF_APPEND_USER_AGENT: https://github.com/hashicorp/terraform-exec/blob/40a11613e126074b31cfc07c787de74dee0a923e/tfexec/cmd.go#L137-L143

If desired, a separate feature request can be submitted to hc-install to allow explicitly setting the User-Agent, which when in place we can then implement here by passing through TF_APPEND_USER_AGENT. 👍

@github-actions
Copy link

I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants