aws / aws/chalice

Bug: chalice deploy not discovering correct permissions when client may be stubbed

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

Description

I've implemented a simillar test pattern to the one suggested [here](https://aws.amazon.com/blogs/developer/introducing-the-new-test-client-for-aws-chalice/) under the heading "Testing with the AWS SDK for Python", however this prevents chalice deploy from discovering the correct permissions. Similar issue to https://github.com/aws/chalice/issues/692, but different code example (see example code from linked aws docs).

Contributor guide

Open the contributing guide

Research direction

Start with the AWS testing example linked in the issue and compare its stubbed-client behavior with the related issue #692. Trace how chalice deploy discovers permissions in this setup; done means deployment identifies the correct permissions when the client is stubbed.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.