pulumi / pulumi-ai

226 stars 16 forks source link

Incorrect example for deploying a fargate service #85

Open EvanBoyle opened 6 months ago

EvanBoyle commented 6 months 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'.