-
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
Add regions parameter in aws module config #11956
Conversation
One concern I have is, will the change consider a breaking change? If so, we can keep the original config |
This is a breaking change, IMHO it should be ok because we offer a new way to configure it. In any case it should be also added to the breaking changes list in the changelog |
Could we keep the old option for backwards compatibility as a synonym of setting regions to a single value? |
@kaiyan-sheng to comment here, but If I understood this correctly, It's more about initialization. I guess it's not a very important setting, although it may be needed in some cases, hence the fallback to take the first region from the list? |
@exekias Yes, |
@jsoriano Do you mean keep |
jenkins, test this please |
I misinterpreted |
@exekias @jsoriano I added |
This PR is to add
regions
in config for aws module. Withregions
, we give users the ability to specify what are the regions they want to collect cloudwatch metrics from for different AWS services.regions
is optional, when there is noregions
in the config, the code will get a full list of AWS regions and loop through all of them.Please see #11932 for more details.