Giter Site home page Giter Site logo

aws-samples / amazon-eks-refarch-cloudformation Goto Github PK

View Code? Open in Web Editor NEW
141.0 25.0 56.0 3.83 MB

Reference architecture of Amazon EKS cloudformation templates and AWS CDK samples

License: Apache License 2.0

Makefile 67.14% TypeScript 20.85% JavaScript 12.01%

amazon-eks-refarch-cloudformation's Issues

Error running npm run build

Hello there,

I'm getting the following error message when trying to run the build script. Any suggestions would be welcome!

tsc

node_modules/@types/node/index.d.ts:97:11 - error TS2300: Duplicate identifier 'IteratorResult'.

97 interface IteratorResult { }
~~~~~~~~~~~~~~

node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6
41 type IteratorResult<T, TReturn = any> = IteratorYieldResult | IteratorReturnResult;
~~~~~~~~~~~~~~
'IteratorResult' was also declared here.

node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 - error TS2300: Duplicate identifier 'IteratorResult'.

41 type IteratorResult<T, TReturn = any> = IteratorYieldResult | IteratorReturnResult;
~~~~~~~~~~~~~~

node_modules/@types/node/index.d.ts:97:11
97 interface IteratorResult { }
~~~~~~~~~~~~~~
'IteratorResult' was also declared here.

Found 2 errors.

Issue with eks-auth-update-hook

Hello,

I am trying to working with the repo but I am facing some issue, there is some basic one related to the version of the cluster, and it was easy to update by changing the version from 1.10,1.11,1.12,1.23 to 1.19, 1.20, 1.21, 1.22

When I am doing make to create the cluster, the main cloud formation failed, I can see the nested one :
CL, NG are ok but then I have this issue coming on the third nested formation AMI)

Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [ConfigMapUpdate] is invalid. Application with id arn:aws:serverlessrepo:us-east-1:XXXXXXXX:applications/eks-auth-update-hook could not be found.

Any idea what I am missing ?

Thanks

Cloudformation template is outdated

I wanted to let know that your Cloudformation script is outdated. Specifically, the ClusterVersion template parameter is what causes the stack to fail to build:

AllowedValues:
      - "1.10"
      - "1.11"
      - "1.12"
      - "1.13"
      - "latest"

Currently 1.19 to 1.21 is supported, and "latest" is apparently not a valid kubernetes version (as per EKS). In addition, there is a logical error after you get to build the cluster with a supported version:
image

AWS::EKS::Cluster without 'Version' property will not create latest cluster version

For example, the following cfn template will create 1.12 in ap-northeast-1

AWSTemplateFormatVersion: 2010-09-09

Resources:
  EKSCluster:
    Type: "AWS::EKS::Cluster"
    Properties:
      Name: demo
      ResourcesVpcConfig:
        SecurityGroupIds: 
          - sg-0153bc41936cad87d
        SubnetIds: 
            - subnet-050196ad9cabc770d
            - subnet-01dc57b9cb22345b4
            - subnet-00a56b14600908367
      RoleArn: arn:aws:iam::903779448426:role/EKS-CDK-demo2-eksdemocdk2ClusterRoleFC35564C-CNS930B6OMG3

image

However, in EKS console 1.13 should be the current latest version.

image

And according to the document, the latest version available should be used.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.