When using the sample from the docs e.g.:
from chalice import Chalice
app = Chalice(app_name='helloworld')
CITIES_TO_STATE = {
'seattle': 'WA',
'portland': 'OR',
}
@app.route('/')
def index():
return {'hello': 'world'}
@app.route('/cities/{city}')
def state_of_city(name):
return {'state': CITIES_TO_STATE[name]}
Chalice doesn't seem to create any resources beyond the index route. And attempting to call dev/cities/seattle returns a missing authentication error.