Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add stackName #10

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ Deploy
npm run installAll
npm run build
npx cdk deploy \
--context stackName=${myName} \
--context deploySoracomAirMetadataSource=1 \
--context soracomAuthKeyId="${SORACOM_AUTH_KEY_ID}" \
--context soracomAuthKey="${SORACOM_AUTH_KEY}"
```

* stackName - Stack name prefix
* deploySoracomAirMetadataSource - A flag to deploy a component
*
* soracomAuthKeyId - Your Soracom credentials AuthKeyId. It is required everywhere as of now.
Expand Down Expand Up @@ -83,12 +85,14 @@ Deploy
npm run installAll
npm run build
npx cdk deploy \
--context stackName=${myName} \
--context deploySoracamImageSourceSink=1 \
--context harvestFilesPath="${HARVEST_FILES_DIR_PATH}" \
--context soracomAuthKeyId="${SORACOM_AUTH_KEY_ID}" \
--context soracomAuthKey="${SORACOM_AUTH_KEY}"
```

* stackName - Stack name prefix
* deploySoracamImageSourceSink - A flag to deploy a component
*
* soracomAuthKeyId - Your Soracom credentials AuthKeyId. It is required everywhere as of now.
Expand Down Expand Up @@ -116,11 +120,13 @@ Deploy
npm run installAll
npm run build
npx cdk deploy \
--context stackName=${myName} \
--context deploySoracomHarvestDataSource=1 \
--context soracomAuthKeyId="${SORACOM_AUTH_KEY_ID}" \
--context soracomAuthKey="${SORACOM_AUTH_KEY}"
```

* stackName - Stack name prefix
* deploySoracomHarvestDataSource - A flag to deploy a component
* soracomAuthKeyId - Your Soracom credentials AuthKeyId. It is required everywhere as of now.
* soracomAuthKey - Your Soracom credentials AuthKeyId. It is required everywhere as of now.
Expand Down Expand Up @@ -156,6 +162,7 @@ Deploy
npm run installAll
npm run build
npx cdk deploy \
--context stackName=${myName} \
--context deploySoracomAirMetadataSink=1 \
--context soracomAuthKeyId="${SORACOM_AUTH_KEY_ID}" \
--context soracomAuthKey="${SORACOM_AUTH_KEY}"
Expand Down Expand Up @@ -189,11 +196,13 @@ Deploy
npm run installAll
npm run build
npx cdk deploy \
--context stackName=${myName} \
--context deploySoracomAirSmsSink=1 \
--context soracomAuthKeyId="${SORACOM_AUTH_KEY_ID}" \
--context soracomAuthKey="${SORACOM_AUTH_KEY}"
```

* stackName - Stack name prefix
* deploySoracomAirSmsSink - A flag to deploy a component
* soracomAuthKeyId - Your Soracom credentials AuthKeyId. It is required everywhere as of now.
* soracomAuthKey - Your Soracom credentials AuthKeyId. It is required everywhere as of now.
Expand Down Expand Up @@ -223,12 +232,14 @@ Deploy
npm run installAll
npm run build
npx cdk deploy \
--context stackName=${myName} \
--context deployPhoneCallSink=1 \
--context soracomAuthKeyId="${SORACOM_AUTH_KEY_ID}" \
--context soracomAuthKey="${SORACOM_AUTH_KEY}" \
--context twilioSecretname="${AWS_SECRETS_MANAGER_NAME_FOR_TWILIO}"
```

* stackName - Stack name prefix
* deployPhoneCallSink - A flag to deploy a component
* twilioSecretname - A secret name of AWS Secrets Manager. The value should be like
```
Expand Down Expand Up @@ -264,12 +275,14 @@ Deploy
npm run installAll
npm run build
npx cdk deploy \
--context stackName=${myName} \
--context deployGoogleSheetsSink=1 \
--context soracomAuthKeyId="${SORACOM_AUTH_KEY_ID}" \
--context soracomAuthKey="${SORACOM_AUTH_KEY}" \
--context googleSecretname="${AWS_SECRETS_MANAGER_NAME_FOR_GOOGLE}"
```

* stackName - Stack name prefix
* deployGoogleSheetsSink - A flag to deploy a component
* googleSecretname - A secret name of AWS Secrets Manager. The value should be like below. It's a Goole service account's credentials.
```
Expand Down