DefectRAG / deployment /aws /lambda /budget_guard_policy.json
Wizzas's picture
Upload source code
2274b3a verified
Raw History Blame
446 Bytes
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ReadInstances",
"Effect": "Allow",
"Action": ["ec2:DescribeInstances"],
"Resource": "*"
},
{
"Sid": "StopOnlyLabInstances",
"Effect": "Allow",
"Action": ["ec2:StopInstances"],
"Resource": "arn:aws:ec2:*:*:instance/*",
"Condition": {
"StringEquals": { "aws:ResourceTag/Project": "DefectRAG-lab" }
}
}
]
}