Dependency validation
The Dependency validation template runs AWS FIS actions that block in-Region dependency traffic from Amazon EC2, Amazon ECS, and Amazon EKS workloads. Attach the following permissions policy to the execution role.
{ "Version": "2012-10-17", "Statement": [ { "Sid": "SsmSendCommandOnDocuments", "Effect": "Allow", "Action": "ssm:SendCommand", "Resource": [ "arn:aws:ssm:*::document/AWSFIS-Run-Network-Packet-Loss-Sources", "arn:aws:ssm:*::document/AWSFIS-Run-Network-Packet-Loss-ECS" ] }, { "Sid": "SsmSendCommandOnInstances", "Effect": "Allow", "Action": "ssm:SendCommand", "Resource": [ "arn:aws:ec2:*:account-id:instance/*", "arn:aws:ssm:*:account-id:managed-instance/*", "arn:aws:ecs:*:account-id:task/*/*" ] }, { "Sid": "SsmListAndCancelCommands", "Effect": "Allow", "Action": [ "ssm:ListCommands", "ssm:CancelCommand" ], "Resource": "*" }, { "Sid": "Ec2DescribeForTargetResolution", "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeSubnets" ], "Resource": "*" }, { "Sid": "EcsDescribeForTargetResolution", "Effect": "Allow", "Action": [ "ecs:DescribeTasks", "ecs:DescribeContainerInstances", "ecs:ListTasks" ], "Resource": [ "arn:aws:ecs:*:account-id:task/*/*", "arn:aws:ecs:*:account-id:container-instance/*/*", "arn:aws:ecs:*:account-id:cluster/*" ] }, { "Sid": "EksDescribeCluster", "Effect": "Allow", "Action": "eks:DescribeCluster", "Resource": "arn:aws:eks:*:account-id:cluster/*" }, { "Sid": "TargetResolutionByTags", "Effect": "Allow", "Action": "tag:GetResources", "Resource": "*" }, { "Sid": "FISExperimentLogging", "Effect": "Allow", "Action": [ "logs:CreateLogDelivery", "logs:GetLogDelivery", "logs:UpdateLogDelivery", "logs:DeleteLogDelivery", "logs:ListLogDeliveries" ], "Resource": "*" }, { "Sid": "FISExperimentLogGroupAccess", "Effect": "Allow", "Action": [ "logs:DescribeResourcePolicies", "logs:PutResourcePolicy", "logs:DescribeLogGroups" ], "Resource": "*" } ] }