Skip to content

Commit 5c7e200

Browse files
committed
stack/app name
1 parent 90d60ec commit 5c7e200

File tree

5 files changed

+692
-31
lines changed

5 files changed

+692
-31
lines changed

ab-testing/cdk/bin/cdk.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import "source-map-support/register.js";
22
import { RiffRaffYamlFile } from "@guardian/cdk/lib/riff-raff-yaml-file/index.js";
33
import { App } from "aws-cdk-lib";
4-
import { DictionaryDeployLambda } from "../lib/dictionaryDeployLambda.ts";
4+
import { AbTestingStack } from "../lib/abTestingStack.ts";
55

66
const app = new App();
77

8-
const appName = "ab-testing-deploy";
8+
const appName = "ab-testing";
99

10-
new DictionaryDeployLambda(app, "DictionaryDeployLambdaCode", {
10+
new AbTestingStack(app, "AbTestingCode", {
1111
stack: "frontend",
1212
stage: "CODE",
1313
env: {
@@ -16,7 +16,7 @@ new DictionaryDeployLambda(app, "DictionaryDeployLambdaCode", {
1616
app: appName,
1717
});
1818

19-
new DictionaryDeployLambda(app, "DictionaryDeployLambdaProd", {
19+
new AbTestingStack(app, "AbTestingProd", {
2020
stack: "frontend",
2121
stage: "PROD",
2222
env: {
@@ -60,7 +60,7 @@ deployments.set("admin/ab-testing", {
6060

6161
// We need the test artifacts in place before deploying the lambda that uses them
6262
deployments
63-
.get(`cfn-eu-west-1-frontend-dictionary-deploy-lambda`)
63+
.get(`cfn-eu-west-1-frontend-ab-testing-stack`)
6464
?.dependencies?.push("config/ab-testing");
6565

6666
riffRaff.synth();

0 commit comments

Comments
 (0)