Hi, I'm using an AWS Batch on Fargate. I'd like to...
# aws
p
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 (https://www.pulumi.com/docs/reference/pkg/aws/ecs/cluster/#look-up) but how do I change the settings? Thanks
b
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights.html 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
p
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.