Object resource conversion error using Ec2TaskDefinition.from_ec2_task_definition_arn with ApplicationLoadBalancedEc2Service #8499
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
bug
This issue is a bug.
language/python
Related to Python bindings
Reproduction Steps
python code:
Error Log
Environment
Other
Looks like during synthesis, the task definition object is a core.resource and cannot be converted to what is needed for the pattern.
I feel like this is a bug. I asked around various forums/slack channels but no answers as yet.
It looks like i'm using this correctly, but honestly this is the first time i'm using this construct/pattern and there are no real good examples on using this i can get a bearing on( or at least any that i can find). So it's entirely possible i'm not using this right.
When i comment out the service pattern, things synthesize with no problems.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: