Skip to content

Instantly share code, notes, and snippets.

@ck1125
Created November 26, 2020 20:47
Show Gist options
  • Save ck1125/72021b29f0de19f1f047bc9331cd634c to your computer and use it in GitHub Desktop.
Save ck1125/72021b29f0de19f1f047bc9331cd634c to your computer and use it in GitHub Desktop.
Sample ask-resources.json
{
"askcliResourcesVersion": "2020–03–31",
"profiles": {
"my-profile": {
"skillMetadata": {
"src": "./skill-package/pre-prod"
},
# Specify code to be deployed to each region
"code": {
"default": {
"src": "./lambda/rsk"
},
"EU": {
"src": "./lambda/rsk"
}
},
"skillInfrastructure": {
"type": "@ask-cli/cfn-deployer",
"userConfig": {
"runtime": "nodejs12.x",
"handler": "index.handler",
"templatePath": "./infrastructure/cfn-deployer/skill-stack.yaml",
# Default AWS Region is US-east-1 for Music Skills
"awsRegion": "us-east-1",
"functionName": "MyLambdaFunctionName",
# RegionalOverrides block lets us define our additional regions
"regionalOverrides": {
"EU": {
"awsRegion": "eu-west-1"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment