integ-tests-alpha: Access Denied when trying to list S3 buckets with awsApiCall: #30235
Labels
@aws-cdk/aws-s3
Related to Amazon S3
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/small
Small work item – less than a day of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
When using the
IntegTest.assertions.awsApiCall
in a simple integration test, the test fails to deploy with an ErrorAccess denied
. Anaws s3 ls
works though in the same shell.Expected Behavior
The API Call to succeed and the integration test to run and return successfull
Current Behavior
The integration test returns with an CREATE_FAILED error:
Reproduction Steps
Using the integration test example on https://github.com/5nafu/cdk-integ-runner/blob/main/test-integ-tests/integ.demo.ts, run
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.142.0
Framework Version
[email protected]
Node.js Version
v20.12.0
OS
OSX/Linux
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: