Open sebbri-aws opened 11 months ago
For user who doesn't want to or can't use Docker for deploying the demo, finch can be used instead by replacing 'docker' by 'finch' in the lineage_api.tf at line 21.
The replacing block should look like this :
resource "null_resource" "ecr_image" { triggers = { src_hash = data.archive_file.lambda.output_sha } provisioner "local-exec" { command = <<EOF aws ecr get-login-password --region ${local.region} \ | finch login --username AWS --password-stdin ${local.account_id}.dkr.ecr.${local.region}.amazonaws.com cd ${path.module}/src/lambda finch build -t ${aws_ecr_repository.repo.repository_url}:${local.ecr_image_tag} --platform=linux/amd64 . finch push ${aws_ecr_repository.repo.repository_url}:${local.ecr_image_tag} EOF } }
The Finch service has to be launched first by the following command : finch vm init
finch vm init
For user who doesn't want to or can't use Docker for deploying the demo, finch can be used instead by replacing 'docker' by 'finch' in the lineage_api.tf at line 21.
The replacing block should look like this :
The Finch service has to be launched first by the following command :
finch vm init