Skip to content

haandol/cdk-transfer-family-efs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CDK Transfer Family EFS

aws transfer-family-efs cdk example

Prerequisites

  • git
  • awscli
  • Nodejs 16.x
  • AWS Account and locally configured AWS credential

Installation

Setup awscli

$ aws configure
AWS Access Key ID [****************NCHZ]:
AWS Secret Access Key [****************AwoB]:
Default region name [us-east-1]:
Default output format [json]:

Install dependencies

$ cd infra
$ npm i -g [email protected]
$ npm i

Configuration

open infra/env/dev.env and fill the blow fields

  • VPC_ID: vpc id
  • EFS_UID: efs uid
  • EFS_GID: efs gid
  • AWS_ACCOUNT_ID: 12 digit account id
  • AWS_REGION: e.g. ap-northeast-2

and copy env/dev.env file to project root as .env

$ cd infra
$ cp env/dev.env .env

Deploy for dev

if you never run bootstrap on the account, bootstrap it.

$ cdk bootstrap

deploy infrastructure

$ cdk deploy "*" --require-approval never

About

aws transfer-family-efs cdk example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages