AmazonEKSNetworkingPolicy

Last Modified

Aug 21, 2026

August 21, 2026 at 06:03 PM UTC

Version

v3

Total Versions

3

Created

Aug 21, 2026

Actions

12

Risk

no risk signal

Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

IAM Access Analyzer (1)

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key aws:RequestTag/eks:kubernetes-cni-node-name in the condition block of StringLike with {aws:RequestTag/eks:kubernetes-cni-node-name: false} to ensure better enforcement of the condition. AWS docs

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": "ec2:CreateNetworkInterface",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/eks:eks-cluster-name": "${aws:PrincipalTag/eks:eks-cluster-name}"
            },
            "StringLike": {
              "aws:RequestTag/eks:kubernetes-cni-node-name": "*"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "eks:eks-cluster-name",
                "eks:kubernetes-cni-node-name",
                "sgp.eks.amazonaws.com/instance-id",
                "sgp.eks.amazonaws.com/trunk-eni-id",
                "sgp.eks.amazonaws.com/vlan-id",
                "sgp.eks.amazonaws.com/managed",
                "sgp.eks.amazonaws.com/policy-ref"
              ]
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": "ec2:CreateNetworkInterface",
          "Resource": [
            "arn:aws:ec2:*:*:security-group/*",
            "arn:aws:ec2:*:*:subnet/*"
          ]
        },
        {
          "Effect": "Allow",
          "Action": "ec2:CreateTags",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": "CreateNetworkInterface"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:AttachNetworkInterface",
            "ec2:DetachNetworkInterface",
            "ec2:UnassignPrivateIpAddresses",
            "ec2:UnassignIpv6Addresses",
            "ec2:AssignPrivateIpAddresses",
            "ec2:AssignIpv6Addresses"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/eks:eks-cluster-name": "${aws:PrincipalTag/eks:eks-cluster-name}"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": "ec2:ModifyNetworkInterfaceAttribute",
          "Resource": [
            "arn:aws:ec2:*:*:network-interface/*",
            "arn:aws:ec2:*:*:instance/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/eks:eks-cluster-name": "${aws:PrincipalTag/eks:eks-cluster-name}"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:AssociateTrunkInterface",
            "ec2:DisassociateTrunkInterface"
          ],
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v3",
    "IsDefaultVersion": true,
    "CreateDate": "2026-08-21T17:27:32+00:00"
  }
}

Version History (4 recorded)

Raw history
v3updated

2 actions added

01ff13d

AmazonEKSNetworkingPolicy - Policy Version v2

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

8b42112

AmazonEKSNetworkingPolicy - Policy Version v2

No recorded action delta - this version predates the change index. View the raw diff.

Feb 20, 2026

17a9fee

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Oct 29, 2024

0c60b89