Slide 28
Slide 28 text
ڥ͝ͱͷࠩΦϒδΣΫτΛ͏ 28
cdk.json:
{
"app": "npx ts-node --prefer-ts-exts bin/cdk-best-design-2023.ts”,
"context": {
"projectName": "hoge-fuga",
"dev": {
"envName": "dev",
"env": {
"account": "123456789012",
"region": "ap-northeast-1"
}
},
"stg": {
"envName": “stg",
...
}
...
}
}
σϓϩΠ࣌ͷίϚϯυɿ
cdk deploy -c environment=dev ~~
ੲͷϕετϓϥΫςΟεɺcdk.jsonͰڥࠩΛઃఆ