Skip to content

Commit

Permalink
Update dev server IAM policy…
Browse files Browse the repository at this point in the history
… with changes made by James on the AWS Console.

I copied the policy¹ as JSON from AWS Console and pasted directly into
the file. After reordering to match the existing file contents, which
are sorted to be more readable rather than alphabetical, I confirmed
that this updated version of the file results in no unexpected changes
with `terraform plan` (after accounting for policy changes in other
PRs).

¹ arn:aws:iam::827581582529:policy/NextstrainDotOrgServerInstance-testing

Co-authored-by: James Hadfield <[email protected]>
  • Loading branch information
victorlin and jameshadfield committed Oct 4, 2023
1 parent d6cb799 commit 0aaf7fa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions aws/iam/policy/NextstrainDotOrgServerInstanceDev.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@
"arn:aws:s3:::nextstrain-groups/test/*",
"arn:aws:s3:::nextstrain-groups/test-private/*"
]
},
{
"Sid": "GetInventories",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::nextstrain-inventories/nextstrain-data/*",
"arn:aws:s3:::nextstrain-inventories/nextstrain-staging/*",
"arn:aws:s3:::nextstrain-inventories/resources.json.gz"
]
}
]
}

0 comments on commit 0aaf7fa

Please sign in to comment.