AWSElasticBeanstalkEKSTagging

Last Modified

Jul 2, 2026

July 2, 2026 at 10:03 PM UTC

Version

v1

Total Versions

1

Created

Jul 2, 2026

Actions

13

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 (3)

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

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

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

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

  • 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": [
        {
          "Sid": "Compute",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateFleet",
            "ec2:RunInstances",
            "ec2:CreateLaunchTemplate"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/eks:eks-cluster-name": "${aws:PrincipalTag/eks:eks-cluster-name}"
            },
            "StringLike": {
              "aws:RequestTag/eks:kubernetes-node-class-name": "*",
              "aws:RequestTag/eks:kubernetes-node-pool-name": "*"
            }
          }
        },
        {
          "Sid": "Storage",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateVolume",
            "ec2:CreateSnapshot"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:volume/*",
            "arn:aws:ec2:*:*:snapshot/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/eks:eks-cluster-name": "${aws:PrincipalTag/eks:eks-cluster-name}"
            }
          }
        },
        {
          "Sid": "Networking",
          "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": "*"
            }
          }
        },
        {
          "Sid": "LoadBalancer",
          "Effect": "Allow",
          "Action": [
            "elasticloadbalancing:CreateLoadBalancer",
            "elasticloadbalancing:CreateTargetGroup",
            "elasticloadbalancing:CreateListener",
            "elasticloadbalancing:CreateRule",
            "ec2:CreateSecurityGroup"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/eks:eks-cluster-name": "${aws:PrincipalTag/eks:eks-cluster-name}"
            }
          }
        },
        {
          "Sid": "ShieldProtection",
          "Effect": "Allow",
          "Action": [
            "shield:CreateProtection"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/eks:eks-cluster-name": "${aws:PrincipalTag/eks:eks-cluster-name}"
            }
          }
        },
        {
          "Sid": "ShieldTagResource",
          "Effect": "Allow",
          "Action": [
            "shield:TagResource"
          ],
          "Resource": "arn:aws:shield::*:protection/*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/eks:eks-cluster-name": "${aws:PrincipalTag/eks:eks-cluster-name}"
            }
          }
        }
      ]
    },
    "VersionId": "v1",
    "IsDefaultVersion": true,
    "CreateDate": "2026-07-02T21:27:19+00:00"
  }
}

Version History (1 recorded)

Raw history
v1new policy

13 actions added

b9b4b31