-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
bugThis issue is a bug.This issue is a bug.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdin-progressThis issue is being actively worked on.This issue is being actively worked on.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
While deploying a delivlib pipeline, cdk fails to run with "Given input did not match expected format". synth and diff work as expected.
Reproduction Steps
unzip pipeline.zip
cd pipeline
npm install
# change env for deploy in bin/pipeline.ts
cdk --profile your-env deploy
Error Log
Do you wish to deploy these changes (y/n)? y
cdk-library-pipeline: deploying...
cdk-library-pipeline: creating CloudFormation changeset...
❌ cdk-library-pipeline failed: Error [ValidationError]: Given input did not match expected format
at Request.extractError (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/protocol/query.js:50:29)
at Request.callListeners (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/request.js:685:12)
at Request.callListeners (/Users/andrew.hammond/gowork/src/github.com/myhelix/cdk-library/pipeline/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
message: 'Given input did not match expected format',
code: 'ValidationError',
time: 2020-02-13T17:52:16.805Z,
requestId: '9059d405-d5c6-4459-8c58-ea0df9d9cdd9',
statusCode: 400,
retryable: false,
retryDelay: 22.075427537895088
}
Given input did not match expected format
Environment
- CLI Version : 1.23.0
- Framework Version: 1.19.0
- OS : Darwin 18.7.0
- Language : Typescript
Other
I've tried with both CLI version 1.19.0 and latest. I locked the framework version to 1.19.0 because of cdklabs/aws-delivlib#242 The code in pipeline.zip is based very closely on the example at https://github.com/awslabs/aws-delivlib/blob/master/pipeline/delivlib.ts so I don't believe it's seriously broken.
This is 🐛 Bug Report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdin-progressThis issue is being actively worked on.This issue is being actively worked on.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI