booster icon indicating copy to clipboard operation
booster copied to clipboard

Inject the deployment outputs in the deployed lambdas

Open javiertoledo opened this issue 3 years ago • 0 comments
trafficstars

Feature Request

Description

When Booster deploys an application, it shows a set of outputs at the end of the process with the URLs of all the available endpoints created. Some rockets, like the auth rocket generate a set of endpoints that could be useful for the application itself (for instance, to create a user from a command).

Possible Solution

Inject a JSON object (or similar) containing the available deployment outputs in a place that is accessible from a Booster application (i.e. an environment variable or a known bucket) and implement some easy access method. i.e:

const createUserUrl = Booster.outputs['CREATE_USER_URL']

javiertoledo avatar Jun 14 '22 09:06 javiertoledo