-
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
Investigate on aws_partition parameter #23153
Comments
Pinging @elastic/integrations-platforms (Team:Platforms) |
Just wanted to add that it's important for users to be able to specify undocumented region/endpoint/partition values as well, since not all private AWS regions are documented. Also, this same idea of configuration-driven cloud endpoints should extend to GCP and Azure, which similarly have private regions |
Hi @mbarretta, I just looked into the code around
Will this solve your use case? |
PR to add |
@kaiyan-sheng my concern is for partition values not harded coded in our implementation. It's a shortcut, yes, by why can't users forego the partition value and just provide the necessary It seems like that's what the Given that the AWS endpoints follow the form |
Thanks @mbarretta for the input! That's a good point! I got several concerns/questions:
If user wants to only collect EC2 metrics from one specific region, they can specify that using the
|
Overall, while I like the ease of configuration offered by I'd strongly prefer that users have the ability to override any/all values that we try to automagically provide. You mention the So I guess I'm on the opposite end of things. I'd prefer to deprecate |
@mukeshelastic curious about your opinion here. |
+1 for having users to set |
@mbarretta - @sorantis is closer to these integration details than me he can share his perspective from product and UX perspective. |
@mbarretta Thanks for all the input on this! I just created a PR to deprecate |
#19423 added the
aws_partition
config into aws module. But this is still limited the region tocn-north-1
orus-gov-east-1
or default tous-east-1
.#16263 added
endpoint
config. Both region name and endpoint are used inEnrichAWSConfigWithEndpoint
function, which enables endpoint resolver for AWS service clients.We need to spend some time revisiting these two config options for private regions use case and better document these two config options.
The text was updated successfully, but these errors were encountered: