mirror of
https://github.com/ghndrx/gregh.dev.git
synced 2026-02-10 14:54:56 +00:00
feat: Migrate to AWS CloudFront and update resume (#11)
* variables -> env * update * mv to vars * update year in experience * mv to src folder * remove old files * Migrate to AWS CloudFront and update resume
This commit is contained in:
27
terraform/github-role-policy.json
Normal file
27
terraform/github-role-policy.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"s3:PutObject",
|
||||
"s3:GetObject",
|
||||
"s3:DeleteObject",
|
||||
"s3:ListBucket"
|
||||
],
|
||||
"Resource": [
|
||||
"arn:aws:s3:::gregh.dev",
|
||||
"arn:aws:s3:::gregh.dev/*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"cloudfront:CreateInvalidation",
|
||||
"cloudfront:GetInvalidation",
|
||||
"cloudfront:ListInvalidations"
|
||||
],
|
||||
"Resource": "arn:aws:cloudfront::471112517070:distribution/ERJQO1UEJ8IM7"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user