-
As the title says, I just got a new mac with a new architecture in the chip. I'm unable to deploy my existing stack from my new machine. The deployments take a while, then rollback. When I go to Cloudwatch, I see errors indicating that the amd64 EC2 image cannot execute Testing locally it looks like all I need to do is pass Can anyone share how I can do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @avisser,
Regards, |
Beta Was this translation helpful? Give feedback.
All of the recipes for container-based services have a "Docker Build Args" option setting where you should be able to specify
--platform=linux/amd64
This is available under the "more" command in the CLI which displays the advanced settings:
Or can be specified in the Deployment Settings File if you're not deploying interactively. Here's an example we use for testing with the ECR recipe:
aws-dotnet-deploy/test/AWS.Deploy.CLI.Common.UnitTests/ConfigFileDeployment/TestFiles/SettingsSnapshot_PushImageECR.json
Line 7 in ff86c9c