sparse-intern-71089
03/08/2022, 4:25 PMjolly-alligator-19698
03/08/2022, 4:51 PMpulumi.all([subnetIds.ids, taskDefinition.taskDefinition.arn, deadLetterQueue.arn])
.apply(([subnetIds, taskDefinitionArn, deadLetterQueueArn]) => console.log([subnetIds, taskDefinitionArn, deadLetterQueueArn]))
console.log(securityGroupId)
yields
sg-<redacted>
[
[ 'subnet-<redacted>', 'subnet-<redacted>' ],
'arn:aws:ecs:us-east-2:<redacted>:task-definition/task-definition-<redacted>:3',
'arn:aws:sqs:us-east-2:<redacted>:<redacted>'
]
stocky-restaurant-98004
03/08/2022, 4:52 PMstocky-restaurant-98004
03/08/2022, 4:53 PMarn
- that should point to the target ECS cluster.stocky-restaurant-98004
03/08/2022, 4:54 PMstocky-restaurant-98004
03/08/2022, 4:56 PMjolly-alligator-19698
03/08/2022, 4:57 PMjolly-alligator-19698
03/08/2022, 4:57 PMconst eventRule = new aws.cloudwatch.EventRule("event-rule", {
name: `${pulumi.getProject()}-event-rule`,
description: genericDescription,
eventBusName: "default",
scheduleExpression: "cron(1 0 * * ? *)",
}, {provider: targetAwsProvider});
jolly-alligator-19698
03/08/2022, 4:58 PMeventTarget.d.ts
docs define arn
as ARN of the SQS queue specified as the target for the dead-letter queue.
jolly-alligator-19698
03/08/2022, 5:05 PMarn
to the cluster arn allowed the resource creation to finish. Thank you @stocky-restaurant-98004stocky-restaurant-98004
03/08/2022, 5:06 PM