05/14/2021, 7:17 PM
Hi, I'm using an AWS Batch on Fargate. I'd like to enable Container Insights on the cluster that Batch creates when I define compute environment, however I don't know how. There's no argument that I could pass to compute environment resource. On the other hand, there's an output with ECS cluster ARN that Batch creates. Now how do I change the cluster settings provided I have an ARN? I think I might get the cluster resource using a lookup ( but how do I change the settings? Thanks


05/14/2021, 7:21 PM This page says AWS Batch doesn't support container insights
but also for pulumi, I don't think you can have a pulumi project make modification to a resource that that pulumi project doesn't control
unless that modification comes in the form of an additional resource attached to the root resource, such as a rule on a security group or policy that that project doesn't own


05/14/2021, 7:26 PM
Yeah, I've just hit that too, missed the sentence the first time I read that page. So I guess there's no way to gather metrics for Batch jobs running on Fargate.