few-carpenter-12885
10/24/2022, 2:02 PMlogConfiguration
to a awsx.ecs.FargateService
? 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.
logConfiguration: {
logDriver: 'awslogs',
options: {
'awslogs-group': logGroup.name,
'awslogs-region': awsRegion,
'awslogs-stream-prefixs': logGroup.namePrefix,
},
},
The error:
<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.polite-ocean-13631
10/24/2022, 2:46 PMfew-carpenter-12885
10/24/2022, 2:48 PMkind-hamburger-15227
10/24/2022, 8:44 PMfew-carpenter-12885
10/24/2022, 8:50 PMkind-hamburger-15227
10/25/2022, 4:21 PM