billowy-vase-13469
08/25/2023, 10:41 AMexecutionRole: {
roleArn: updaterExecutionRole.arn,
}
Deploying it fails with the following error: Error: failed to register new resource Pricing-UpdaterTaskDef [awsx:ecs:FargateTaskDefinition]: 2 UNKNOWN: Can't define role args if specified an existing role ARN
.
The only other property I have on the task definition is the container, so I'm not specifying any role args.
I tried settings skip: true
in the executionRole properties, and when in combination with roleArn it still fails with the same error. If I delete roleArn and just set skip:true I can deploy, but then I'm missing the role. So redeploying it would be a solution, but I'd like the CI process to handle it in one-go to avoid down time.
Do you have any solutions to this? Should I raise an issue on GitHub?billowy-army-68599
billowy-vase-13469
08/29/2023, 9:07 PM