Skip to content

Commit

Permalink
Requesting access to nix-releases S3 bucket
Browse files Browse the repository at this point in the history
I would need this to help migrate current artifacts in
nixos.org/releases to releases.nixos.org (nix-releases s3 bucket).
  • Loading branch information
garbas committed Feb 18, 2020
1 parent e6993e8 commit 64ae8f4
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions terraform/releases.tf
Expand Up @@ -29,7 +29,10 @@ resource "aws_s3_bucket_policy" "releases" {
"Sid": "AllowUploadDebuginfoWrite",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::080433136561:user/s3-upload-releases"
"AWS": [
"arn:aws:iam::080433136561:user/s3-upload-releases",
"arn:aws:iam::065343343465:user/nixos-s3-upload-releases"
]
},
"Action": [
"s3:PutObject",
Expand All @@ -41,7 +44,10 @@ resource "aws_s3_bucket_policy" "releases" {
"Sid": "AllowUploadDebuginfoRead",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::080433136561:user/s3-upload-releases"
"AWS": [
"arn:aws:iam::080433136561:user/s3-upload-releases",
"arn:aws:iam::065343343465:user/nixos-s3-upload-releases"
]
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::nix-releases/*"
Expand All @@ -50,7 +56,10 @@ resource "aws_s3_bucket_policy" "releases" {
"Sid": "AllowUploadDebuginfoRead2",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::080433136561:user/s3-upload-releases"
"AWS": [
"arn:aws:iam::080433136561:user/s3-upload-releases",
"arn:aws:iam::065343343465:user/nixos-s3-upload-releases"
]
},
"Action": [
"s3:ListBucket",
Expand Down

0 comments on commit 64ae8f4

Please sign in to comment.