- Create a new worflow using the JSON spec in step 1 and update the connection in each step with your GitHub API token. Publish the workflow.
- Create a new AWS Lmabda function following these steps in your AWS Console:
- click "Create Function"
- Select "Author from scratch"
- Fill in Function name "cookiecutter" (if you pick another name, make sure to change the function name in Step 4)
- For "Runtime", select Python 3.12
- Click "Create Function" at the bottom of the page
- in "Code" tab replace "lambda_function.py" file with the attached one in Step 2.
- in "Configuration" tab select "Environment variables", and add new variable with name
COOKIECUTTER_CONFIG
and value/tmp/cookiecutter/custom-config.yaml
. - Back to "Code" tab, and "Deploy" the function
- Create a new worflow using the JSON spec in step 3 and update the connection in each step with your GitHub API token. Publish the workflow.
- Create a new workflow using the JSON spec in Main. You should have a workflow with three steps like the one shown below. Manually update steps 1 & 3 in this worflow to select the new workflows you just created in above steps. If needed, update the
Region
andFunction name
fields in step 2 to point to your Lambda function. You can now run this workflow directly or trigger it from other apps/worflows. - Create a new app in app builder using JSON spec in step 4. Manually update the trigger workflow query in the app to call your main workflow created above and pass in the parameters from your form
Checkout the docs for additional information on App Builder, Workflows, and Templates.
![image](https://private-user-images.githubusercontent.com/1262407/328181449-51219bfd-6256-46d4-8475-564170b4b236.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NDczNjYsIm5iZiI6MTcxOTg0NzA2NiwicGF0aCI6Ii8xMjYyNDA3LzMyODE4MTQ0OS01MTIxOWJmZC02MjU2LTQ2ZDQtODQ3NS01NjQxNzBiNGIyMzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDFUMTUxNzQ2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODdiMzk3MTUyNzk0Y2E2MGY5ZmZkZjFmNmE1ZDQ4MDIwOTU5MDJkOTg3ZDk3OGEwZmZlNTQ2OGJiOTIzZTUxMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.7Wnh3pCHO8nlJ_WsIxoY4ViaOmhwL7-MudULrlKvUyI)