You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can not synthesize CloudFormation template for fargate-service-with-auto-scaling
Reproduction Steps
git clone https://github.com/aws-samples/aws-cdk-examples.git
cd aws-cdk-examples/typescript/ecs/fargate-service-with-auto-scaling
npm install
npm run build
Verbose Log
> [email protected] build /home/ec2-user/environment/aws-cdk-examples/typescript/ecs/fargate-service-with-auto-scaling
> tsc
index.ts:17:7 - error TS2345: Argument of type '{ cluster: Cluster; image: RepositoryImage; }' is not assignable to parameter of type 'NetworkLoadBalancedFargateServiceProps'.
Object literal may only specify known properties, and 'image' does not exist in type 'NetworkLoadBalancedFargateServiceProps'.
17 image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ec2-user/.npm/_logs/2019-10-07T18_43_55_681Z-debug.log
Environment
CDK CLI Version: 1.12.0 (build 923055e)
OS: Linux ip-172-31-26-69 4.14.143-91.122.amzn1.x86_64 1 SMP Wed Sep 11 00:43:34 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Language: TypeScript
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
What is the problem?
Can not synthesize CloudFormation template for fargate-service-with-auto-scaling
Reproduction Steps
git clone https://github.com/aws-samples/aws-cdk-examples.git cd aws-cdk-examples/typescript/ecs/fargate-service-with-auto-scaling npm install npm run build
Verbose Log
Environment
The text was updated successfully, but these errors were encountered: