At the risk of ressurecting an old thread, I have a situation where I will need to perform actions using a pack but need to change the configuration of the pack at run-time.
Example:
I have a workflow that orchestrates actions across several different platforms, one of which is AWS. The
aws 2.0.0 pack has me configure the AWS Access Key and Secret Key in the pack configuration, which is
then used by the actions. I’ll need to target different customer was accounts, as they provide the
account ID and access/secret tokens as part of the API call, and would like to reconfigure the pack for
the scope of the action runner, or failing that, configure the AWS pack itself and lock operations to
just that workflow until its completed to ensure no concurrent runners try to do actions in the wrong
enclave.
I haven’t seen any native action in st2 to manipulate pack configuration, so I’m embarking on the arcane wizardry of delving into where that configuration is read from at runtime to see how to go about writing core actions to manipulate it.
Can someone tell me I’m crazy and point to a better way?