diff --git a/docs/example-iam-policy.json b/docs/example-iam-policy.json index a3c9bc9a0a..8ac21f13b2 100644 --- a/docs/example-iam-policy.json +++ b/docs/example-iam-policy.json @@ -22,6 +22,15 @@ ], "Resource": "arn:aws:ec2:*:*:volume/*" }, + { + "Effect": "Allow", + "Action": [ + "ec2:CopyVolumes" + ], + "Resource": [ + "arn:aws:ec2:*:*:volume/vol-*" + ] + }, { "Effect": "Allow", "Action": [ @@ -54,7 +63,8 @@ "StringEquals": { "ec2:CreateAction": [ "CreateVolume", - "CreateSnapshot" + "CreateSnapshot", + "CopyVolumes" ] } } @@ -72,7 +82,8 @@ { "Effect": "Allow", "Action": [ - "ec2:CreateVolume" + "ec2:CreateVolume", + "ec2:CopyVolumes" ], "Resource": "arn:aws:ec2:*:*:volume/*", "Condition": { @@ -84,7 +95,8 @@ { "Effect": "Allow", "Action": [ - "ec2:CreateVolume" + "ec2:CreateVolume", + "ec2:CopyVolumes" ], "Resource": "arn:aws:ec2:*:*:volume/*", "Condition": {