-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cherry-pick #19423 to 7.x: [MetricBeat] add param aws_partition
to support aws-cn, aws-us-gov regions
#19519
Conversation
Pinging @elastic/integrations-platforms (Team:Platforms) |
❕ Build Aborted
Expand to view the summary
Build stats
Test stats 🧪
Log outputExpand to view the last 100 lines of log output
|
CI failure should be fixed by #19521 |
run tests please |
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.
LGTM.
Cherry-pick of PR #19423 to 7.x branch. Original message:
What does this PR do?
This PR is to add a parameter
aws_partition
for metricbeat aws cloudwatch module, so metricbeat can support aws china and aws us-gov account.Why is it important?
Because there are three partitions
aws, aws-cn, aws-us-gov
of aws regions, now metricbeat can only support aws global region, here is a hardcode.beats/x-pack/metricbeat/module/aws/aws.go
Lines 95 to 100 in 5ba7026
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
aws_partition
param in aws module configRelated issues
Use cases
Screenshots
aws global account, set
aws_partition: aws
in aws module config or remove the paramaws china account, set
aws_partition: aws-cn
in aws module config