diff --git a/chalice/package.py b/chalice/package.py index b8df388c4..0cdfc181d 100644 --- a/chalice/package.py +++ b/chalice/package.py @@ -328,6 +328,7 @@ def _generate_restapi(self, resource, template): 'Properties': { 'EndpointConfiguration': resource.endpoint_type, 'StageName': resource.api_gateway_stage, + 'TracingEnabled': resource.xray, 'DefinitionBody': resource.swagger_doc, } }