From 233395d276d97b9349c3964405cc38f2823f14d9 Mon Sep 17 00:00:00 2001 From: Simon Liu Date: Mon, 8 Apr 2024 13:33:16 -0700 Subject: [PATCH] update ecr command --- terraform/forge_ecr.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/forge_ecr.tf b/terraform/forge_ecr.tf index 386fae8..e63bf84 100644 --- a/terraform/forge_ecr.tf +++ b/terraform/forge_ecr.tf @@ -24,7 +24,7 @@ resource "null_resource" "upload_ecr_image" { # Docker login echo ${data.aws_ecr_authorization_token.token.password} | docker login -u AWS --password-stdin ${data.aws_ecr_authorization_token.token.proxy_endpoint} # Docker image upload - docker pull --platform=linux/arm/v7 ${var.lambda_container_image_uri} + docker pull ${var.lambda_container_image_uri} docker tag ${var.lambda_container_image_uri} ${aws_ecr_repository.lambda-image-repo.repository_url}:${local.ecr_image_tag} docker push ${aws_ecr_repository.lambda-image-repo.repository_url}:${local.ecr_image_tag} EOF