Skip to content

Commit cc72702

Browse files
committed
Use Valkey instead of Redis
1 parent 9cee047 commit cc72702

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/constructs/redis.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export class Redis extends Construct implements ec2.IConnectable {
3939
});
4040

4141
const redis = new CfnReplicationGroup(this, 'Resource', {
42-
engine: 'Redis',
42+
engine: 'Valkey',
4343
cacheNodeType: 'cache.t4g.micro',
44-
engineVersion: '7.1',
44+
engineVersion: '7.2',
4545
port: this.port,
4646
replicasPerNodeGroup: multiAz ? 1 : 0,
4747
numNodeGroups: 1,

test/__snapshots__/dify-on-aws.test.ts.snap

+5-5
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ exports[`Snapshot test 1`] = `
10081008
],
10091009
"Essential": true,
10101010
"Image": {
1011-
"Fn::Sub": "\${AWS::AccountId}.dkr.ecr.\${AWS::Region}.\${AWS::URLSuffix}/cdk-hnb659fds-container-assets-\${AWS::AccountId}-\${AWS::Region}:4f82f88e853f5bb99f9a2c526dcacc44aea241f3f4b9f74e8d75d38ad33627f9",
1011+
"Fn::Sub": "\${AWS::AccountId}.dkr.ecr.\${AWS::Region}.\${AWS::URLSuffix}/cdk-hnb659fds-container-assets-\${AWS::AccountId}-\${AWS::Region}:773ddfe132925364e498252af82c7db43bd892f7c211db52378305095ff00481",
10121012
},
10131013
"LogConfiguration": {
10141014
"LogDriver": "awslogs",
@@ -1985,8 +1985,8 @@ exports[`Snapshot test 1`] = `
19851985
"CacheSubnetGroupName": {
19861986
"Ref": "RedisSubnetGroup2387CBFF",
19871987
},
1988-
"Engine": "Redis",
1989-
"EngineVersion": "7.1",
1988+
"Engine": "Valkey",
1989+
"EngineVersion": "7.2",
19901990
"MultiAZEnabled": true,
19911991
"NumNodeGroups": 1,
19921992
"Port": 6379,
@@ -2504,7 +2504,7 @@ exports[`Snapshot test 1`] = `
25042504
],
25052505
},
25062506
"CidrBlock": "10.0.0.0/18",
2507-
"MapPublicIpOnLaunch": false,
2507+
"MapPublicIpOnLaunch": true,
25082508
"Tags": [
25092509
{
25102510
"Key": "aws-cdk:subnet-name",
@@ -2612,7 +2612,7 @@ exports[`Snapshot test 1`] = `
26122612
],
26132613
},
26142614
"CidrBlock": "10.0.64.0/18",
2615-
"MapPublicIpOnLaunch": false,
2615+
"MapPublicIpOnLaunch": true,
26162616
"Tags": [
26172617
{
26182618
"Key": "aws-cdk:subnet-name",

0 commit comments

Comments
 (0)