aws-actions / configure-aws-credentials

Configure AWS credential environment variables for use in other GitHub Actions.
MIT License
2.48k stars 473 forks source link

Supplying region should be optional #305

Open andrewlytle opened 3 years ago

andrewlytle commented 3 years ago

I'm using this action to assume a role for CFN deployments. In the case where I might want to use the tool to deploy to multiple regions, I would need to update my action for each region I wish to deploy into. I'd rather embed this in my deployment tool config than the github action.

An explicit Region is not required when assuming a role, correct? Would it be reasonable to request making this optional? It seems like it is mostly used to get a Regional STS endpoint?

ultimaweapon commented 2 years ago

We plan to deploy our application on multiple regions too. One of the obstacle we have right now is this issue.

niceFont commented 1 year ago

I would like to work on this. Would it be possible to assign this to me?

ohcnkk commented 1 year ago

Please also enable to choose global endpoint. I am facing an issue where the actions needs to authenticate with global endpoint instead of regional endpoint.

peterwoodworth commented 1 year ago

I don't think this is supported in js v3 yet, which will prevent our adoption of this https://github.com/aws/aws-sdk-js-v3/issues/4568

onkar-indellient commented 1 month ago

are there any updates on this?