AWSTemplateFormatVersion: "2010-09-09" Description: Amazon EKS - Cluster Role Metadata: Rok::StackName: {{EKS_IAM_CLUSTER_CF}} Resources: eksClusterRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: '2012-10-17' Statement: - Effect: Allow Principal: Service: - eks.amazonaws.com Action: - sts:AssumeRole ManagedPolicyArns: - arn:aws:iam::aws:policy/AmazonEKSClusterPolicy RoleName: {{EKS_IAM_CLUSTER_ROLE}} Outputs: RoleArn: Description: The role that Amazon EKS will use to create AWS resources for Kubernetes clusters Value: !GetAtt eksClusterRole.Arn