Skip to content

Commit 5fddc2b

Browse files
committed
change codes and integ
1 parent c7d5edf commit 5fddc2b

File tree

6 files changed

+375
-287
lines changed

6 files changed

+375
-287
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-snapshot.js.snapshot/cdk-integ-cluster-snapshot.assets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
}
2828
}
2929
},
30-
"6efada41383a47bd56eb0a2e6091955fbf170a468c599d5b34732bcd1ba263d9": {
30+
"4301c174291c4477deacb211946eadbb7f6831bd12fa06731627ec20fa341809": {
3131
"source": {
3232
"path": "cdk-integ-cluster-snapshot.template.json",
3333
"packaging": "file"
3434
},
3535
"destinations": {
3636
"current_account-current_region": {
3737
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
38-
"objectKey": "6efada41383a47bd56eb0a2e6091955fbf170a468c599d5b34732bcd1ba263d9.json",
38+
"objectKey": "4301c174291c4477deacb211946eadbb7f6831bd12fa06731627ec20fa341809.json",
3939
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
4040
}
4141
}

packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-snapshot.js.snapshot/cdk-integ-cluster-snapshot.template.json

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@
431431
"Ref": "ClusterSubnetsDCFA5CB7"
432432
},
433433
"Engine": "aurora-mysql",
434-
"EngineVersion": "5.7.mysql_aurora.2.10.2",
434+
"EngineVersion": "5.7.mysql_aurora.2.11.3",
435435
"MasterUserPassword": {
436436
"Fn::Join": [
437437
"",
@@ -1230,6 +1230,22 @@
12301230
]
12311231
}
12321232
]
1233+
},
1234+
{
1235+
"Action": [
1236+
"logs:CreateLogDelivery",
1237+
"logs:CreateLogStream",
1238+
"logs:DeleteLogDelivery",
1239+
"logs:DescribeLogGroups",
1240+
"logs:DescribeResourcePolicies",
1241+
"logs:GetLogDelivery",
1242+
"logs:ListLogDeliveries",
1243+
"logs:PutLogEvents",
1244+
"logs:PutResourcePolicy",
1245+
"logs:UpdateLogDelivery"
1246+
],
1247+
"Effect": "Allow",
1248+
"Resource": "*"
12331249
}
12341250
],
12351251
"Version": "2012-10-17"
@@ -1242,6 +1258,14 @@
12421258
]
12431259
}
12441260
},
1261+
"SnapshoterSnapshotProviderwaiterstatemachineLogGroup5A64CAF9": {
1262+
"Type": "AWS::Logs::LogGroup",
1263+
"Properties": {
1264+
"RetentionInDays": 1
1265+
},
1266+
"UpdateReplacePolicy": "Retain",
1267+
"DeletionPolicy": "Retain"
1268+
},
12451269
"SnapshoterSnapshotProviderwaiterstatemachineE1F05D1F": {
12461270
"Type": "AWS::StepFunctions::StateMachine",
12471271
"Properties": {
@@ -1272,6 +1296,22 @@
12721296
"SnapshoterSnapshotProviderwaiterstatemachineRole76E414C5",
12731297
"Arn"
12741298
]
1299+
},
1300+
"LoggingConfiguration": {
1301+
"Destinations": [
1302+
{
1303+
"CloudWatchLogsLogGroup": {
1304+
"LogGroupArn": {
1305+
"Fn::GetAtt": [
1306+
"SnapshoterSnapshotProviderwaiterstatemachineLogGroup5A64CAF9",
1307+
"Arn"
1308+
]
1309+
}
1310+
}
1311+
}
1312+
],
1313+
"IncludeExecutionData": false,
1314+
"Level": "ERROR"
12751315
}
12761316
},
12771317
"DependsOn": [
@@ -1491,7 +1531,7 @@
14911531
"Ref": "FromSnapshotSubnets9ED4B8EE"
14921532
},
14931533
"Engine": "aurora-mysql",
1494-
"EngineVersion": "5.7.mysql_aurora.2.10.2",
1534+
"EngineVersion": "5.7.mysql_aurora.2.11.3",
14951535
"MasterUserPassword": {
14961536
"Fn::Join": [
14971537
"",

packages/@aws-cdk-testing/framework-integ/test/aws-rds/test/integ.cluster-snapshot.js.snapshot/manifest.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
"environment": "aws://unknown-account/unknown-region",
1515
"properties": {
1616
"templateFile": "cdk-integ-cluster-snapshot.template.json",
17+
"terminationProtection": false,
1718
"validateOnSynth": false,
1819
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
1920
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
20-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/6efada41383a47bd56eb0a2e6091955fbf170a468c599d5b34732bcd1ba263d9.json",
21+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4301c174291c4477deacb211946eadbb7f6831bd12fa06731627ec20fa341809.json",
2122
"requiresBootstrapStackVersion": 6,
2223
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
2324
"additionalDependencies": [
@@ -303,6 +304,12 @@
303304
"data": "SnapshoterSnapshotProviderwaiterstatemachineRoleDefaultPolicyCF7716B2"
304305
}
305306
],
307+
"/cdk-integ-cluster-snapshot/Snapshoter/SnapshotProvider/waiter-state-machine/LogGroup/Resource": [
308+
{
309+
"type": "aws:cdk:logicalId",
310+
"data": "SnapshoterSnapshotProviderwaiterstatemachineLogGroup5A64CAF9"
311+
}
312+
],
306313
"/cdk-integ-cluster-snapshot/Snapshoter/SnapshotProvider/waiter-state-machine/Resource": [
307314
{
308315
"type": "aws:cdk:logicalId",
@@ -433,6 +440,7 @@
433440
"environment": "aws://unknown-account/unknown-region",
434441
"properties": {
435442
"templateFile": "ClusterSnapshotIntegDefaultTestDeployAssert647D4685.template.json",
443+
"terminationProtection": false,
436444
"validateOnSynth": false,
437445
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
438446
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",

0 commit comments

Comments
 (0)