From 9dfccfa3db95c446d7940b1d6e21f79efffa824d Mon Sep 17 00:00:00 2001 From: Michael McGuinness Date: Mon, 7 Oct 2024 17:21:20 +0100 Subject: [PATCH] location --- bitbucket-pipelines.yml | 4 ++++ textract-pipeline/terraform/main.tf | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 080f666..1782cc8 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -141,6 +141,10 @@ pipelines: - python -m black --check . caches: - pip + - stage: + name: deployment-dev + deployment: development + steps: *deployment-steps branches: main: - step: diff --git a/textract-pipeline/terraform/main.tf b/textract-pipeline/terraform/main.tf index 19c061a..ab87600 100644 --- a/textract-pipeline/terraform/main.tf +++ b/textract-pipeline/terraform/main.tf @@ -139,7 +139,7 @@ resource "null_resource" "sync_config" { # doczyai-use2-d-infra-s3-textract-processing-001 # doczyai-use2-d-cn1-s3-textract-processing-001 - command = "aws s3 sync ./textract-pipeline/src/s3-files s3://${replace(local.processing_s3_bucket_name, "infra", each.value.client_id)}" + command = "aws s3 sync ../src/s3-files s3://${replace(local.processing_s3_bucket_name, "infra", each.value.client_id)}" } }