Skip to content

Instantly share code, notes, and snippets.

View poly4concept's full-sized avatar
💭
world class stuff

Mubarak Alhazan poly4concept

💭
world class stuff
View GitHub Profile
@poly4concept
poly4concept / FrontendMigrationPolicy.json
Last active October 3, 2024 12:11
IAM policy for all the access and permission require to do a frontend migration as talked about in this aritcle[ https://poly4.hashnode.dev/migrating-frontend-deployment-across-aws-accounts]
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:DeleteBucket",
"s3:ListBucket",
"s3:GetObject",
@poly4concept
poly4concept / Policy.json
Last active March 27, 2024 08:29
S3 Policy to make bucket publicly accessible
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket-name/*"
}