Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(aws-cdk-lib): enable eslint #25515

Merged
merged 13 commits into from
May 11, 2023
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
}
}
},
"68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a": {
"6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054": {
"source": {
"path": "asset.68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a.zip",
"path": "asset.6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054.zip",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a.zip",
"objectKey": "6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054.zip",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down Expand Up @@ -53,15 +53,15 @@
}
}
},
"700b33b613fbd899489f08c591ff8e002d433573bc48eca4a106e66109f3087f": {
"533487c9e5a2cc1009e664662485074855ae58bca4728d59bdebc81acf8e7e3b": {
"source": {
"path": "aws-cdk-codepipeline-elastic-beanstalk-deploy.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "700b33b613fbd899489f08c591ff8e002d433573bc48eca4a106e66109f3087f.json",
"objectKey": "533487c9e5a2cc1009e664662485074855ae58bca4728d59bdebc81acf8e7e3b.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a.zip"
"S3Key": "6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054.zip"
},
"Description": "/opt/awscli/aws"
}
Expand Down Expand Up @@ -440,7 +440,7 @@
"Value": "AWSServiceRoleForElasticBeanstalkManagedUpdates"
}
],
"SolutionStackName": "64bit Amazon Linux 2 v5.5.6 running Node.js 16"
"SolutionStackName": "64bit Amazon Linux 2 v5.8.1 running Node.js 16"
},
"DependsOn": [
"beastalkapp",
Expand Down Expand Up @@ -784,7 +784,18 @@
"Version": "2012-10-17"
},
"ManagedPolicyArns": [
"arn:aws:iam::aws:policy/AdministratorAccess-AWSElasticBeanstalk"
{
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":iam::aws:policy/AdministratorAccess-AWSElasticBeanstalk"
]
]
}
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/700b33b613fbd899489f08c591ff8e002d433573bc48eca4a106e66109f3087f.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/533487c9e5a2cc1009e664662485074855ae58bca4728d59bdebc81acf8e7e3b.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down Expand Up @@ -126,7 +126,10 @@
"/aws-cdk-codepipeline-elastic-beanstalk-deploy/beanstlk-env": [
{
"type": "aws:cdk:logicalId",
"data": "beanstlkenv"
"data": "beanstlkenv",
"trace": [
"!!DESTRUCTIVE_CHANGES: WILL_REPLACE"
]
}
],
"/aws-cdk-codepipeline-elastic-beanstalk-deploy/Pipeline/Role/Resource": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
"s3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"s3Key": "68b22621fff135f9e3f225bad7ff80fdf2f45c3d9910af601206a0d9b279933a.zip"
"s3Key": "6a28458f7bc3d04e4d2b17f9c3da0709bf456e34b06ea7c96111eecb2fddd054.zip"
},
"description": "/opt/awscli/aws"
}
Expand Down Expand Up @@ -700,7 +700,7 @@
"value": "AWSServiceRoleForElasticBeanstalkManagedUpdates"
}
],
"solutionStackName": "64bit Amazon Linux 2 v5.5.6 running Node.js 16"
"solutionStackName": "64bit Amazon Linux 2 v5.8.1 running Node.js 16"
}
},
"constructInfo": {
Expand Down Expand Up @@ -1121,13 +1121,13 @@
},
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.270"
"version": "10.2.17"
}
}
},
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.270"
"version": "10.2.17"
}
},
"Deploy": {
Expand Down Expand Up @@ -1184,7 +1184,18 @@
"Version": "2012-10-17"
},
"managedPolicyArns": [
"arn:aws:iam::aws:policy/AdministratorAccess-AWSElasticBeanstalk"
{
"Fn::Join": [
"",
[
"arn:",
{
"Ref": "AWS::Partition"
},
":iam::aws:policy/AdministratorAccess-AWSElasticBeanstalk"
]
]
}
]
}
},
Expand Down Expand Up @@ -1266,13 +1277,13 @@
},
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.270"
"version": "10.2.17"
}
}
},
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.270"
"version": "10.2.17"
}
}
},
Expand Down Expand Up @@ -1316,7 +1327,7 @@
"path": "codepipeline-elastic-beanstalk-deploy/DefaultTest/Default",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.270"
"version": "10.2.17"
}
},
"DeployAssert": {
Expand Down Expand Up @@ -1362,7 +1373,7 @@
"path": "Tree",
"constructInfo": {
"fqn": "constructs.Construct",
"version": "10.1.270"
"version": "10.2.17"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const beanstalkApp = new elasticbeanstalk.CfnApplication(stack, 'beastalk-app',
const beanstalkEnv = new elasticbeanstalk.CfnEnvironment(stack, 'beanstlk-env', {
applicationName: beanstalkApp.applicationName!,
environmentName: 'codepipeline-test-env',
solutionStackName: '64bit Amazon Linux 2 v5.5.6 running Node.js 16',
solutionStackName: '64bit Amazon Linux 2 v5.8.1 running Node.js 16',
optionSettings: [
{
namespace: 'aws:autoscaling:launchconfiguration',
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "31.0.0",
"files": {
"cd65988992d4e34f7f8904d852fb1dd37bab88445e48e7880cbbf26d934cc065": {
"bd889c61b6018acea6fdd262c97b73b9af12855427e235914757eaeea73396ba": {
"source": {
"path": "cdk-ses-configuration-set-integ.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "cd65988992d4e34f7f8904d852fb1dd37bab88445e48e7880cbbf26d934cc065.json",
"objectKey": "bd889c61b6018acea6fdd262c97b73b9af12855427e235914757eaeea73396ba.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@
"Fn::Join": [
"",
[
"arn:aws:ses:",
"arn:",
{
"Ref": "AWS::Partition"
},
":ses:",
{
"Ref": "AWS::Region"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"20.0.0"}
{"version":"31.0.0"}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/cd65988992d4e34f7f8904d852fb1dd37bab88445e48e7880cbbf26d934cc065.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/bd889c61b6018acea6fdd262c97b73b9af12855427e235914757eaeea73396ba.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down
Loading