salmon-thailand-93496
09/02/2023, 4:43 AMconst service = new awsx.ecs.FargateService("service", {
...
taskDefinitionArgs: {
container: {
image: image.imageUri,
...
},
},
});
but the image
is supposed to come from this:
const image = new awsx.ecr.Image("image", {
repositoryUrl: repository.url,
path: "./app",
});
But Typescript shows me that there is no such property as imageUri
on the Image
type:
Property 'imageUri' does not exist on type 'Image'.
This is the documentation: https://www.pulumi.com/docs/clouds/aws/guides/ecs/. What am I missing?image.imageUri
, I changed it to image.imageName
- but that wasn’t sufficient. It just took too long and the call failed because of a 20 minute timeout (timeout while waiting for state to become 'tfSTABLE' (last state: 'tfPENDING', timeout: 20m0s)
)
2. I also had to run it one time with the following environmental variable: PULUMI_DEBUG_PROMISE_LEAKS=true
and then it ran to completion 🤔little-cartoon-10569
09/03/2023, 7:59 PM