We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The hardcoded region here "us-east-1" works well in global regions but not for China regions.
x-pack/metricbeat/module/aws/aws.go @@ -86,7 +87,9 @@ func NewMetricSet(base mb.BaseMetricSet) (*MetricSet, error) { } // Get IAM account name svcIam := iam.New(awsConfig) awsConfig.Region = "us-east-1"
Furthermore, I have changed "us-east-1" to "cn-north-1" and re-compiled in both China regions: Beijing and Ningxia, it works well.
So, i would suggest to add a new variable to configure by users.
The text was updated successfully, but these errors were encountered:
Pinging @elastic/integrations-platforms (Team:Platforms)
Sorry, something went wrong.
Is there any progress on this issue ?
A config param aws_partition could indicate the aws account type.
aws_partition
https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
The following are the supported partitions: aws - AWS Regions aws-cn - AWS China Regions aws-us-gov - AWS GovCloud (US) Regions
Successfully merging a pull request may close this issue.
The hardcoded region here "us-east-1" works well in global regions but not for China regions.
Furthermore, I have changed "us-east-1" to "cn-north-1" and re-compiled in both China regions: Beijing and Ningxia, it works well.
So, i would suggest to add a new variable to configure by users.
The text was updated successfully, but these errors were encountered: