Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

dependency on nodejs14 failing context deployment #642

Open
jdavredbeard opened this issue Apr 11, 2024 · 1 comment
Open

dependency on nodejs14 failing context deployment #642

jdavredbeard opened this issue Apr 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jdavredbeard
Copy link

jdavredbeard commented Apr 11, 2024

Describe the Bug

It appears that the AGC is has a dependency on an older version of the aws-cdk-lib that includes a LogRetention construct that includes a dependency on a Lambda with a nodejs14 runtime. The nodejs14 runtime is no longer supported by AWS for Lambdas, so deployment fails.
The current version of LogRetention construct: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogRetention.html

I see a recent issue #624 where this problem is discussed, and a fix was merged in #637 - and yet, I still see this problem.

Steps to Reproduce

clone agc repo
run make build (the install.sh script does not produce a working executable on the M2, I believe this is a known issue)
run ./packages/cli/bin/local/agc account activate (including -p {your-profile})
run cd examples/demo-nextflow-project
run ../../packages/cli/bin/local/agc context deploy --context onDemandContext (including -p {your-profile})

Relevant Logs

jdavenport@LTDV0351 demo-nextflow-project % ../../packages/cli/bin/local/agc context deploy --context onDemandContext -p borg4 2024-04-11T11:20:31-04:00 𝒊 Deploying context(s) Deploying resources for context(s) [onDemandContext] [-o--] 2m13s 2024-04-11T11:22:47-04:00 ✘ Failed to deploy context 'onDemandContext'. Below is the log for that deployment 2024-04-11T11:22:47-04:00 ✘ [WARNING] aws-cdk-lib.aws_apigateway.AccessLogField#contextAccountId is deprecated. 2024-04-11T11:22:47-04:00 ✘ Use contextCallerAccountIdorcontextOwnerAccountIdinstead 2024-04-11T11:22:47-04:00 ✘ This API will be removed in the next major release. 2024-04-11T11:22:47-04:00 ✘ [WARNING] aws-cdk-lib.aws_apigateway.AccessLogField#contextAccountId is deprecated. 2024-04-11T11:22:47-04:00 ✘ UsecontextCallerAccountIdorcontextOwnerAccountIdinstead 2024-04-11T11:22:47-04:00 ✘ This API will be removed in the next major release. 2024-04-11T11:22:47-04:00 ✘ [WARNING] aws-cdk-lib.aws_apigateway.AccessLogField#contextAccountId is deprecated. 2024-04-11T11:22:47-04:00 ✘ UsecontextCallerAccountIdorcontextOwnerAccountId` instead
2024-04-11T11:22:47-04:00 ✘ This API will be removed in the next major release.
2024-04-11T11:22:47-04:00 ✘ [Warning at /Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext/ContextSubnet0] No routeTableId was provided to the subnet at 'Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext/ContextSubnet0'. Attempting to read its .routeTable.routeTableId will return null/undefined. (More info: aws/aws-cdk#3171)
2024-04-11T11:22:47-04:00 ✘ [Warning at /Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext/ContextSubnet1] No routeTableId was provided to the subnet at 'Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext/ContextSubnet1'. Attempting to read its .routeTable.routeTableId will return null/undefined. (More info: aws/aws-cdk#3171)
2024-04-11T11:22:47-04:00 ✘ [Warning at /Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext/ContextSubnet2] No routeTableId was provided to the subnet at 'Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext/ContextSubnet2'. Attempting to read its .routeTable.routeTableId will return null/undefined. (More info: aws/aws-cdk#3171)
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ ✨ Synthesis time: 15.78s
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext: building assets...
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ [0%] start: Building eb5b005c858404ea0c8f68098ed5dcdf5340e02461f149751d10f59c210d5ef8:437379043714-us-east-1
2024-04-11T11:22:47-04:00 ✘ [0%] start: Building 4e264f02fd7bca9adee06846b8be6d1d62802248cbac5fa3fa9a7bfa2974c7f7:437379043714-us-east-1
2024-04-11T11:22:47-04:00 ✘ [50%] success: Built eb5b005c858404ea0c8f68098ed5dcdf5340e02461f149751d10f59c210d5ef8:437379043714-us-east-1
2024-04-11T11:22:47-04:00 ✘ [100%] success: Built 4e264f02fd7bca9adee06846b8be6d1d62802248cbac5fa3fa9a7bfa2974c7f7:437379043714-us-east-1
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext: assets built
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext: deploying...
2024-04-11T11:22:47-04:00 ✘ [0%] start: Publishing eb5b005c858404ea0c8f68098ed5dcdf5340e02461f149751d10f59c210d5ef8:437379043714-us-east-1
2024-04-11T11:22:47-04:00 ✘ [0%] start: Publishing 4e264f02fd7bca9adee06846b8be6d1d62802248cbac5fa3fa9a7bfa2974c7f7:437379043714-us-east-1
2024-04-11T11:22:47-04:00 ✘ [50%] success: Published 4e264f02fd7bca9adee06846b8be6d1d62802248cbac5fa3fa9a7bfa2974c7f7:437379043714-us-east-1
2024-04-11T11:22:47-04:00 ✘ [100%] success: Published eb5b005c858404ea0c8f68098ed5dcdf5340e02461f149751d10f59c210d5ef8:437379043714-us-east-1
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext: creating CloudFormation changeset...
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:20:53 AM | REVIEW_IN_PROGRESS | AWS::CloudFormation::Stack | Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext User Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:04 AM | CREATE_IN_PROGRESS | AWS::CloudFormation::Stack | Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext User Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | Batch/TaskBatch/ComputeEnvironment/Resource-Security-Group (BatchTaskBatchComputeEnvironmentResourceSecurityGroup7E09DA74)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | nextflow/ApiProxy/Resource/CloudWatchRole (nextflowApiProxyCloudWatchRole96C5E20A)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | Batch/TaskBatch/BatchRole (BatchTaskBatchBatchRoleE10D8E83)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | nextflow/NextflowWesAdapterLambda/SecurityGroup (nextflowNextflowWesAdapterLambdaSecurityGroup60C283A6)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | Batch/TaskBatch/ComputeEnvironment/Resource-Service-Instance-Role (BatchTaskBatchComputeEnvironmentResourceServiceInstanceRole765CAACB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::Logs::LogGroup | nextflow/NextflowEngine/EngineLogGroup (nextflowNextflowEngineEngineLogGroupFE2AC31B)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::Logs::LogGroup | nextflow/ApiProxy/AccessLogGroup (nextflowApiProxyAccessLogGroup862833D2)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::EC2::LaunchTemplate | Batch/TaskBatch/LaunchTemplate (BatchTaskBatchLaunchTemplateDBBF73B3)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:09 AM | CREATE_IN_PROGRESS | AWS::ApiGateway::RestApi | nextflow/ApiProxy/Resource (nextflowApiProxy8B922CC0)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:10 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | nextflow/ApiProxy/Resource/CloudWatchRole (nextflowApiProxyCloudWatchRole96C5E20A) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:10 AM | CREATE_IN_PROGRESS | AWS::Logs::LogGroup | nextflow/NextflowEngine/EngineLogGroup (nextflowNextflowEngineEngineLogGroupFE2AC31B) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:10 AM | CREATE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 0/34 | 11:21:10 AM | CREATE_IN_PROGRESS | AWS::Logs::LogGroup | nextflow/ApiProxy/AccessLogGroup (nextflowApiProxyAccessLogGroup862833D2) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 1/34 | 11:21:10 AM | CREATE_COMPLETE | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 1/34 | 11:21:10 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 1/34 | 11:21:10 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | Batch/TaskBatch/ComputeEnvironment/Resource-Service-Instance-Role (BatchTaskBatchComputeEnvironmentResourceServiceInstanceRole765CAACB) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 1/34 | 11:21:10 AM | CREATE_IN_PROGRESS | AWS::ApiGateway::RestApi | nextflow/ApiProxy/Resource (nextflowApiProxy8B922CC0) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 1/34 | 11:21:10 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | Batch/TaskBatch/BatchRole (BatchTaskBatchBatchRoleE10D8E83) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 2/34 | 11:21:11 AM | CREATE_COMPLETE | AWS::ApiGateway::RestApi | nextflow/ApiProxy/Resource (nextflowApiProxy8B922CC0)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 2/34 | 11:21:11 AM | CREATE_IN_PROGRESS | AWS::EC2::LaunchTemplate | Batch/TaskBatch/LaunchTemplate (BatchTaskBatchLaunchTemplateDBBF73B3) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 3/34 | 11:21:11 AM | CREATE_COMPLETE | AWS::EC2::LaunchTemplate | Batch/TaskBatch/LaunchTemplate (BatchTaskBatchLaunchTemplateDBBF73B3)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 3/34 | 11:21:12 AM | CREATE_IN_PROGRESS | AWS::ApiGateway::Resource | nextflow/ApiProxy/Resource/Default/{proxy+} (nextflowApiProxyproxyDAF888DB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 3/34 | 11:21:12 AM | CREATE_IN_PROGRESS | AWS::ApiGateway::Method | nextflow/ApiProxy/Resource/Default/ANY (nextflowApiProxyANYF798C803)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 3/34 | 11:21:12 AM | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | Batch/TaskBatch/ComputeEnvironment/Resource-Security-Group (BatchTaskBatchComputeEnvironmentResourceSecurityGroup7E09DA74) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 3/34 | 11:21:12 AM | CREATE_IN_PROGRESS | AWS::EC2::SecurityGroup | nextflow/NextflowWesAdapterLambda/SecurityGroup (nextflowNextflowWesAdapterLambdaSecurityGroup60C283A6) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 4/34 | 11:21:13 AM | CREATE_COMPLETE | AWS::EC2::SecurityGroup | Batch/TaskBatch/ComputeEnvironment/Resource-Security-Group (BatchTaskBatchComputeEnvironmentResourceSecurityGroup7E09DA74)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 5/34 | 11:21:13 AM | CREATE_COMPLETE | AWS::EC2::SecurityGroup | nextflow/NextflowWesAdapterLambda/SecurityGroup (nextflowNextflowWesAdapterLambdaSecurityGroup60C283A6)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 5/34 | 11:21:13 AM | CREATE_IN_PROGRESS | AWS::ApiGateway::Resource | nextflow/ApiProxy/Resource/Default/{proxy+} (nextflowApiProxyproxyDAF888DB) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 5/34 | 11:21:13 AM | CREATE_IN_PROGRESS | AWS::ApiGateway::Method | nextflow/ApiProxy/Resource/Default/ANY (nextflowApiProxyANYF798C803) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 6/34 | 11:21:13 AM | CREATE_COMPLETE | AWS::ApiGateway::Resource | nextflow/ApiProxy/Resource/Default/{proxy+} (nextflowApiProxyproxyDAF888DB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 7/34 | 11:21:14 AM | CREATE_COMPLETE | AWS::ApiGateway::Method | nextflow/ApiProxy/Resource/Default/ANY (nextflowApiProxyANYF798C803)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 8/34 | 11:21:17 AM | CREATE_COMPLETE | AWS::Logs::LogGroup | nextflow/NextflowEngine/EngineLogGroup (nextflowNextflowEngineEngineLogGroupFE2AC31B)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 9/34 | 11:21:17 AM | CREATE_COMPLETE | AWS::Logs::LogGroup | nextflow/ApiProxy/AccessLogGroup (nextflowApiProxyAccessLogGroup862833D2)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 10/34 | 11:21:26 AM | CREATE_COMPLETE | AWS::IAM::Role | nextflow/ApiProxy/Resource/CloudWatchRole (nextflowApiProxyCloudWatchRole96C5E20A)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 11/34 | 11:21:27 AM | CREATE_COMPLETE | AWS::IAM::Role | Batch/TaskBatch/ComputeEnvironment/Resource-Service-Instance-Role (BatchTaskBatchComputeEnvironmentResourceServiceInstanceRole765CAACB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 12/34 | 11:21:27 AM | CREATE_COMPLETE | AWS::IAM::Role | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:27 AM | CREATE_COMPLETE | AWS::IAM::Role | Batch/TaskBatch/BatchRole (BatchTaskBatchBatchRoleE10D8E83)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:27 AM | CREATE_IN_PROGRESS | AWS::ApiGateway::Account | nextflow/ApiProxy/Resource/Account (nextflowApiProxyAccountEF4E2F9B)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:27 AM | CREATE_IN_PROGRESS | AWS::IAM::Policy | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole/DefaultPolicy (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:28 AM | CREATE_IN_PROGRESS | AWS::IAM::InstanceProfile | Batch/TaskBatch/ComputeProfile (BatchTaskBatchComputeProfile46A6375E)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:28 AM | CREATE_IN_PROGRESS | AWS::IAM::Policy | Batch/TaskBatch/BatchRole/DefaultPolicy (BatchTaskBatchBatchRoleDefaultPolicy8D50CF5E)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:28 AM | CREATE_IN_PROGRESS | AWS::IAM::Policy | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole/DefaultPolicy (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:28 AM | CREATE_IN_PROGRESS | AWS::IAM::InstanceProfile | Batch/TaskBatch/ComputeProfile (BatchTaskBatchComputeProfile46A6375E) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:28 AM | CREATE_IN_PROGRESS | AWS::IAM::Policy | Batch/TaskBatch/BatchRole/DefaultPolicy (BatchTaskBatchBatchRoleDefaultPolicy8D50CF5E) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:29 AM | CREATE_IN_PROGRESS | AWS::ApiGateway::Account | nextflow/ApiProxy/Resource/Account (nextflowApiProxyAccountEF4E2F9B) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:29 AM | CREATE_COMPLETE | AWS::ApiGateway::Account | nextflow/ApiProxy/Resource/Account (nextflowApiProxyAccountEF4E2F9B)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:29 AM | CREATE_IN_PROGRESS | AWS::IAM::InstanceProfile | Batch/TaskBatch/ComputeProfile (BatchTaskBatchComputeProfile46A6375E) Eventual consistency check initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:30 AM | CREATE_IN_PROGRESS | AWS::Batch::ComputeEnvironment | Batch/TaskBatch/ComputeEnvironment (BatchTaskBatchComputeEnvironmentCD449A62)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:32 AM | CREATE_IN_PROGRESS | AWS::Batch::ComputeEnvironment | Batch/TaskBatch/ComputeEnvironment (BatchTaskBatchComputeEnvironmentCD449A62) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:33 AM | CREATE_IN_PROGRESS | AWS::Batch::ComputeEnvironment | Batch/TaskBatch/ComputeEnvironment (BatchTaskBatchComputeEnvironmentCD449A62) Eventual consistency check initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:33 AM | CREATE_IN_PROGRESS | AWS::Batch::JobQueue | Batch/TaskBatch/JobQueue (BatchTaskBatchJobQueue154F1577)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:34 AM | CREATE_IN_PROGRESS | AWS::Batch::JobQueue | Batch/TaskBatch/JobQueue (BatchTaskBatchJobQueue154F1577) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:35 AM | CREATE_IN_PROGRESS | AWS::Batch::JobQueue | Batch/TaskBatch/JobQueue (BatchTaskBatchJobQueue154F1577) Eventual consistency check initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:35 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | nextflow/NextflowEngineRole (nextflowNextflowEngineRole5CE9FE54)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:36 AM | CREATE_IN_PROGRESS | AWS::IAM::Role | nextflow/NextflowEngineRole (nextflowNextflowEngineRole5CE9FE54) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 15/34 | 11:21:38 AM | CREATE_COMPLETE | AWS::Batch::ComputeEnvironment | Batch/TaskBatch/ComputeEnvironment (BatchTaskBatchComputeEnvironmentCD449A62)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 16/34 | 11:21:40 AM | CREATE_COMPLETE | AWS::Batch::JobQueue | Batch/TaskBatch/JobQueue (BatchTaskBatchJobQueue154F1577)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 17/34 | 11:21:44 AM | CREATE_COMPLETE | AWS::IAM::Policy | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole/DefaultPolicy (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:44 AM | CREATE_COMPLETE | AWS::IAM::Policy | Batch/TaskBatch/BatchRole/DefaultPolicy (BatchTaskBatchBatchRoleDefaultPolicy8D50CF5E)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:45 AM | CREATE_IN_PROGRESS | AWS::Lambda::Function | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:46 AM | CREATE_IN_PROGRESS | AWS::Lambda::Function | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A) Resource creation Initiated
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:47 AM | CREATE_FAILED | AWS::Lambda::Function | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A) Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: c7dac4d7-3c8e-48f7-81cd-47c32aeed970)" (RequestToken: fcd9eafc-20c5-b6f9-d3ae-bd618168de9f, HandlerErrorCode: InvalidRequest)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:47 AM | CREATE_FAILED | AWS::IAM::InstanceProfile | Batch/TaskBatch/ComputeProfile (BatchTaskBatchComputeProfile46A6375E) Resource creation cancelled
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:47 AM | CREATE_FAILED | AWS::IAM::Role | nextflow/NextflowEngineRole (nextflowNextflowEngineRole5CE9FE54) Resource creation cancelled
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:47 AM | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext The following resource(s) failed to create: [BatchTaskBatchComputeProfile46A6375E, nextflowNextflowEngineRole5CE9FE54, LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A]. Rollback requested by user.
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_IN_PROGRESS | AWS::IAM::Role | nextflow/NextflowEngineRole (nextflowNextflowEngineRole5CE9FE54)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_IN_PROGRESS | AWS::EC2::SecurityGroup | nextflow/NextflowWesAdapterLambda/SecurityGroup (nextflowNextflowWesAdapterLambdaSecurityGroup60C283A6)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_IN_PROGRESS | AWS::ApiGateway::Method | nextflow/ApiProxy/Resource/Default/ANY (nextflowApiProxyANYF798C803)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_IN_PROGRESS | AWS::EC2::LaunchTemplate | Batch/TaskBatch/LaunchTemplate (BatchTaskBatchLaunchTemplateDBBF73B3)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_IN_PROGRESS | AWS::ApiGateway::Resource | nextflow/ApiProxy/Resource/Default/{proxy+} (nextflowApiProxyproxyDAF888DB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_IN_PROGRESS | AWS::Lambda::Function | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_IN_PROGRESS | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_SKIPPED | AWS::ApiGateway::Account | nextflow/ApiProxy/Resource/Account (nextflowApiProxyAccountEF4E2F9B)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_IN_PROGRESS | AWS::IAM::Policy | Batch/TaskBatch/BatchRole/DefaultPolicy (BatchTaskBatchBatchRoleDefaultPolicy8D50CF5E)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_SKIPPED | AWS::Logs::LogGroup | nextflow/NextflowEngine/EngineLogGroup (nextflowNextflowEngineEngineLogGroupFE2AC31B)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 18/34 | 11:21:50 AM | DELETE_SKIPPED | AWS::Logs::LogGroup | nextflow/ApiProxy/AccessLogGroup (nextflowApiProxyAccessLogGroup862833D2)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 17/34 | 11:21:51 AM | DELETE_COMPLETE | AWS::CDK::Metadata | CDKMetadata/Default (CDKMetadata)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 16/34 | 11:21:51 AM | DELETE_COMPLETE | AWS::ApiGateway::Resource | nextflow/ApiProxy/Resource/Default/{proxy+} (nextflowApiProxyproxyDAF888DB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 16/34 | 11:21:51 AM | DELETE_SKIPPED | AWS::IAM::Role | nextflow/ApiProxy/Resource/CloudWatchRole (nextflowApiProxyCloudWatchRole96C5E20A)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 15/34 | 11:21:51 AM | DELETE_COMPLETE | AWS::EC2::SecurityGroup | nextflow/NextflowWesAdapterLambda/SecurityGroup (nextflowNextflowWesAdapterLambdaSecurityGroup60C283A6)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 14/34 | 11:21:51 AM | DELETE_COMPLETE | AWS::IAM::Policy | Batch/TaskBatch/BatchRole/DefaultPolicy (BatchTaskBatchBatchRoleDefaultPolicy8D50CF5E)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 13/34 | 11:21:51 AM | DELETE_COMPLETE | AWS::ApiGateway::Method | nextflow/ApiProxy/Resource/Default/ANY (nextflowApiProxyANYF798C803)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 12/34 | 11:21:51 AM | DELETE_COMPLETE | AWS::EC2::LaunchTemplate | Batch/TaskBatch/LaunchTemplate (BatchTaskBatchLaunchTemplateDBBF73B3)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 12/34 | 11:21:52 AM | DELETE_IN_PROGRESS | AWS::ApiGateway::RestApi | nextflow/ApiProxy/Resource (nextflowApiProxy8B922CC0)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 11/34 | 11:21:53 AM | DELETE_COMPLETE | AWS::ApiGateway::RestApi | nextflow/ApiProxy/Resource (nextflowApiProxy8B922CC0)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 12/34 | 11:21:59 AM | DELETE_COMPLETE | AWS::Lambda::Function | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 12/34 | 11:21:59 AM | DELETE_IN_PROGRESS | AWS::IAM::Policy | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole/DefaultPolicy (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 11/34 | 11:22:00 AM | DELETE_COMPLETE | AWS::IAM::Policy | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole/DefaultPolicy (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 11/34 | 11:22:01 AM | DELETE_IN_PROGRESS | AWS::IAM::Role | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 12/34 | 11:22:03 AM | DELETE_COMPLETE | AWS::IAM::Role | nextflow/NextflowEngineRole (nextflowNextflowEngineRole5CE9FE54)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 12/34 | 11:22:03 AM | DELETE_IN_PROGRESS | AWS::Batch::JobQueue | Batch/TaskBatch/JobQueue (BatchTaskBatchJobQueue154F1577)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 11/34 | 11:22:13 AM | DELETE_COMPLETE | AWS::IAM::Role | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a/ServiceRole (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 10/34 | 11:22:15 AM | DELETE_COMPLETE | AWS::Batch::JobQueue | Batch/TaskBatch/JobQueue (BatchTaskBatchJobQueue154F1577)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 10/34 | 11:22:16 AM | DELETE_IN_PROGRESS | AWS::Batch::ComputeEnvironment | Batch/TaskBatch/ComputeEnvironment (BatchTaskBatchComputeEnvironmentCD449A62)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 9/34 | 11:22:28 AM | DELETE_COMPLETE | AWS::Batch::ComputeEnvironment | Batch/TaskBatch/ComputeEnvironment (BatchTaskBatchComputeEnvironmentCD449A62)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 9/34 | 11:22:28 AM | DELETE_IN_PROGRESS | AWS::EC2::SecurityGroup | Batch/TaskBatch/ComputeEnvironment/Resource-Security-Group (BatchTaskBatchComputeEnvironmentResourceSecurityGroup7E09DA74)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 9/34 | 11:22:28 AM | DELETE_IN_PROGRESS | AWS::IAM::Role | Batch/TaskBatch/ComputeEnvironment/Resource-Service-Instance-Role (BatchTaskBatchComputeEnvironmentResourceServiceInstanceRole765CAACB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 9/34 | 11:22:28 AM | DELETE_IN_PROGRESS | AWS::IAM::InstanceProfile | Batch/TaskBatch/ComputeProfile (BatchTaskBatchComputeProfile46A6375E)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 10/34 | 11:22:30 AM | DELETE_COMPLETE | AWS::IAM::InstanceProfile | Batch/TaskBatch/ComputeProfile (BatchTaskBatchComputeProfile46A6375E)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 9/34 | 11:22:30 AM | DELETE_COMPLETE | AWS::EC2::SecurityGroup | Batch/TaskBatch/ComputeEnvironment/Resource-Security-Group (BatchTaskBatchComputeEnvironmentResourceSecurityGroup7E09DA74)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 9/34 | 11:22:30 AM | DELETE_IN_PROGRESS | AWS::IAM::Role | Batch/TaskBatch/BatchRole (BatchTaskBatchBatchRoleE10D8E83)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 8/34 | 11:22:41 AM | DELETE_COMPLETE | AWS::IAM::Role | Batch/TaskBatch/ComputeEnvironment/Resource-Service-Instance-Role (BatchTaskBatchComputeEnvironmentResourceServiceInstanceRole765CAACB)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 7/34 | 11:22:43 AM | DELETE_COMPLETE | AWS::IAM::Role | Batch/TaskBatch/BatchRole (BatchTaskBatchBatchRoleE10D8E83)
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 8/34 | 11:22:43 AM | ROLLBACK_COMPLETE | AWS::CloudFormation::Stack | Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ Failed resources:
2024-04-11T11:22:47-04:00 ✘ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext | 11:21:47 AM | CREATE_FAILED | AWS::Lambda::Function | LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8a (LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A) Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: c7dac4d7-3c8e-48f7-81cd-47c32aeed970)" (RequestToken: fcd9eafc-20c5-b6f9-d3ae-bd618168de9f, HandlerErrorCode: InvalidRequest)
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ ❌ Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext failed: Error: The stack named Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: c7dac4d7-3c8e-48f7-81cd-47c32aeed970)" (RequestToken: fcd9eafc-20c5-b6f9-d3ae-bd618168de9f, HandlerErrorCode: InvalidRequest)
2024-04-11T11:22:47-04:00 ✘ at FullCloudFormationDeployment.monitorDeployment (/Users/jdavenport/.agc/cdk/node_modules/aws-cdk/lib/api/deploy-stack.ts:505:13)
2024-04-11T11:22:47-04:00 ✘ at processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-04-11T11:22:47-04:00 ✘ at deployStack2 (/Users/jdavenport/.agc/cdk/node_modules/aws-cdk/lib/cdk-toolkit.ts:241:24)
2024-04-11T11:22:47-04:00 ✘ at /Users/jdavenport/.agc/cdk/node_modules/aws-cdk/lib/deploy.ts:39:11
2024-04-11T11:22:47-04:00 ✘ at run (/Users/jdavenport/.agc/cdk/node_modules/p-queue/dist/index.js:163:29)
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ ❌ Deployment failed: Error: Stack Deployments Failed: Error: The stack named Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: c7dac4d7-3c8e-48f7-81cd-47c32aeed970)" (RequestToken: fcd9eafc-20c5-b6f9-d3ae-bd618168de9f, HandlerErrorCode: InvalidRequest)
2024-04-11T11:22:47-04:00 ✘ at deployStacks (/Users/jdavenport/.agc/cdk/node_modules/aws-cdk/lib/deploy.ts:61:11)
2024-04-11T11:22:47-04:00 ✘ at processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-04-11T11:22:47-04:00 ✘ at CdkToolkit.deploy (/Users/jdavenport/.agc/cdk/node_modules/aws-cdk/lib/cdk-toolkit.ts:315:7)
2024-04-11T11:22:47-04:00 ✘ at initCommandLine (/Users/jdavenport/.agc/cdk/node_modules/aws-cdk/lib/cli.ts:358:12)
2024-04-11T11:22:47-04:00 ✘
2024-04-11T11:22:47-04:00 ✘ Stack Deployments Failed: Error: The stack named Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: c7dac4d7-3c8e-48f7-81cd-47c32aeed970)" (RequestToken: fcd9eafc-20c5-b6f9-d3ae-bd618168de9f, HandlerErrorCode: InvalidRequest)

2024-04-11T11:22:47-04:00 ✘ error="1 context deployment failures"
Error: an error occurred invoking 'context deploy'
with variables: {contexts:[onDemandContext] deployAll:false}
caused by: 1 context deployment failures
suggestion: To resolve failure 1, determine the cause of: exit status 1`

Expected Behavior

Context is successfully deployed by CDK/Cloudformation

Actual Behavior
Deployment failure and rollback

Stack Deployments Failed: Error: The stack named Agc-Context-NextflowDemo-davenpj2fJDdY-onDemandContext failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: redacted)" (RequestToken: redacted, HandlerErrorCode: InvalidRequest)

Screenshots

Additional Context

Operating System: MacBook Pro, Apple M2, Ventura 13.6.1
AGC Version: 1.6.0
Was AGC setup with a custom bucket: no
Was AGC setup with a custom VPC: no

@jdavredbeard jdavredbeard added the bug Something isn't working label Apr 11, 2024
@jdavredbeard
Copy link
Author

I see #624 and now realize that the reason that the fix in 624 doesn't fix the issue yet is that the cli is using the cdk code in ~/.agc, not the cdk in the repo like I assumed. Following the suggested workaround of directly updating the code in ~/.agc works - leaving this issue open however as following documented installation steps fails.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant