-
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
Config log_retention_in_days
not working
#2079
Comments
Hi 👋 I'm not sure it's entirely related, but I'm trying to use 'log_retention_in_days': 7, in a chalice project with CDK. When I add this to the stage_config, I get the following error :
I'm using self.chalice = Chalice(
self,
'ChaliceApp',
source_dir=RUNTIME_SOURCE_DIR,
stage_config={
'environment_variables': self.environment_variables,
'lambda_timeout': 900,
'lambda_memory_size': 256,
'log_retention_in_days' : 7
},
) |
I get the same error when adding
Then when I package this (before being run with terraform), I get this error:
The chalice version we are using is |
Whenever we are using
log_retention_in_days
attribute within our chalice configuration we are getting "Feature Unsupported exception"chalice.package.UnsupportedFeatureError: LogGroup(resource_name='api_handler-log-group', log_group_name='/aws/lambda/xxx-api_handler', retention_in_days=7)
We are using chalice version
1.29.0
The text was updated successfully, but these errors were encountered: