Provide a way to idempotently fetch credentials #1288
Labels
effort/small
This issue will take less than a day of effort to fix
feature-request
A feature should be added or improved.
in-progress
This issue is being actively worked on
p2
Describe the feature
I have several reusable actions which need AWS credentials to already be configured. I'd like for those actions to be able to invoke configure-aws-credentials but to only fetch credentials if they haven't already been fetched. I can imagine enabling this via a new config option but I'm not attached to any particular method—I just want to avoid fetching the same credentials twice.
Use Case
I have multiple reusable actions and multiple workflows, for example:
I want each of these actions to be able to ensure credentials are fetched without duplicating work that may've already been done.
Proposed Solution
Possibly a new mode of execution, configurable as an action input, which tracks/detects whether credentials have already been fetched and short-circuits.
Other Information
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: