Skip to content

Instantly share code, notes, and snippets.

@fintanmm
Created June 14, 2022 06:01
Show Gist options
  • Select an option

  • Save fintanmm/dbd83e2f0a84fda371fb12c8caac2d2c to your computer and use it in GitHub Desktop.

Select an option

Save fintanmm/dbd83e2f0a84fda371fb12c8caac2d2c to your computer and use it in GitHub Desktop.
vscode quarkus lambda tasks
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Create Lambda",
"type": "shell",
"command": "target/manage.sh create",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
},
{
"label": "Delete Lambda",
"type": "shell",
"command": "target/manage.sh delete",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
},
{
"label": "Invoke Lambda",
"type": "shell",
"command": "target/manage.sh invoke",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
},
{
"label": "Update Lambda",
"type": "shell",
"command": "target/manage.sh update",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
},
{
"label": "Reset Lambda",
"type": "shell",
"command": "target/manage.sh delete create invoke",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
},
{
"label": "Create Native Lambda",
"type": "shell",
"command": "target/manage.sh native create",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": "",
"Variables": "{DISABLE_SIGNAL_HANDLERS=true}"
}
}
},
{
"label": "Delete Native Lambda",
"type": "shell",
"command": "target/manage.sh native delete",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
},
{
"label": "Invoke Native Lambda",
"type": "shell",
"command": "target/manage.sh invoke",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
},
{
"label": "Update Native Lambda",
"type": "shell",
"command": "target/manage.sh native update",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
},
{
"label": "Reset Native Lambda",
"type": "shell",
"command": "target/manage.sh native delete create invoke",
"group": "none",
"options": {
"cwd": "${workspaceFolder}/",
"env": {
"LAMBDA_ROLE_ARN": "",
"AWS_PROFILE": ""
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment