pulumi / pulumi-ai

222 stars 15 forks source link

Incorrect example for deploying a fargate service #85

Open EvanBoyle opened 1 month ago

EvanBoyle commented 1 month ago

https://www.pulumi.com/ai/conversations/3f06452d-4b4c-4739-b9b9-24fcaeac6381

A couple of issues:

  1. Pulumi AI doesn't know about the new docker-build provider
  2. It suggests using const image = awsx.ecr.buildAndPushImage which doesn't exist
  3. it suggest passing a awsx.ecs.FargateTaskDefinition to awsx.ecs.FargateService which doesn't compile Type 'FargateTaskDefinition' is not assignable to type 'Input<string> | undefined'.