https://github.com/pepperize/cdk-eks
https://github.com/pepperize/cdk-eks
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pepperize/cdk-eks
- Owner: pepperize
- License: mit
- Created: 2022-04-21T17:20:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-18T02:44:50.000Z (about 1 year ago)
- Last Synced: 2025-06-18T03:28:51.408Z (about 1 year ago)
- Language: TypeScript
- Size: 1.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/pepperize/cdk-eks/blob/main/LICENSE)
[](https://www.npmjs.com/package/@pepperize/cdk-eks)
[](https://github.com/pepperize/cdk-eks/actions/workflows/release.yml)
[](https://github.com/pepperize/cdk-eks/releases)
[](https://gitpod.io/#https://github.com/pepperize/cdk-eks)
# AWS CDK EKS
## Install
### TypeScript
```shell
npm install @pepperize/cdk-eks
```
or
```shell
yarn add @pepperize/cdk-eks
```
## Getting started
1. Create a new CDK TypeScript App project with [projen](https://github.com/projen/projen)
```shell
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`
```typescript
const project = new awscdk.AwsCdkTypeScriptApp({
//...
deps: ["@pepperize/cdk-eks"],
});
```
3. Install the dependency
```shell
yarn
npx projen
```
4. Create a new app in `src/main.ts`
```typescript
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](https://github.com/pepperize/cdk-eks/blob/main/CONTRIBUTING.md).
For a quick start, check out a development environment:
```shell
git clone git@github.com:pepperize/cdk-eks
cd cdk-eks
# install dependencies
yarn
# build with projen
yarn build
```