Skip to content

Commit efbe6de

Browse files
authoredMay 11, 2023
chore(aws-cdk-lib): enable eslint (aws#25515)
`aws-cdk-lib` had eslint disabled because the code was copied over from other locations. However since the repository restructure, this is the source of truth and we should properly lint it. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 1c52f89 commit efbe6de

File tree

790 files changed

+1450
-1370
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

790 files changed

+1450
-1370
lines changed
 

‎packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeilne-elastic-beanstalk-deploy.js.snapshot/aws-cdk-codepipeline-elastic-beanstalk-deploy.assets.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
}
1515
}
1616
},
17-
"68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a": {
17+
"6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054": {
1818
"source": {
19-
"path": "asset.68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a.zip",
19+
"path": "asset.6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054.zip",
2020
"packaging": "file"
2121
},
2222
"destinations": {
2323
"current_account-current_region": {
2424
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25-
"objectKey": "68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a.zip",
25+
"objectKey": "6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054.zip",
2626
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
2727
}
2828
}
@@ -53,15 +53,15 @@
5353
}
5454
}
5555
},
56-
"700b33b613fbd899489f08c591ff8e002d433573bc48eca4a106e66109f3087f": {
56+
"533487c9e5a2cc1009e664662485074855ae58bca4728d59bdebc81acf8e7e3b": {
5757
"source": {
5858
"path": "aws-cdk-codepipeline-elastic-beanstalk-deploy.template.json",
5959
"packaging": "file"
6060
},
6161
"destinations": {
6262
"current_account-current_region": {
6363
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
64-
"objectKey": "700b33b613fbd899489f08c591ff8e002d433573bc48eca4a106e66109f3087f.json",
64+
"objectKey": "533487c9e5a2cc1009e664662485074855ae58bca4728d59bdebc81acf8e7e3b.json",
6565
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
6666
}
6767
}

‎packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeilne-elastic-beanstalk-deploy.js.snapshot/aws-cdk-codepipeline-elastic-beanstalk-deploy.template.json

+14-3
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"S3Bucket": {
156156
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
157157
},
158-
"S3Key": "68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a.zip"
158+
"S3Key": "6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054.zip"
159159
},
160160
"Description": "/opt/awscli/aws"
161161
}
@@ -440,7 +440,7 @@
440440
"Value": "AWSServiceRoleForElasticBeanstalkManagedUpdates"
441441
}
442442
],
443-
"SolutionStackName": "64bit Amazon Linux 2 v5.5.6 running Node.js 16"
443+
"SolutionStackName": "64bit Amazon Linux 2 v5.8.1 running Node.js 16"
444444
},
445445
"DependsOn": [
446446
"beastalkapp",
@@ -784,7 +784,18 @@
784784
"Version": "2012-10-17"
785785
},
786786
"ManagedPolicyArns": [
787-
"arn:aws:iam::aws:policy/AdministratorAccess-AWSElasticBeanstalk"
787+
{
788+
"Fn::Join": [
789+
"",
790+
[
791+
"arn:",
792+
{
793+
"Ref": "AWS::Partition"
794+
},
795+
":iam::aws:policy/AdministratorAccess-AWSElasticBeanstalk"
796+
]
797+
]
798+
}
788799
]
789800
}
790801
},

0 commit comments

Comments
 (0)