Skip to content

AWS::EKS::AccessEntry - The EKS AccessEntry "STANDARD" Type Naming Correction #2116

Open
@patel0ankur

Description

@patel0ankur

Name of the resource

AWS::EKS::AccessEntry

Resource name

No response

Reference Link

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-accessentry.html#cfn-eks-accessentry-type:~:text=%3A%20No%20interruption-,Type,-The%20type%20of

Details

The AWS::EKS::AccessEntry CloudFormation resource type contains a typographical error in the documentation for the "Type" property, where "Standard" is incorrectly spelled instead of the correct uppercase "STANDARD".

The Document says the valid values are Standard, FARGATE_LINUX, EC2_LINUX, and EC2_WINDOWS.

The correct value should be STANDARD instead of Standard.

CloudFormation Code using Type as Standard:

Resources:
  MyAccessEntry:
    Type: 'AWS::EKS::AccessEntry'
    Properties:
      ClusterName: 'eks-workshop'
      PrincipalArn: 'arn:aws:iam::xxxxxxxx:role/appsync-role'
      Username: 'appsync'
      AccessPolicies:
        - PolicyArn: 'arn:aws:eks::aws:cluster-access-policy/AmazonEKSAdminPolicy'
          AccessScope:
            Type: 'namespace'
            Namespaces:
              - 'carts'
      Type: 'Standard'

Received Error in the Events:

Resource handler returned message: "AccessEntry type must be one of [EC2_LINUX, EC2_WINDOWS, FARGATE_LINUX, STANDARD] (Service: Eks, Status Code: 400, Request ID: cabe563e-3eb2-45cd-9b53-8ea109e11ff9)" (RequestToken: 354a18ad-b9ab-26a7-3133-8da180bc10f7, HandlerErrorCode: InvalidRequest)

Please correct the spelling from Standard to STANDARD in the AWS document.
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    Researching

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions