diff --git a/.cdk/bin/app.ts b/.cdk/bin/app.ts index 5e74947..04e9a1f 100644 --- a/.cdk/bin/app.ts +++ b/.cdk/bin/app.ts @@ -1,8 +1,8 @@ -import * as cdk from '@aws-cdk/core'; +import { App } from 'aws-cdk-lib'; import TeaXYZ from '../lib/tea.xyz'; -const app = new cdk.App(); +const app = new App(); /** * The name of the stack depends on the STAGE environment variable so we can deploy the infrastructure multiple times in parallel diff --git a/.cdk/lib/tea.xyz.ts b/.cdk/lib/tea.xyz.ts index d5a2e57..13dc0ff 100644 --- a/.cdk/lib/tea.xyz.ts +++ b/.cdk/lib/tea.xyz.ts @@ -1,15 +1,20 @@ -import * as cloudfront from "@aws-cdk/aws-cloudfront"; -import * as cloudfrontOrigins from "@aws-cdk/aws-cloudfront-origins"; -import * as s3 from "@aws-cdk/aws-s3"; -import * as lambda from "@aws-cdk/aws-lambda"; -import * as s3Deployment from "@aws-cdk/aws-s3-deployment"; -import * as cdk from "@aws-cdk/core"; +import { + aws_cloudfront as cloudfront, + aws_cloudfront_origins as cloudfrontOrigins, + aws_s3 as s3, + aws_lambda as lambda, + aws_s3_deployment as s3Deployment, + Stack, + StackProps, + RemovalPolicy, + CfnOutput } from "aws-cdk-lib"; +import { Construct } from "constructs"; /** * The CloudFormation stack holding all our resources */ -export default class TeaXYZ extends cdk.Stack { - constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) { +export default class TeaXYZ extends Stack { + constructor(scope: Construct, id: string, props?: StackProps) { super(scope, id, props); /** @@ -17,7 +22,7 @@ export default class TeaXYZ extends cdk.Stack { */ const bucket = new s3.Bucket(this, "Bucket", { autoDeleteObjects: true, - removalPolicy: cdk.RemovalPolicy.DESTROY, + removalPolicy: RemovalPolicy.DESTROY, }); const edgeLambda = lambda.Version.fromVersionArn(this, "Lambda", "arn:aws:lambda:us-east-1:640264234305:function:www-redirect:10"); @@ -48,7 +53,7 @@ export default class TeaXYZ extends cdk.Stack { /** * Output the distribution's url so we can pass it to external systems */ - new cdk.CfnOutput(this, "DeploymentUrl", { + new CfnOutput(this, "DeploymentUrl", { value: "https://" + distribution.distributionDomainName }); diff --git a/.cdk/package.json b/.cdk/package.json index f336fbb..ddf0e43 100644 --- a/.cdk/package.json +++ b/.cdk/package.json @@ -1,6 +1,6 @@ { "name": "deploy-your-pull-requests-to-aws-using-github-actions-and-aws-cdk", - "version": "1.0.0", + "version": "1.1.0", "main": "index.js", "author": "Julien Goux", "license": "MIT", @@ -15,14 +15,11 @@ "destroy": "cdk destroy \"TeaXYZ-${STAGE}\" --force" }, "devDependencies": { - "@aws-cdk/aws-cloudfront": "1.167.0", - "@aws-cdk/aws-cloudfront-origins": "1.167.0", - "@aws-cdk/aws-s3": "1.167.0", - "@aws-cdk/aws-s3-deployment": "1.167.0", - "@aws-cdk/core": "1.167.0", "@tsconfig/node14": "1.0.0", "@types/node": "14.14.34", - "aws-cdk": "1.167.0", + "cdk": "^2.0.0", + "aws-cdk-lib": "^2.0.0", + "constructs": "^10.0.0", "ts-node": "9.1.1", "typescript": "4.2.3" } diff --git a/.cdk/yarn.lock b/.cdk/yarn.lock index 69e225f..7af62ce 100644 --- a/.cdk/yarn.lock +++ b/.cdk/yarn.lock @@ -2,472 +2,6 @@ # yarn lockfile v1 -"@aws-cdk/assets@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/assets/-/assets-1.167.0.tgz#35df5f68fd8809b36c72f4d201d227c438091686" - integrity sha512-9m9Q96wabUnqDPAxUXmMnPQhN756ZSbzNHAqYE42fIlEbC5IlaOixSejGoD207d5/MPbcpLAhJSoX4FJgdfVkQ== - dependencies: - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-acmpca@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-acmpca/-/aws-acmpca-1.167.0.tgz#b13e611b9decb0ba24067e0d56f75cb306fb415c" - integrity sha512-H96PG9L03MWg3HI04z+bLgkkbifKt5Ic8asXHuMg/Z6sfNR2gE27gtnAq2owQbuNIxUWoZ09w+8xOQvvydH4/g== - dependencies: - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-apigateway@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-apigateway/-/aws-apigateway-1.167.0.tgz#1e290bcbc4639198faedee5f6f3e8f43e1da1818" - integrity sha512-8D9+N/VNmgas8cChwikvzol8uLPioSs6bj/xblLMffqMkSmOzetDBEO+jgY4qE6FWddlpiJ8bQBqr+M4O3/e3g== - dependencies: - "@aws-cdk/aws-certificatemanager" "1.167.0" - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-cognito" "1.167.0" - "@aws-cdk/aws-ec2" "1.167.0" - "@aws-cdk/aws-elasticloadbalancingv2" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/aws-logs" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/aws-s3-assets" "1.167.0" - "@aws-cdk/aws-stepfunctions" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-applicationautoscaling@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-applicationautoscaling/-/aws-applicationautoscaling-1.167.0.tgz#87816b4b2e7646e51804c99576a035eaf0aa91d7" - integrity sha512-HvgX/h+az0A5s7WW3YSv+v5mqMzWcpIt2MLbXqVjXVqUiw5G0tU+jMRifxaDu13efOBCiNtBFTDtFqH0GX1Z0A== - dependencies: - "@aws-cdk/aws-autoscaling-common" "1.167.0" - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-autoscaling-common@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-autoscaling-common/-/aws-autoscaling-common-1.167.0.tgz#a86fe8722f3af263d0e34f5702e79a370d24979a" - integrity sha512-bD/Pwjeyjup27cYegWEPoXk40mP/q12P83/1SwcbJBWwh805p+UcgqGnhVsR5C0P4hWxEumRL9c4coJJcZbmxQ== - dependencies: - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-certificatemanager@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-certificatemanager/-/aws-certificatemanager-1.167.0.tgz#0131262d5105e1bbff2c148cb2bb5c5d5e68a5bc" - integrity sha512-9QCegcKwvRXTl0MFyZH/E98DpktIfIu/MUF0QzMHoxeYvSt/zwfi0NBnnzaOmSkh+aeHiAt204zhgtUWfby5xA== - dependencies: - "@aws-cdk/aws-acmpca" "1.167.0" - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/aws-route53" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-cloudformation@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-cloudformation/-/aws-cloudformation-1.167.0.tgz#06863a9e05b4c8ed495b81f28e96381a5c02706f" - integrity sha512-8BACTufkxlu31OCHVwlLMZNkDgwfH51vWoG6U66nl9i5+FUtLnHy53jCIo0/UPL6urvmZDadD7kEtjC0srgA0w== - dependencies: - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/aws-sns" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-cloudfront-origins@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-cloudfront-origins/-/aws-cloudfront-origins-1.167.0.tgz#c51413c7b3079037347ccb9a9ae87ae28dc945a3" - integrity sha512-x51xfY/2TIwAcJ4WNv3yG2VJUaZ4cg0O9P9RwL3WlvXWnCDZvw4EHBahjRoeqW3Cg1REteQEEYg1k4Ebd8HMHg== - dependencies: - "@aws-cdk/aws-apigateway" "1.167.0" - "@aws-cdk/aws-cloudfront" "1.167.0" - "@aws-cdk/aws-elasticloadbalancingv2" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-cloudfront@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-cloudfront/-/aws-cloudfront-1.167.0.tgz#7888110ad9cf06714aed8cbbf4cc2674bf54daed" - integrity sha512-KfDlBkNCII4iDwmuOpmMkudWoXMMw8mtad8xA4GspgJjO7UPtPbsXHCCfjTkfdlI7W6EnLr6hQIkbt0kPEnIOg== - dependencies: - "@aws-cdk/aws-certificatemanager" "1.167.0" - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-ec2" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/aws-ssm" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-cloudwatch@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-cloudwatch/-/aws-cloudwatch-1.167.0.tgz#150b0ce153b9940daee13e1b649bdac520dc6578" - integrity sha512-0GPVlH04bipgMmOfmFxjXIkcF9eHKSHgbUzy3G2B3LlEyLSVVUIANvmNCBxYAGJ802NolEeYz6rB65coRUXsXg== - dependencies: - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-codeguruprofiler@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-codeguruprofiler/-/aws-codeguruprofiler-1.167.0.tgz#f0083ca043a4aee5e91d2a6ff126b18de19d49d7" - integrity sha512-m7jUFYKecrknXT7rpzZ3bycu3BDWgkXRij2Vdh7jM/DUUoWsDxEG2gb40TGhNVLJSGThvYZF1vkzoJrBsZ5igA== - dependencies: - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-codestarnotifications@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-codestarnotifications/-/aws-codestarnotifications-1.167.0.tgz#7d4445ea631fe612687238988dd5e251844ef4a1" - integrity sha512-NuNdi7gKvdHGsGucDcWjfgPMIgneBlrvjmy0Va2w5XttDuWogY993EDfwvjV9/tB5SINQcSJpUJ9GLboobCodg== - dependencies: - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-cognito@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-cognito/-/aws-cognito-1.167.0.tgz#d91159886deb872370ed05461fa81f96ab407316" - integrity sha512-76lfs+81x0Hr/79pBapzHoqsVRs6dJFZXal/mtM13eufqiJV5aKe6YuysA6r3/02GzSScIf748AJP3Cy+XMD8Q== - dependencies: - "@aws-cdk/aws-certificatemanager" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/custom-resources" "1.167.0" - constructs "^3.3.69" - punycode "^2.1.1" - -"@aws-cdk/aws-ec2@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-ec2/-/aws-ec2-1.167.0.tgz#29e87aa3a772a455f536b8bbf027f2bb64cd7bb6" - integrity sha512-FccLjH0doF6MwgFLDoLzHIE/FaGdgDP+Vga8DwtlZR1AckxuveDG5KiC3ECJONxhQ/vv82fhrIrIEcaZMDCOHg== - dependencies: - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/aws-logs" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/aws-s3-assets" "1.167.0" - "@aws-cdk/aws-ssm" "1.167.0" - "@aws-cdk/cloud-assembly-schema" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - "@aws-cdk/region-info" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-ecr-assets@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-ecr-assets/-/aws-ecr-assets-1.167.0.tgz#b65104f332e4b550b62eeda427cfe24409728372" - integrity sha512-CeZrbHtKbv9wzPT8BGp6aWo6FbY6wPXve4+2daHQXk7cFHdZkh2o8drWQCauqhCAmWDU/ggVNPsuJhD8SuY6BQ== - dependencies: - "@aws-cdk/assets" "1.167.0" - "@aws-cdk/aws-ecr" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-ecr@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-ecr/-/aws-ecr-1.167.0.tgz#86d9cbac9a8844dc4819144529942e31cd13c8bc" - integrity sha512-yf2qsl6f8lqRlRBVJXO7K0P8yYVrYX9uSpexfEDHGSgTFshO6yVBAGYNuVKjyIENivu/lJk2NV+N8Zmc4u8WQg== - dependencies: - "@aws-cdk/aws-events" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-efs@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-efs/-/aws-efs-1.167.0.tgz#0840fa26a5b59d81ce1e5a19f824f47a6a05fdfd" - integrity sha512-YG+3lDh4pdF4AI5NW9XH5R/Y5BxuFOFih17euvEDYFP2nXE/n8JUCNDJdmjdwCR5W+6I8jjg38aY6tMPqOgPZg== - dependencies: - "@aws-cdk/aws-ec2" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/cloud-assembly-schema" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-elasticloadbalancingv2@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-elasticloadbalancingv2/-/aws-elasticloadbalancingv2-1.167.0.tgz#02e8b3b48b730e53b7820ed40d24958619873795" - integrity sha512-+qTGhXna7CLAr/8BecGb7T4sTMFDTy4aF5ncJEjdaG7f5xGrUskRxQwtbv7kz6ALKyNoCmESW9QrpXv8K21Usw== - dependencies: - "@aws-cdk/aws-certificatemanager" "1.167.0" - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-ec2" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/aws-route53" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/cloud-assembly-schema" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - "@aws-cdk/region-info" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-events@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-events/-/aws-events-1.167.0.tgz#62289de53bfcf1fb7ee0966cad64f54cef22c39c" - integrity sha512-El721GawTa1U8GWamoHFxOWrDRFy68YLw11YwYVUYZ4vxXAmsuip4UBnnHqPg6MWS9zf2Y2TS1T3ynFLufHgtw== - dependencies: - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-iam@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-iam/-/aws-iam-1.167.0.tgz#f06ec53b5f45a5c90779c1a14ff78ef2eadb94e5" - integrity sha512-u4CaRlAIrF/WsaG+w/h5wRhBxIBfcpjuHDhZg7XBGmFIUc/avMDEOv/PlA43I9MX5nkZhv8SeX1EpecZ5Y+Dfw== - dependencies: - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - "@aws-cdk/region-info" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-kms@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-kms/-/aws-kms-1.167.0.tgz#b33722cf8983a28546ca00113ac1c4a8c4a28e21" - integrity sha512-J44ku0eJEi5d4PZpPW+qVwPk35CwGzrOJ+3MuLvpxgmTc1UDPgGTECHetFOIjYnW5ZXGI31Jn0/81FUeLITRdA== - dependencies: - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/cloud-assembly-schema" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-lambda@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-lambda/-/aws-lambda-1.167.0.tgz#6d27fcafcf1c1a5026c00db4e23c7aaa979d67e4" - integrity sha512-2yr4NcfFBFaWS9n/kZ7Jyx3PW4x1sjhJcKQErb1kVB8XQnmXPzsl1TFgTMzjLoe4M60oq1I0I3CnU1EfTcX+xA== - dependencies: - "@aws-cdk/aws-applicationautoscaling" "1.167.0" - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-codeguruprofiler" "1.167.0" - "@aws-cdk/aws-ec2" "1.167.0" - "@aws-cdk/aws-ecr" "1.167.0" - "@aws-cdk/aws-ecr-assets" "1.167.0" - "@aws-cdk/aws-efs" "1.167.0" - "@aws-cdk/aws-events" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/aws-logs" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/aws-s3-assets" "1.167.0" - "@aws-cdk/aws-signer" "1.167.0" - "@aws-cdk/aws-sns" "1.167.0" - "@aws-cdk/aws-sqs" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - "@aws-cdk/region-info" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-logs@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-logs/-/aws-logs-1.167.0.tgz#5fac799effb3ddf9d47566cfb4e452cae719aa04" - integrity sha512-658oO9+asy14rUHHGEjM+slshjeS5bY2jXYNXc2qDg3/i+kZOpVZOXkry0JzMbH780ldfEVcu+b/M7fzU2h2yQ== - dependencies: - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/aws-s3-assets" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-route53@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-route53/-/aws-route53-1.167.0.tgz#cbe987f336bc44cc5014fe6f989f3036f12dbbf2" - integrity sha512-r2L8AUPW+KN8/WgsxOWlJ7pPB/JAa3NHRJ0f20bm6PuBLQVBdJfiwt92X1Rvtv0Wvsw41nC53Bh+5Ekx9qfaSQ== - dependencies: - "@aws-cdk/aws-ec2" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-logs" "1.167.0" - "@aws-cdk/cloud-assembly-schema" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/custom-resources" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-s3-assets@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-s3-assets/-/aws-s3-assets-1.167.0.tgz#39dd449af5860e381860db27e20859577057438b" - integrity sha512-4+Y1c0M3QtWoG0nIGofwNM5BhZTV2e6D6JS8IrrlwOLWwQCYdB2OfIhPfr5tjFrcuVS8KyOI8EUgvMvhnmCOrw== - dependencies: - "@aws-cdk/assets" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-s3-deployment@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-s3-deployment/-/aws-s3-deployment-1.167.0.tgz#8defda065da185d1fe45d77c37b2848db738ae95" - integrity sha512-DAXkaF11I3QvwlB4yIa574nk+dLSl1kpBHJfcfxlpYoCv0HSvdyIv32J2uctlSz2OvdGaTD4l6bsvoVStXOySQ== - dependencies: - "@aws-cdk/aws-cloudfront" "1.167.0" - "@aws-cdk/aws-ec2" "1.167.0" - "@aws-cdk/aws-efs" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/aws-logs" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/aws-s3-assets" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/lambda-layer-awscli" "1.167.0" - case "1.6.3" - constructs "^3.3.69" - -"@aws-cdk/aws-s3@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-s3/-/aws-s3-1.167.0.tgz#cb65fe63e558d4abe7a7042e3acce083fc0741d2" - integrity sha512-rZpJqj6XnhuqE7Lw9zGpE7izCd/L7NjjDKSs10KpFoJVUEDziLyI9MYpjhLrVZZHixVhYU3sKUvBQAT8ht+grw== - dependencies: - "@aws-cdk/aws-events" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/core" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-signer@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-signer/-/aws-signer-1.167.0.tgz#67b200c8b04367ae279e6e59277200d3973db49f" - integrity sha512-tspwHTydJTRXJwqceJTLr/Q9XA+OMRmPvHtKSEsfN6rwUxs3HeZOPRi68NpRsInyIm53Ajz/2is+jwg3NCW0RQ== - dependencies: - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-sns@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-sns/-/aws-sns-1.167.0.tgz#09fea496b1bf4e63c30a31c87514428bbfc618ec" - integrity sha512-KzX9/5Q8TFUyXszSU22mbeAEdNLusf2fM0ELXbg14e9odCq1Y6M7pnkxITVklNmaix7uYzGqfg6HyjnWrrPbUg== - dependencies: - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-codestarnotifications" "1.167.0" - "@aws-cdk/aws-events" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/aws-sqs" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-sqs@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-sqs/-/aws-sqs-1.167.0.tgz#357c2b794869e8f3ed5694097a4c7fa8a219734b" - integrity sha512-Y+FKIubcMoP2ezdIrK6JvCdLNbm30x+3oXWCOO4Mr3fPCE35LqsAUtEcE5lAQshZwBTQrQ/ARRtdx8ugxryOZw== - dependencies: - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-ssm@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-ssm/-/aws-ssm-1.167.0.tgz#68277e9c6f4bb702b4af42d3624a0db4ac284597" - integrity sha512-Tm/AUB5Fx/tzZBg8OfvoFtpH4FVhtYRX9nS3iFfh7jHEWBXz0KePneMaVuTUlbN6BITeQ234TfKwPZtnZvrCBA== - dependencies: - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-kms" "1.167.0" - "@aws-cdk/cloud-assembly-schema" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/aws-stepfunctions@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/aws-stepfunctions/-/aws-stepfunctions-1.167.0.tgz#29b8d21e3b2aee12dc06d9160d0e92aa2faae771" - integrity sha512-7xsjnJEdJW3GRFz301eHfJOONwI3wZ5Q0Yoma5rIj6+wFdf9bwmF4r6UQn13J85sngoOMUq8KNfGDTiKum92gg== - dependencies: - "@aws-cdk/aws-cloudwatch" "1.167.0" - "@aws-cdk/aws-events" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-logs" "1.167.0" - "@aws-cdk/aws-s3" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/cloud-assembly-schema@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/cloud-assembly-schema/-/cloud-assembly-schema-1.167.0.tgz#2363b38c00fd3f0676257fe039ec10069e7fe942" - integrity sha512-JQadNzrWuHGN+vYKq4rEfIxBpi6Ouv1A23T1m3PfjBWJu/sadREZTG1/qez1rWmwBvmW/hzZGxfiRu7SLa8Dow== - dependencies: - jsonschema "^1.4.1" - semver "^7.3.7" - -"@aws-cdk/core@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/core/-/core-1.167.0.tgz#14dc58a075feb2491274b4659c2e693853b55d89" - integrity sha512-pRu+ZZR8XX8HWXhXvvQNRhmN2tTOmwyNubV8QVw0uCUoIBtdlDjRCKcsCFZ8AiNsLdKWv0zbBHYIsAbkwK993w== - dependencies: - "@aws-cdk/cloud-assembly-schema" "1.167.0" - "@aws-cdk/cx-api" "1.167.0" - "@aws-cdk/region-info" "1.167.0" - "@balena/dockerignore" "^1.0.2" - constructs "^3.3.69" - fs-extra "^9.1.0" - ignore "^5.2.0" - minimatch "^3.1.2" - -"@aws-cdk/custom-resources@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/custom-resources/-/custom-resources-1.167.0.tgz#db411d1f3259f06cb89ad57d5ae2f4f00ad33cf5" - integrity sha512-lPCT8+D/abeTMHqc+RxLu/QMjykHHcjAqg3uIm3magk7LH3mV4rU+mlP+HUe+xiRyQjuwpsVnT3ewPRZxEdIoQ== - dependencies: - "@aws-cdk/aws-cloudformation" "1.167.0" - "@aws-cdk/aws-ec2" "1.167.0" - "@aws-cdk/aws-iam" "1.167.0" - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/aws-logs" "1.167.0" - "@aws-cdk/aws-sns" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/cx-api@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/cx-api/-/cx-api-1.167.0.tgz#62e5ddf66f32e048b79779258e6f7ec3f02eec74" - integrity sha512-TWiOiQSKZlVkv01o2uvU+lxnxlkLEseOORKKHaCffX6SpsxwHwKWUEzVJ2Q5POHT4WUvlYfnxL46QbWr/IQBIw== - dependencies: - "@aws-cdk/cloud-assembly-schema" "1.167.0" - semver "^7.3.7" - -"@aws-cdk/lambda-layer-awscli@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/lambda-layer-awscli/-/lambda-layer-awscli-1.167.0.tgz#2884f31b73c7a3be8fd402d4f0c75e4fdd72bf7a" - integrity sha512-S9gojUvkGlxbP8YhB85t0vtxWGQqL1120b2UPd4WfgNk4YxF7o+bn0vWrenfU3CaCyWH32i5RBbgJdZ5n0cjdQ== - dependencies: - "@aws-cdk/aws-lambda" "1.167.0" - "@aws-cdk/core" "1.167.0" - constructs "^3.3.69" - -"@aws-cdk/region-info@1.167.0": - version "1.167.0" - resolved "https://registry.yarnpkg.com/@aws-cdk/region-info/-/region-info-1.167.0.tgz#11eb0e32c025c034753d76749c3d642a682636b9" - integrity sha512-T5s+z48aIIfdJQ35tCePnxwe9gt7xS6K82yEkfFwONQER1Z5Y+Qwa2OnUSHJIG/i7hqxEb+46D4t/Qlvqahdyg== - "@balena/dockerignore@^1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@balena/dockerignore/-/dockerignore-1.0.2.tgz#9ffe4726915251e8eb69f44ef3547e0da2c03e0d" @@ -493,10 +27,25 @@ at-least-node@^1.0.0: resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== -aws-cdk@1.167.0: - version "1.167.0" - resolved "https://registry.yarnpkg.com/aws-cdk/-/aws-cdk-1.167.0.tgz#c4dbd3c335b0319db297c0de284baedead825019" - integrity sha512-QuaCSJhJFiK+DpKqE3UWaZDlwD1rsnLNgSN2kh3kp95IZWFja74k8fIMi+qqRIQIaIak6hkpIEYQ9y+wsH23Bw== +aws-cdk-lib@^2.0.0: + version "2.38.1" + resolved "https://registry.yarnpkg.com/aws-cdk-lib/-/aws-cdk-lib-2.38.1.tgz#e96ee1362c86260786b3d808f593ca5edd813b29" + integrity sha512-vEgJBUzL1yqlSMYGjipl+eRwy900x3RmbVzTcxKdCZvhtBMQ1hqJAMgVswvoyA5EnvfELLlz9ufm+qdKGs9DxQ== + dependencies: + "@balena/dockerignore" "^1.0.2" + case "1.6.3" + fs-extra "^9.1.0" + ignore "^5.2.0" + jsonschema "^1.4.1" + minimatch "^3.1.2" + punycode "^2.1.1" + semver "^7.3.7" + yaml "1.10.2" + +aws-cdk@2.38.1: + version "2.38.1" + resolved "https://registry.yarnpkg.com/aws-cdk/-/aws-cdk-2.38.1.tgz#285273b5507241712bcc1e5b40eb05a21f3bebfd" + integrity sha512-bIHRCkmbXBmJWw1Gq5UsAUUYKABuE/ah1iAA14hXLS8+9AJlF/Ptn+NsUCt9K5v17cRqtUoeaOAMAPrZs8l+YA== optionalDependencies: fsevents "2.3.2" @@ -523,15 +72,22 @@ case@1.6.3: resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== +cdk@^2.0.0: + version "2.38.1" + resolved "https://registry.yarnpkg.com/cdk/-/cdk-2.38.1.tgz#63aca5b8107b22a0d16b737199ddd0a8849e6058" + integrity sha512-+mcKBLTU/zXD+E4QDS/XLcnZdo8MM8rXJXtgY13MSKtBdAThTLSaawDz0YxZTUvmm0J0Vcb4O/YjZla5IDEpmA== + dependencies: + aws-cdk "2.38.1" + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -constructs@^3.3.69: - version "3.4.58" - resolved "https://registry.yarnpkg.com/constructs/-/constructs-3.4.58.tgz#c9a2fc20f7ba21324cba36281b88c3dab0dd0cf2" - integrity sha512-x34z24jvWJ8X+ggUl33SYa6juKwUTIbVpErDiHes7Z3KC1ZQq9NbdmblHRdPDJe7dtCi6H9YmgtFnavKygt7hg== +constructs@^10.0.0: + version "10.1.82" + resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.1.82.tgz#c3530564810a0a1ac830fa744ea4ffb0ea4ad137" + integrity sha512-sQL/bCwiWvx9din24ThnqJyiGmicNPywvVFEjGOz+bVnyc7/C8rKLVXLbyFebeVcKrcj2foBECeocltp8824LA== create-require@^1.1.0: version "1.1.1" @@ -653,6 +209,11 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml@1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== + yn@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"