copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Is it possible to use different platform for sidecar container?

Open MonuAnu opened this issue 2 years ago • 1 comments

Hello,

I have a scenario like my application container requires a platform linux/x86_64 but my sidecar container requires a platform linux/arm64 or linux/amd64.

I have tried below configuration. But it still takes default linux/x86_64 for sidecar container and I end up with exec format error. sidecars: typesense: image: 514235915148.dkr.ecr.eu-central-1.amazonaws.com/typesense:0.25.2 platform: linux/arm64 port: 8108

Is it possible to have different platforms? In the documentation I found that platform is top level field.

Thank you in advance.

MonuAnu avatar Feb 21 '24 17:02 MonuAnu

Hello @MonuAnu 👋🏼 It is not possible today to run the same ECS tasks with containers requiring different runtime platforms unfortunately :( All containers (your main container and the sidecars) are hosted on the same infra, hence their runtime platform configuration is shared.

Lou1415926 avatar Feb 26 '24 21:02 Lou1415926

This issue is stale because it has been open 60 days with no response activity. Remove the stale label, add a comment, or this will be closed in 14 days.

github-actions[bot] avatar Apr 27 '24 00:04 github-actions[bot]

This issue is closed due to inactivity. Feel free to reopen the issue if you have any further questions!

github-actions[bot] avatar May 11 '24 00:05 github-actions[bot]