Skip to content

Commit

Permalink
feat: Abort instrumenting Lambda if runtime is unsupported
Browse files Browse the repository at this point in the history
  • Loading branch information
lym953 committed Dec 6, 2024
1 parent 9d2ac35 commit 25f7faf
Show file tree
Hide file tree
Showing 13 changed files with 318 additions and 214 deletions.
2 changes: 1 addition & 1 deletion .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
packageName: "ddcdkconstruct",
},
peerDeps: [],
cdkVersion: "2.134.0",
cdkVersion: "2.146.0",
deps: ["loglevel"],
bundledDeps: ["loglevel"],
devDeps: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,14 @@
"ap-northeast-2"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ap-northeast-3"
]
},
{
"Fn::Equals": [
{
Expand All @@ -490,6 +498,14 @@
"ap-south-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ap-south-2"
]
},
{
"Fn::Equals": [
{
Expand All @@ -506,6 +522,26 @@
"ap-southeast-2"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ap-southeast-3"
]
}
]
},
{
"Fn::Or": [
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ap-southeast-4"
]
},
{
"Fn::Equals": [
{
Expand All @@ -514,6 +550,14 @@
"ca-central-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ca-west-1"
]
},
{
"Fn::Equals": [
{
Expand All @@ -529,11 +573,7 @@
},
"cn-northwest-1"
]
}
]
},
{
"Fn::Or": [
},
{
"Fn::Equals": [
{
Expand All @@ -542,6 +582,14 @@
"eu-central-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"eu-central-2"
]
},
{
"Fn::Equals": [
{
Expand All @@ -558,6 +606,18 @@
"eu-south-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"eu-south-2"
]
}
]
},
{
"Fn::Or": [
{
"Fn::Equals": [
{
Expand Down Expand Up @@ -613,11 +673,7 @@
},
"sa-east-1"
]
}
]
},
{
"Fn::Or": [
},
{
"Fn::Equals": [
{
Expand All @@ -641,16 +697,16 @@
},
"us-west-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"us-west-2"
]
}
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"us-west-2"
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,14 @@
"ap-northeast-2"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ap-northeast-3"
]
},
{
"Fn::Equals": [
{
Expand All @@ -490,6 +498,14 @@
"ap-south-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ap-south-2"
]
},
{
"Fn::Equals": [
{
Expand All @@ -506,6 +522,26 @@
"ap-southeast-2"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ap-southeast-3"
]
}
]
},
{
"Fn::Or": [
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ap-southeast-4"
]
},
{
"Fn::Equals": [
{
Expand All @@ -514,6 +550,14 @@
"ca-central-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"ca-west-1"
]
},
{
"Fn::Equals": [
{
Expand All @@ -529,11 +573,7 @@
},
"cn-northwest-1"
]
}
]
},
{
"Fn::Or": [
},
{
"Fn::Equals": [
{
Expand All @@ -542,6 +582,14 @@
"eu-central-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"eu-central-2"
]
},
{
"Fn::Equals": [
{
Expand All @@ -558,6 +606,18 @@
"eu-south-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"eu-south-2"
]
}
]
},
{
"Fn::Or": [
{
"Fn::Equals": [
{
Expand Down Expand Up @@ -613,11 +673,7 @@
},
"sa-east-1"
]
}
]
},
{
"Fn::Or": [
},
{
"Fn::Equals": [
{
Expand All @@ -641,16 +697,16 @@
},
"us-west-1"
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"us-west-2"
]
}
]
},
{
"Fn::Equals": [
{
"Ref": "AWS::Region"
},
"us-west-2"
]
}
]
}
Expand Down
Loading

0 comments on commit 25f7faf

Please sign in to comment.