Skip to content

Commit

Permalink
Update test snapshot now that it passes
Browse files Browse the repository at this point in the history
  • Loading branch information
varju committed Oct 17, 2022
1 parent 3e9b603 commit 4664d9d
Show file tree
Hide file tree
Showing 9 changed files with 1,708 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"21.0.0"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"version": "21.0.0",
"files": {
"8c04935671db7da18580bb01371198f54ead836061bcbac6b8bab4c2e4d1cf35": {
"source": {
"path": "asset.8c04935671db7da18580bb01371198f54ead836061bcbac6b8bab4c2e4d1cf35",
"packaging": "zip"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "8c04935671db7da18580bb01371198f54ead836061bcbac6b8bab4c2e4d1cf35.zip",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
},
"db453ad95b1e0fd185aa7ea88192ad521ced57f7bd163bcd0f002f20b441e424": {
"source": {
"path": "asset.db453ad95b1e0fd185aa7ea88192ad521ced57f7bd163bcd0f002f20b441e424",
"packaging": "zip"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "db453ad95b1e0fd185aa7ea88192ad521ced57f7bd163bcd0f002f20b441e424.zip",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
},
"d541f2115f9333bde1ef9d780fe0176c421e684cc754401b5de78b9a1d133b62": {
"source": {
"path": "integ-lambda-python-arm64.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "d541f2115f9333bde1ef9d780fe0176c421e684cc754401b5de78b9a1d133b62.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
}
},
"dockerImages": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"Resources": {
"LayerB20D2F06": {
"Type": "AWS::Lambda::LayerVersion",
"Properties": {
"Content": {
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "8c04935671db7da18580bb01371198f54ead836061bcbac6b8bab4c2e4d1cf35.zip"
},
"CompatibleArchitectures": [
"arm64"
],
"CompatibleRuntimes": [
"python3.9"
]
}
},
"HandlerServiceRoleFCDC14AE": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "lambda.amazonaws.com"
}
}
],
"Version": "2012-10-17"
},
"ManagedPolicyArns": [
{
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
]
]
}
]
}
},
"Handler886CB40B": {
"Type": "AWS::Lambda::Function",
"Properties": {
"Code": {
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "db453ad95b1e0fd185aa7ea88192ad521ced57f7bd163bcd0f002f20b441e424.zip"
},
"Role": {
"Fn::GetAtt": [
"HandlerServiceRoleFCDC14AE",
"Arn"
]
},
"Architectures": [
"arm64"
],
"Handler": "index.handler",
"Layers": [
{
"Ref": "LayerB20D2F06"
}
],
"Runtime": "python3.9"
},
"DependsOn": [
"HandlerServiceRoleFCDC14AE"
]
}
},
"Outputs": {
"FunctionArn": {
"Value": {
"Fn::GetAtt": [
"Handler886CB40B",
"Arn"
]
}
},
"ExportsOutputRefHandler886CB40BD176DC16": {
"Value": {
"Ref": "Handler886CB40B"
},
"Export": {
"Name": "integ-lambda-python-arm64:ExportsOutputRefHandler886CB40BD176DC16"
}
}
},
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "21.0.0",
"testCases": {
"lambda-python-arm64/DefaultTest": {
"stacks": [
"integ-lambda-python-arm64"
],
"stackUpdateWorkflow": false,
"assertionStack": "lambda-python-arm64/DefaultTest/DeployAssert",
"assertionStackName": "lambdapythonarm64DefaultTestDeployAssertAB537F34"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"version": "21.0.0",
"files": {
"3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac": {
"source": {
"path": "asset.3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac.bundle",
"packaging": "zip"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "3074b79e05e7b98930b6449e01baa3e68b32ecff86328933c2542f7b7fe6fdac.zip",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
},
"42975a3b062a8d0733fa13d5857f7aee684ba7fdbf7b4518fd0f50e039bdf92f": {
"source": {
"path": "lambdapythonarm64DefaultTestDeployAssertAB537F34.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "42975a3b062a8d0733fa13d5857f7aee684ba7fdbf7b4518fd0f50e039bdf92f.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
}
},
"dockerImages": {}
}
Loading

0 comments on commit 4664d9d

Please sign in to comment.