Skip to content

Commit 7fd466f

Browse files
committed
artifact naming
1 parent e19a0da commit 7fd466f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

ab-testing/cdk/lib/__snapshots__/abTestingStack.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ exports[`The ID5 Baton Lambda stack > matches the CODE snapshot 1`] = `
317317
]
318318
},
319319
"InvokeDictionaryDeployLambda": {
320-
"Type": "AWS::CloudFormation::CustomResource",
320+
"Type": "Custom::FastlyEdgeDictionaryDeploy",
321321
"Properties": {
322322
"ServiceToken": {
323323
"Fn::GetAtt": [
@@ -653,7 +653,7 @@ exports[`The ID5 Baton Lambda stack > matches the PROD snapshot 1`] = `
653653
]
654654
},
655655
"InvokeDictionaryDeployLambda": {
656-
"Type": "AWS::CloudFormation::CustomResource",
656+
"Type": "Custom::FastlyEdgeDictionaryDeploy",
657657
"Properties": {
658658
"ServiceToken": {
659659
"Fn::GetAtt": [

ab-testing/cdk/lib/abTestingStack.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export class AbTestingStack extends GuStack {
6565
new CustomResource(this, "InvokeDictionaryDeployLambda", {
6666
serviceToken: lambda.functionArn,
6767
serviceTimeout: Duration.minutes(5),
68+
resourceType: "Custom::FastlyEdgeDictionaryDeploy",
6869
});
6970
}
7071
}

ab-testing/dictionary-deploy-lambda/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ export const handler: Handler = async (
6868

6969
await fetchAndDeployArtifacts([
7070
{
71-
artifact: "ab-test-groups.json",
71+
artifact: "ab-tests.json",
7272
dictionary: abTestsDictionary,
7373
},
7474
{
75-
artifact: "mvt-groups.json",
75+
artifact: "mvts.json",
7676
dictionary: mvtDictionary,
7777
},
7878
]);

0 commit comments

Comments
 (0)