aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

Support importing/updating of S3 bucket policy

Open
#1,068 3 comments 11 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::S3::BucketPolicy

### Resource name

_No response_

### Description

Currently, when trying to update the bucket policy via CloudFormation it will causing the error 'The bucket policy already exists on bucket'. In order to make changes, customer needs to delete and reapply policy, which will cause an outage because of this action.

In short, In order to update bucket policy we would need to delete and recreate it.

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

The request concerns AWS::S3::BucketPolicy and the CloudFormation update path, but it names no repository files, tests, or entry points. Start by locating how bucket policies are imported and updated; done means policy changes apply without requiring deletion and recreation, avoiding an outage.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.