-
Notifications
You must be signed in to change notification settings - Fork 381
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
Migrate AWS logs to use the official Go Client #497
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Left a few inline comments.
User-Agent: | ||
- Datadog/dev/terraform (go1.13.4) | ||
- datadog-api-client-go/1.0.0-beta.1+dev.1 (go go1.13; os darwin; arch amd64) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to update the User-Agent
for datadog-api-client-go
to terraform-provider-datadog/{version} datadog-api-client-go/1.0.0-beta.1+dev.1 (go go1.13; os darwin; arch amd64)
format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will do that in another PR because it will be too many changes for this PR. Good catch and let's update it once we have beta.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we instead ignore the user agent in the cassettes ? It's really system and version dependent, so not great for replaying as people won't always be running tests on the same system
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I meant is that we are recording new cassette but the user-agent is not right.
No description provided.