Skip to content

Commit 3226d76

Browse files
committed
feat(report): Configure the CFN stack name to enable usage of the CDK CLI
CDK uses a different naming scheme to Riff-Raff, therefore `cdk diff` will not find the existing stack by default. Configure the CFN stack name to ensure the CDK CLI uses the right stack.
1 parent d97228a commit 3226d76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cdk/bin/cdk.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const registrationCodeProps: RegistrationProps = {
3131
env: { region: 'eu-west-1' },
3232
instanceMetricGranularity: '5Minute',
3333
minAsgSize: 0,
34+
cloudFormationStackName: 'mobile-notifications-registration-CODE',
3435
};
3536

3637
export const registrationProdProps: RegistrationProps = {
@@ -41,6 +42,7 @@ export const registrationProdProps: RegistrationProps = {
4142
instanceMetricGranularity: '1Minute',
4243
maxAsgSize: 0,
4344
minAsgSize: 0,
45+
cloudFormationStackName: 'mobile-notifications-registration-PROD',
4446
};
4547

4648
new Registration(app, 'Registration-CODE', registrationCodeProps);

0 commit comments

Comments
 (0)