@pepperize/cdk-eks
TypeScript icon, indicating that this package has built-in type declarations

0.1.647 • Public • Published

GitHub npm (scoped) GitHub Workflow Status (branch) GitHub release (latest SemVer) Gitpod ready-to-code

AWS CDK EKS

Install

TypeScript

npm install @pepperize/cdk-eks

or

yarn add @pepperize/cdk-eks

Getting started

  1. Create a new CDK TypeScript App project with projen

    mkdir my-project
    cd my-project
    git init -b main
    npx projen new awscdk-app-ts
  2. Add @pepperize/cdk-eks to your dependencies in .projenrc.js

    const project = new awscdk.AwsCdkTypeScriptApp({
      //...
      deps: ["@pepperize/cdk-eks"],
    });
  3. Install the dependency

    yarn
    npx projen
  4. Create a new app in src/main.ts

    import { App, Stack } from "aws-cdk-lib";
    import * as ec2 from "aws-cdk-lib/aws-ec2";
    import { Cluster } from "@pepperize/cdk-eks";
    
    const app = new App();
    const stack = new Stack(app);
    
    const vpc = new ec2.Vpc(stack, "Vpc", {});
    
    new Cluster(stack, "Cluster", {
      vpc: vpc,
      hostedZoneIds: ["Z1D633PJN98FT9"],
      mainRoles: [],
    });

Contributing

Contributions of all kinds are welcome 🚀 Check out our contributor's guide.

For a quick start, check out a development environment:

git clone git@github.com:pepperize/cdk-eks
cd cdk-eks
# install dependencies
yarn
# build with projen
yarn build

Readme

Keywords

Package Sidebar

Install

npm i @pepperize/cdk-eks

Weekly Downloads

287

Version

0.1.647

License

MIT

Unpacked Size

320 kB

Total Files

39

Last publish

Collaborators

  • acfo
  • pflorek