We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f1908d commit e749b40Copy full SHA for e749b40
deploy/terraform/aws/lambda/main.tf
@@ -142,7 +142,7 @@ resource "null_resource" "configure_docker" {
142
always_run = timestamp()
143
}
144
provisioner "local-exec" {
145
- command = "aws ecr get-login-password --region ${var.aws_region} | docker login --username AWS --password-stdin ${data.aws_caller_identity.current.account_id}.dkr.ecr.${var.aws_region}.amazonaws.com"
+ command = "aws ecr get-login-password --region ${var.aws_region} --profile ${var.aws_profile} | docker login --username AWS --password-stdin ${data.aws_caller_identity.current.account_id}.dkr.ecr.${var.aws_region}.amazonaws.com"
146
147
depends_on = [
148
aws_ecr_repository.buz_repository
0 commit comments