Skip to content

Commit e49701d

Browse files
authored
chore: Remove outdated CompatibleRuntimes in basic_layer.yaml (from sam-cli#4672) (#2881)
1 parent 230f745 commit e49701d

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

tests/translator/input/basic_layer.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ Resources:
3131
ContentUri: s3://sam-demo-bucket/layer.zip
3232
Description: Starter Lambda Layer
3333
CompatibleRuntimes:
34-
- python3.6
35-
- python2.7
34+
- python3.9
3635
LicenseInfo: License information
3736
RetentionPolicy: Retain
3837

tests/translator/output/aws-cn/basic_layer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
}
1515
},
1616
"Resources": {
17-
"CompleteLayer5d71a60e81": {
17+
"CompleteLayer429cb63b84": {
1818
"DeletionPolicy": "Retain",
1919
"Properties": {
2020
"CompatibleRuntimes": [
21-
"python3.6",
22-
"python2.7"
21+
"python3.9"
2322
],
2423
"Content": {
2524
"S3Bucket": "sam-demo-bucket",

tests/translator/output/aws-us-gov/basic_layer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
}
1515
},
1616
"Resources": {
17-
"CompleteLayer5d71a60e81": {
17+
"CompleteLayer429cb63b84": {
1818
"DeletionPolicy": "Retain",
1919
"Properties": {
2020
"CompatibleRuntimes": [
21-
"python3.6",
22-
"python2.7"
21+
"python3.9"
2322
],
2423
"Content": {
2524
"S3Bucket": "sam-demo-bucket",

tests/translator/output/basic_layer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
}
1515
},
1616
"Resources": {
17-
"CompleteLayer5d71a60e81": {
17+
"CompleteLayer429cb63b84": {
1818
"DeletionPolicy": "Retain",
1919
"Properties": {
2020
"CompatibleRuntimes": [
21-
"python3.6",
22-
"python2.7"
21+
"python3.9"
2322
],
2423
"Content": {
2524
"S3Bucket": "sam-demo-bucket",

0 commit comments

Comments
 (0)