credentials/ec2rolecreds: New should not require an explict Options value to be passed to the function. #940
Labels
breaking-change
Issue requires a breaking change to remediate.
Milestone
ec2rolecreds.New requires that an
Options
value be passed to the constructor function. Since the constructor does not require any explicit arguments to be populated in options this function should be updated to only take a list of functions that mutate the options. This keeps the design consistent with other credential providers like endpointcreds.New which take the explicit arguments required by the provider, and then the functions that mutate the options.The text was updated successfully, but these errors were encountered: