Skip to content

Add permissions for managing s3 bucket policies and lifecycle configurations#16

Merged
mgrzaslewicz merged 1 commit intomasterfrom
fsm-s3-permissions
Oct 27, 2023
Merged

Add permissions for managing s3 bucket policies and lifecycle configurations#16
mgrzaslewicz merged 1 commit intomasterfrom
fsm-s3-permissions

Conversation

@MatthewCochrane
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@mgrzaslewicz mgrzaslewicz deleted the fsm-s3-permissions branch October 27, 2023 11:57
@dagguh
Copy link
Copy Markdown
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