AWSEC2VssRestorePolicy
Last Modified
Mar 31, 2026
March 31, 2026 at 08:44 AM UTC
Version
v1
Total Versions
1
Created
Mar 25, 2026
Actions
13
Risk
HighAn unrestricted escalation path, identity administration, secret reads or the power to switch off security monitoring. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
- High
Can take over existing resources that run as another role
Grants every action of 1 documented escalation path on any resource with no condition.
Use with caution: List the roles attached to the functions, instances, pipelines or notebooks it can modify: the holder effectively has them too.
IAM Access Analyzer (3)
- Suggestion / EQUIVALENT_TO_NULL_FALSE
We recommend replacing the key aws:RequestTag/AwsVssConfig in the condition block of StringLike with {aws:RequestTag/AwsVssConfig: false} to ensure better enforcement of the condition. AWS docs
- Suggestion / EQUIVALENT_TO_NULL_FALSE
We recommend replacing the key ec2:ResourceTag/AwsVssConfig in the condition block of StringLike with {ec2:ResourceTag/AwsVssConfig: false} to ensure better enforcement of the condition. AWS docs
- Suggestion / EQUIVALENT_TO_NULL_FALSE
We recommend replacing the key ec2:ResourceTag/AwsVssConfig in the condition block of StringLike with {ec2:ResourceTag/AwsVssConfig: false} to ensure better enforcement of the condition. AWS docs
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CreateVolumeAccessVolume",
"Effect": "Allow",
"Action": "ec2:CreateVolume",
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringLike": {
"aws:RequestTag/AwsVssConfig": "*"
},
"ArnLike": {
"ec2:ParentSnapshot": "arn:aws:ec2:*:*:snapshot/*"
}
}
},
{
"Sid": "CreateVolumeAccessSnapshot",
"Effect": "Allow",
"Action": "ec2:CreateVolume",
"Resource": "arn:aws:ec2:*:*:snapshot/*",
"Condition": {
"StringLike": {
"ec2:ResourceTag/AwsVssConfig": "*"
}
}
},
{
"Sid": "CreateVolumeWithTagging",
"Effect": "Allow",
"Action": "ec2:CreateTags",
"Resource": "arn:aws:ec2:*:*:volume/*",
"Condition": {
"StringEquals": {
"ec2:CreateAction": "CreateVolume"
}
}
},
{
"Sid": "AttachVolumeAccessVolume",
"Effect": "Allow",
"Action": "ec2:AttachVolume",
"Resource": "*",
"Condition": {
"StringLike": {
"ec2:ResourceTag/AwsVssConfig": "*"
}
}
},
{
"Sid": "AttachVolumeAccessInstance",
"Effect": "Allow",
"Action": "ec2:AttachVolume",
"Resource": "arn:aws:ec2:*:*:instance/*"
},
{
"Sid": "DescribeVolumes",
"Effect": "Allow",
"Action": "ec2:DescribeVolumes",
"Resource": "*"
},
{
"Sid": "DescribeSnapshots",
"Effect": "Allow",
"Action": "ec2:DescribeSnapshots",
"Resource": "*"
},
{
"Sid": "DescribeInstanceAttribute",
"Effect": "Allow",
"Action": "ec2:DescribeInstanceAttribute",
"Resource": "arn:aws:ec2:*:*:instance/*"
},
{
"Sid": "SsmAutomationRead",
"Effect": "Allow",
"Action": [
"ssm:DescribeInstanceInformation",
"ssm:ListCommandInvocations",
"ssm:ListCommands"
],
"Resource": "*"
},
{
"Sid": "SsmRunCommand",
"Effect": "Allow",
"Action": [
"ssm:SendCommand",
"ssm:GetDocument"
],
"Resource": [
"arn:aws:ec2:*:*:instance/*",
"arn:aws:ssm:*:*:document/AWS-ConfigureAWSPackage",
"arn:aws:ssm:*:*:document/AWSEC2-PrepareVssRestore",
"arn:aws:ssm:*:*:document/AWSEC2-RunVssRestoreForSqlDatabase"
]
}
]
},
"VersionId": "v1",
"IsDefaultVersion": true,
"CreateDate": "2026-03-25T23:12:16+00:00"
}
}Version History (1 recorded)
Raw history11 actions added