Skip to content

Ajout d'un bucket S3 pour les backups Github#41

Open
leo-naeka wants to merge 3 commits intomainfrom
leo/add-github-backups-bucket
Open

Ajout d'un bucket S3 pour les backups Github#41
leo-naeka wants to merge 3 commits intomainfrom
leo/add-github-backups-bucket

Conversation

@leo-naeka
Copy link
Copy Markdown
Collaborator

Bucket S3 permettant de stocker les backups des projets Github effectués par https://github.com/gip-inclusion/gh-backups/

@leo-naeka leo-naeka self-assigned this Oct 22, 2025
Effect = "Allow",
Principal = {
SCW = [
"application_id:${data.scaleway_iam_application.github_backups.id}",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

donc la seule référence à l'iam créé dans la PR précédente est ici c'est ça ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Pas tout à fait, il y a deux policies dans le cas présent (ressource object storage) :

  • La policy S3, ici-même, liée au bucket
  • La policy IAM, dans l'IAM, de plus haut niveau, affectant un jeu de permissions à notre service account (l'application github-backups) :
    application_id = scaleway_iam_application.github_backups.id
    rule {
    project_ids = [data.scaleway_account_project.default.project_id]
    permission_set_names = [
    "ObjectStorageBucketsRead",
    "ObjectStorageObjectsRead",
    "ObjectStorageObjectsWrite",
    ]

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