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 permissions for managing s3 bucket policies and lifecycle configurations #16

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

MatthewCochrane
Copy link
Contributor

The code in this PR into aws-infrastructure which adds parameters to DataCenterFormula to store avatar and/or attachment data in an S3 bucket (instead of the shared home) requires that the JPT-dev role gets these extra permissions to allow attaching a policy to a bucket and to create a lifecycle rule to automatically clean the bucket contents.

Copy link
Contributor

@mgrzaslewicz mgrzaslewicz left a comment

Choose a reason for hiding this comment

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

Could you amend commit message and explain why it's needed?
In other words follow
https://cbea.ms/git-commit/#why-not-how

and move add the explanation from PR to commit itself - as it's something easily accessible in the code, while PR will get lost

…rations.

The JPT-dev role needs these extra permissions to allow attaching a policy to a bucket and to create a lifecycle rule to automatically clean the bucket contents. These permissions are required when setting the jiraSharedStorageConfig option in DataCenterFormula (in aws-infrastructure) to store avatar and/or attachments in an S3 bucket (instead of the shared home).
@MatthewCochrane
Copy link
Contributor Author

Could you amend commit message and explain why it's needed? In other words follow https://cbea.ms/git-commit/#why-not-how

and move add the explanation from PR to commit itself - as it's something easily accessible in the code, while PR will get lost

Sure thing. Updated!

@mgrzaslewicz mgrzaslewicz merged commit a59072d into master Oct 27, 2023
3 checks passed
@mgrzaslewicz mgrzaslewicz deleted the fsm-s3-permissions branch October 27, 2023 11:57
@dagguh
Copy link
Contributor

dagguh commented Apr 19, 2024

These permissions are required when setting the jiraSharedStorageConfig option in DataCenterFormula (in aws-infrastructure)

Then this change should have happened in aws-infrastructure. Keep it local

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