You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using an identity other than the root user (i.e. user with administrative credentials in Identity center per best practice) of the AWS account that owns the bucket, the calling identity must have the PutBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.
If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error
Expected Behavior
stack deploys correctly
Current Behavior
stack fails creation
Reproduction Steps
cdk deploy
Possible Solution
Add a s3:PutBucketPolicy action to the PolicyStatement
Additional Information/Context
No response
CDK CLI Version
2.139.0 (build 2699ffd)
Framework Version
No response
Node.js Version
v20.0.0
OS
Ubuntu 22.04.4 LTS
Language
Python
Language Version
3.10.12
The text was updated successfully, but these errors were encountered:
Describe the bug
Static-site-stack - Python
If you are using an identity other than the root user (i.e. user with administrative credentials in Identity center per best practice) of the AWS account that owns the bucket, the calling identity must have the PutBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.
If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error
Expected Behavior
stack deploys correctly
Current Behavior
stack fails creation
Reproduction Steps
cdk deploy
Possible Solution
Add a
s3:PutBucketPolicy
action to the PolicyStatementAdditional Information/Context
No response
CDK CLI Version
2.139.0 (build 2699ffd)
Framework Version
No response
Node.js Version
v20.0.0
OS
Ubuntu 22.04.4 LTS
Language
Python
Language Version
3.10.12
The text was updated successfully, but these errors were encountered: