aws / aws/chalice

Config `log_retention_in_days` not working

Open
#2,079 3 comments 7 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

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`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the configuration using the `log_retention_in_days` attribute on Chalice 1.29.0 and inspect the `chalice.package.UnsupportedFeatureError` involving the generated LogGroup. Done means the configuration deploys without that exception and the Lambda log group receives the requested seven-day retention.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.