@pepperize/cdk-eks
v0.1.696
Published
[![GitHub](https://img.shields.io/github/license/pepperize/cdk-eks?style=flat-square)](https://github.com/pepperize/cdk-eks/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-eks?style=flat-square)](https://www.npmjs.com/packa
Downloads
32
Readme
AWS CDK EKS
Install
TypeScript
npm install @pepperize/cdk-eks
or
yarn add @pepperize/cdk-eks
Getting started
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
Add
@pepperize/cdk-eks
to your dependencies in.projenrc.js
const project = new awscdk.AwsCdkTypeScriptApp({ //... deps: ["@pepperize/cdk-eks"], });
Install the dependency
yarn npx projen
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 :rocket: Check out our contributor's guide.
For a quick start, check out a development environment:
git clone [email protected]:pepperize/cdk-eks
cd cdk-eks
# install dependencies
yarn
# build with projen
yarn build