Has anyone ever had issues adding a `logConfigurat...
# aws
Has anyone ever had issues adding a
to a
? I'm attempting to add the following block to my fargate service but receiving a rather unhelpful error. Anyone have ideas? The service has no issues before adding the logConfiguration block.
Copy code
logConfiguration: {
  logDriver: 'awslogs',
  options: {
    'awslogs-group': logGroup.name,
    'awslogs-region': awsRegion,
    'awslogs-stream-prefixs': logGroup.namePrefix,
The error:
Copy code
<ref *1> Error: failed to register new resource service [awsx:ecs:FargateService]: Resource monitor is terminating
    at Object.registerResource (/Users/elliot/dev/cloud-platform/node_modules/@pulumi/runtime/resource.ts:292:27)
    at new Resource (/Users/elliot/dev/cloud-platform/node_modules/@pulumi/resource.ts:401:13)
    at new ComponentResource (/Users/elliot/dev/cloud-platform/node_modules/@pulumi/resource.ts:889:9)
    at new FargateService (/Users/elliot/dev/cloud-platform/node_modules/@pulumi/ecs/fargateService.ts:78:9)
    at /Users/elliot/dev/cloud-platform/apps/pulumi-tenant-stack/payload-stack.ts:109:23
    at Generator.next (<anonymous>)
    at fulfilled (/Users/elliot/dev/cloud-platform/apps/pulumi-tenant-stack/payload-stack.ts:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 14,
  promise: Promise { <rejected> [Circular *1] }
I modeled the code from this section in the examples repo.
It's a different error with a different language, but I also wasn't able to add a log group to a `awsx.ecs.FargateService`: https://github.com/pulumi/pulumi-awsx/issues/929
Interesting, definitely seems like the same or related issue
I think working fargate example will be more detailed - I don't know how to fix it, also blocked, but I found a way more detailed sample in a comment: https://github.com/pulumi/pulumi/issues/9587#issuecomment-1126853030
@kind-hamburger-15227 Thanks for the link. I'll compare to mine.
@few-carpenter-12885 Example is also reported not working - deployable but not could not connect.