-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for AccessLogSetting and TracingEnabled from AWS::Serverless::Api #1753
Comments
Looks like this is a bug with the cloudformation/terraform packaging. The The |
Just for the sake of those who stumble upon this issue, in the meantime that the feature/bug is implemented you can enable both settings via CloudFormation template merge; at the time of opening this issue I wasn't aware of it yet but it worked. |
I use chalice with cdk and i use cdk deploy without chalice package, so this issue is super important for me as i need manually go and update each apigateway to use xray or write a script for this. Any updates? |
…bled in config.
Currently Chalice allows for an
xray
key that according to the documentation is:What it actually does is to enable tracing only for the functions but not the API Gateway. The generated CloudFormation template has a
"Tracing": "Active"
property in theAWS::Serverless::Function
resource but doesn't have theTracingEnabled
needed in theAWS::Serverless::Api
resources to enable tracing.Also the access logs are not implemented at all and would be great to have them to implement best observability practices.
AWS::Serverless::Api
exposes aAccessLogSetting
property that would allow to set CloudWatch access logging on the stage.The text was updated successfully, but these errors were encountered: