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

Feature/s3 object ownership #177

Merged
merged 3 commits into from
Oct 30, 2020
Merged

Feature/s3 object ownership #177

merged 3 commits into from
Oct 30, 2020

Conversation

rpoluri
Copy link
Contributor

@rpoluri rpoluri commented Oct 30, 2020

📝 Description

Add aws_s3_bucket_ownership_controls terraform resource for all apiary managed buckets,cross account object writes will be owned by bucket instead of writer.

🔗 Related Issues

@rpoluri rpoluri requested a review from a team as a code owner October 30, 2020 15:01
KenFigueiredo
KenFigueiredo previously approved these changes Oct 30, 2020
object_ownership = "BucketOwnerPreferred"
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also do this for our internal buckets like inventory, logs, etc? Especially for inventory bucket, this would allow us to federate the inventory tables if we ever decide we want to.

Although looking at the docs closer, it would rely on Amazon inventory process writing files with bucket-owner-full-control ACL for the object to get correct AWS owner. Maybe we can set it in the hopes that AWS either does use that ACL, or will in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done for inventory bucket, other bucket should be written from same accounts

@rpoluri rpoluri merged commit 374bb8d into master Oct 30, 2020
@rpoluri rpoluri deleted the feature/s3_object_ownership branch October 30, 2020 16:46
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.

3 participants