srinivasaleti / my-learnings

0 stars 0 forks source link

Min permission for ecs + rds #10

Open srinivasaleti opened 1 year ago

srinivasaleti commented 1 year ago
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "S3Sid",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:ListBucket"
            ],
            "Resource": "*" //Replace with s3 arn
        },
        {
            "Sid": "VPCSid",
            "Effect": "Allow",
            "Action": [
                "ec2:DescribeVpcs",
                "ec2:CreateVpc",
                "ec2:DescribeVpcAttribute",
                "ec2:CreateTags"
            ],
            "Resource": "*"
        }
    ]
}