The deployment steps for the Universal Translator application is the same as the deployment steps of the projects in the previous chapters. We include them here for completion.
- First, let's tell Chalice to perform policy analysis for us by setting "autogen_policy" to false in the config.json file in the .chalice directory of the project structure:
{
"version": "2.0",
"app_name": "Capabilities",
"stages": {
"dev": {
"autogen_policy": false,
"api_gateway_stage": "api"
}
}
}
- Next, we create a new file policy-dev.json in the chalice directory to manually specify the AWS services the project needs:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"...