Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: ACL depends on ownership_controls #176

Closed
wants to merge 14 commits into from
Closed

Add: ACL depends on ownership_controls #176

wants to merge 14 commits into from

Conversation

bigfantech
Copy link

@bigfantech bigfantech commented Apr 27, 2023

what

  • aws_s3_bucket_ownership_controls is set first, followed by bucket ACL.

why

  • Starting April 2023, AWS has changed default ObjectOwnership = Bucket Owner Preferred.
    So to add ACL aws_s3_bucket_ownership_controls must be set to ObjectWriter (or) BucketOwnerPreferred first.
    In this PR, aws_s3_bucket_acl depends_on aws_s3_bucket_ownership_controls resource block.
    aws_s3_bucket_ownership_controls default set to BucketOwnerEnforced

references

  # AWS changed default ObjectOwnership = Bucket Owner Preferred.
  # To add ACL `aws_s3_bucket_ownership_controls` must be set to `ObjectWriter` (or) `BucketOwnerPreferred`
 Ref: https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/
@bigfantech bigfantech requested review from a team as code owners April 27, 2023 09:45
Actions fail with error "refusing to allow a Personal Access Token to create or update workflow `.github/workflows/auto-context.yml` without `workflow` scope"

Reason: Incorrect secret name. secrets.REPO_ACCESS_TOKEN derived from other CloudPosse repos, secret ref: https://github.com/cloudposse/terraform-aws-rds-cluster/blob/master/.github/workflows/auto-context.yml
Actions fail with error "refusing to allow a Personal Access Token to create or update workflow `.github/workflows/auto-context.yml` without `workflow` scope"

Reason: Incorrect secret name. secrets.REPO_ACCESS_TOKEN derived from other CloudPosse repos, secret ref: https://github.com/cloudposse/terraform-aws-rds-cluster/blob/master/.github/workflows/auto-context.yml
Actions fail with error "refusing to allow a Personal Access Token to create or update workflow `.github/workflows/auto-context.yml` without `workflow` scope"

Reason: Incorrect secret name. secrets.REPO_ACCESS_TOKEN derived from other CloudPosse repos, secret ref: https://github.com/cloudposse/terraform-aws-rds-cluster/blob/master/.github/workflows/auto-context.yml
Actions fail with error "refusing to allow a Personal Access Token to create or update workflow `.github/workflows/auto-context.yml` without `workflow` scope"

Reason: Incorrect secret name. secrets.REPO_ACCESS_TOKEN derived from other CloudPosse repos, secret ref: https://github.com/cloudposse/terraform-aws-rds-cluster/blob/master/.github/workflows/auto-context.yml
Actions fail with error "refusing to allow a Personal Access Token to create or update workflow `.github/workflows/auto-context.yml` without `workflow` scope"

Reason: Incorrect secret name. secrets.REPO_ACCESS_TOKEN derived from other CloudPosse repos, secret ref: https://github.com/cloudposse/terraform-aws-rds-cluster/blob/master/.github/workflows/auto-context.yml
Actions fail with error "refusing to allow a Personal Access Token to create or update workflow `.github/workflows/auto-context.yml` without `workflow` scope"

Reason: Incorrect secret name. secrets.REPO_ACCESS_TOKEN derived from other CloudPosse repos, secret ref: https://github.com/cloudposse/terraform-aws-rds-cluster/blob/master/.github/workflows/auto-context.yml
@bigfantech bigfantech closed this Apr 27, 2023
@bigfantech bigfantech deleted the fix/acl-objectownership-conflict branch April 27, 2023 13:13
@bigfantech bigfantech restored the fix/acl-objectownership-conflict branch April 27, 2023 13:15
@bigfantech bigfantech reopened this Apr 27, 2023
@nrmatukumalli
Copy link

Is there a timeline on merging this Pull Request ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants