Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
8f8da8e
-> utilities/
JamesW1-NHS Oct 8, 2025
807309b
utilities: package.json
JamesW1-NHS Oct 8, 2025
626202b
utilities: esc-proxies-containers
JamesW1-NHS Oct 8, 2025
93f74fe
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 8, 2025
475d241
utilities: esc-proxies-containers II
JamesW1-NHS Oct 8, 2025
20bc94f
utilities: azure build
JamesW1-NHS Oct 8, 2025
25301f5
tests
JamesW1-NHS Oct 9, 2025
f2c048b
utils/resource.py pathname
JamesW1-NHS Oct 9, 2025
ccd5f19
utils/resource.py pathname II
JamesW1-NHS Oct 9, 2025
b291e26
utils/resource.py pathname III
JamesW1-NHS Oct 9, 2025
cebbafb
pipelines/azure
JamesW1-NHS Oct 9, 2025
9a4f147
Revert "pipelines/azure"
JamesW1-NHS Oct 9, 2025
0369c66
tests/tests -> sample_tests
JamesW1-NHS Oct 9, 2025
42400cd
temporary_sandbox -> infrastructure/
JamesW1-NHS Oct 9, 2025
80a9ae6
empty commit: see https://github.com/orgs/community/discussions/59774
JamesW1-NHS Oct 9, 2025
46265fb
empty commit...
JamesW1-NHS Oct 9, 2025
99e1a07
grafana
JamesW1-NHS Oct 9, 2025
83ee6e1
dependabot fix: sandbox
JamesW1-NHS Oct 9, 2025
66ab396
dependabot fix: grafana
JamesW1-NHS Oct 9, 2025
4850358
terraform_aws_backup
JamesW1-NHS Oct 9, 2025
7561413
sonar-project.properties
JamesW1-NHS Oct 9, 2025
d38e5e1
proxies
JamesW1-NHS Oct 9, 2025
20944dc
terraform
JamesW1-NHS Oct 10, 2025
9fab33a
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 10, 2025
adbdd81
rm minified
JamesW1-NHS Oct 10, 2025
3324feb
prettier
JamesW1-NHS Oct 10, 2025
6417d4f
terraform path fix
JamesW1-NHS Oct 10, 2025
c5cb960
fix path
JamesW1-NHS Oct 10, 2025
735d7df
cd terraform
JamesW1-NHS Oct 10, 2025
f6f1dbf
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 10, 2025
18d88f0
mesh_infra
JamesW1-NHS Oct 10, 2025
4ca87be
infra (untested)
JamesW1-NHS Oct 10, 2025
86f8fab
sonar
JamesW1-NHS Oct 10, 2025
3daeb9a
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 13, 2025
e2a7763
infra->global; mesh_infra->mesh
JamesW1-NHS Oct 13, 2025
b8cf27c
lint
JamesW1-NHS Oct 13, 2025
0a8e0c4
remove temporary_sandbox
JamesW1-NHS Oct 14, 2025
839b1e9
remove temporary_sandbox II
JamesW1-NHS Oct 14, 2025
4d9918a
remove temporary_sandbox III
JamesW1-NHS Oct 14, 2025
7d1603c
->/sandbox
JamesW1-NHS Oct 14, 2025
ac769aa
->/sandbox II
JamesW1-NHS Oct 14, 2025
2863a4e
->/specification
JamesW1-NHS Oct 14, 2025
d41c277
global->account
JamesW1-NHS Oct 14, 2025
1151480
restored ../../../specification/...
JamesW1-NHS Oct 14, 2025
4b16def
terraform->instance
JamesW1-NHS Oct 14, 2025
25a73fa
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 14, 2025
eeb0f44
sonar
JamesW1-NHS Oct 14, 2025
67972c3
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 15, 2025
8fd25f4
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 15, 2025
2c87b5d
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 20, 2025
1345a30
working-directory
JamesW1-NHS Oct 20, 2025
4f9c805
tfplan
JamesW1-NHS Oct 20, 2025
80ade5a
paths
JamesW1-NHS Oct 20, 2025
6ed8ce6
paths: quality_checks
JamesW1-NHS Oct 20, 2025
537ae66
paths: quality_checks II
JamesW1-NHS Oct 20, 2025
1438373
terraform fmt
JamesW1-NHS Oct 20, 2025
1793d5f
test paths
JamesW1-NHS Oct 20, 2025
6304670
test paths: run-e2e-tests
JamesW1-NHS Oct 20, 2025
0c29088
test paths II
JamesW1-NHS Oct 20, 2025
b9e2745
test paths: run-e2e-tests II
JamesW1-NHS Oct 20, 2025
3a85e06
test paths III
JamesW1-NHS Oct 20, 2025
8759869
Merge branch 'master' into VED-738-refactor
JamesW1-NHS Oct 20, 2025
1ed2ec5
e2e/test_proxy
JamesW1-NHS Oct 20, 2025
cf3bda9
Merge branch 'VED-738-refactor' of github.com:NHSDigital/immunisation…
JamesW1-NHS Oct 20, 2025
7301de1
destroy_unused_workspaces
JamesW1-NHS Oct 20, 2025
76e1905
docker_file_path
JamesW1-NHS Oct 20, 2025
858487a
terraform fmt
JamesW1-NHS Oct 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 7 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ updates:
- "/lambdas/ack_backend"
- "/delta_backend"
- "/filenameprocessor"
- "/grafana/non-prod/docker"
- "/infrastructure/grafana/non-prod/docker"
- "/mesh_processor"
- "/recordprocessor"
- "/sandbox"
- "/temporary_sandbox"
schedule:
interval: "daily"
open-pull-requests-limit: 1
Expand Down Expand Up @@ -52,8 +51,8 @@ updates:
- "/backend"
- "/batch_processor_filter"
- "/delta_backend"
- "/e2e"
- "/e2e_batch"
- "/tests/e2e"
- "/tests/e2e_batch"
- "/filenameprocessor"
- "/mesh_processor"
- "/recordprocessor"
Expand All @@ -73,10 +72,10 @@ updates:

- package-ecosystem: "terraform"
directories:
- "/grafana/non-prod/terraform"
- "/infra"
- "/terraform"
- "/terraform_aws_backup/**"
- "/infrastructure/grafana/non-prod/terraform"
- "/infrastructure/account"
- "/infrastructure/instance"
- "/infrastructure/terraform_aws_backup/**"
schedule:
interval: "daily"
open-pull-requests-limit: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: pip install semver

- name: Set SPEC_VERSION env var
run: echo ::set-env name=SPEC_VERSION::$(python scripts/calculate_version.py)
run: echo ::set-env name=SPEC_VERSION::$(python utilities/scripts/calculate_version.py)
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@ jobs:
terraform_version: "1.12.2"

- name: Terraform Init
working-directory: terraform
working-directory: infrastructure/instance
run: make init

- name: Terraform Plan
working-directory: terraform
working-directory: infrastructure/instance
run: make plan-ci

- name: Save Terraform Plan
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: ${{ env.ENVIRONMENT }}-${{ env.SUB_ENVIRONMENT }}-tfplan
path: terraform/tfplan
path: infrastructure/instance/tfplan

terraform-apply:
needs: terraform-plan
Expand All @@ -108,14 +108,14 @@ jobs:
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
with:
name: ${{ env.ENVIRONMENT }}-${{ env.SUB_ENVIRONMENT }}-tfplan
path: terraform
path: infrastructure/instance

- name: Terraform Init
working-directory: terraform
working-directory: infrastructure/instance
run: make init

- name: Terraform Apply
working-directory: terraform
working-directory: infrastructure/instance
run: |
make apply-ci
echo "ID_SYNC_QUEUE_ARN=$(make -s output name=id_sync_queue_arn)" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
terraform_version: "1.12.2"

- name: Terraform Init and extract MNS SQS QUEUE ARN
working-directory: terraform
working-directory: infrastructure/instance
run: |
make init apigee_environment=$APIGEE_ENVIRONMENT environment=$BACKEND_ENVIRONMENT sub_environment=$BACKEND_SUB_ENVIRONMENT
make workspace apigee_environment=$APIGEE_ENVIRONMENT environment=$BACKEND_ENVIRONMENT sub_environment=$BACKEND_SUB_ENVIRONMENT
Expand Down Expand Up @@ -71,6 +71,6 @@ jobs:
make unsubscribe

- name: Terraform Destroy
working-directory: terraform
working-directory: infrastructure/instance
run: |
make destroy apigee_environment=$APIGEE_ENVIRONMENT environment=$BACKEND_ENVIRONMENT sub_environment=$BACKEND_SUB_ENVIRONMENT
8 changes: 4 additions & 4 deletions .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
working-directory: lambdas/ack_backend
id: acklambda
env:
PYTHONPATH: ${{ env.LAMBDA_PATH }}/ack_backend/src:tests:${{ env.SHARED_PATH }}/src
PYTHONPATH: ${{ env.LAMBDA_PATH }}/ack_backend/src:${{ env.LAMBDA_PATH }}/ack_backend/tests:${{ env.SHARED_PATH }}/src
continue-on-error: true
run: |
poetry install
Expand All @@ -186,7 +186,7 @@ jobs:
working-directory: lambdas/mns_subscription
id: mns_subscription
env:
PYTHONPATH: ${{ env.LAMBDA_PATH }}/mns_subscription/src:${{ env.SHARED_PATH }}/src
PYTHONPATH: ${{ env.LAMBDA_PATH }}/mns_subscription/src:${{ env.LAMBDA_PATH }}/mns_subscription/tests:${{ env.SHARED_PATH }}/src
continue-on-error: true
run: |
poetry install
Expand All @@ -198,7 +198,7 @@ jobs:
working-directory: lambdas/redis_sync
id: redis_sync
env:
PYTHONPATH: ${{ env.LAMBDA_PATH }}/redis_sync/src:${{ env.SHARED_PATH }}/src
PYTHONPATH: ${{ env.LAMBDA_PATH }}/redis_sync/src:${{ env.LAMBDA_PATH }}/redis_sync/tests:${{ env.SHARED_PATH }}/src
continue-on-error: true
run: |
poetry install
Expand All @@ -220,7 +220,7 @@ jobs:
working-directory: lambdas/id_sync
id: id_sync
env:
PYTHONPATH: ${{ env.LAMBDA_PATH }}/id_sync/src:${{ env.SHARED_PATH }}/src
PYTHONPATH: ${{ env.LAMBDA_PATH }}/id_sync/src:${{ env.LAMBDA_PATH }}/id_sync/tests:${{ env.SHARED_PATH }}/src
continue-on-error: true
run: |
poetry install
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,17 @@ jobs:

- name: Terraform Init
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
working-directory: terraform
working-directory: infrastructure/instance
run: make init

- name: Set Terraform workspace
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
working-directory: terraform
working-directory: infrastructure/instance
run: make workspace

- name: Read Terraform outputs
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
working-directory: terraform
working-directory: infrastructure/instance
run: |
echo "IMMS_DELTA_TABLE_NAME=$(make -s output name=imms_delta_table_name)" >> $GITHUB_ENV
echo "AWS_DOMAIN_NAME=$(make -s output name=service_domain_name)" >> $GITHUB_ENV
Expand All @@ -157,15 +157,15 @@ jobs:
with:
python-version: 3.11
cache: "poetry"
cache-dependency-path: "e2e/poetry.lock"
cache-dependency-path: tests/e2e/poetry.lock

- name: Install e2e test dependencies
working-directory: e2e
working-directory: tests/e2e
run: poetry install --no-root

- name: Get Apigee access token
if: ${{ vars.RUN_FULL_E2E_TESTS == 'true' }}
working-directory: e2e
working-directory: tests/e2e
env:
APIGEE_PASSWORD: ${{ secrets.APIGEE_PASSWORD }}
APIGEE_BASIC_AUTH_TOKEN: ${{ secrets.APIGEE_BASIC_AUTH_TOKEN }}
Expand All @@ -187,17 +187,17 @@ jobs:

- name: Run proxy e2e test suite
if: ${{ vars.RUN_PROXY_E2E_TESTS == 'true' }}
working-directory: e2e
working-directory: tests/e2e
run: poetry run python -m unittest test_proxy

- name: Run sandbox e2e test suite
if: ${{ vars.RUN_SANDBOX_E2E_TESTS == 'true' }}
working-directory: e2e
working-directory: tests/e2e
run: poetry run python -m unittest test_proxy.TestProxyHealthcheck

- name: Run full e2e test suite
if: ${{ vars.RUN_FULL_E2E_TESTS == 'true' }}
working-directory: e2e
working-directory: tests/e2e
run: poetry run python -m unittest

batch-e2e-tests:
Expand All @@ -223,14 +223,14 @@ jobs:
with:
python-version: 3.11
cache: "poetry"
cache-dependency-path: "e2e_batch/poetry.lock"
cache-dependency-path: tests/e2e_batch/poetry.lock

- name: Install e2e test dependencies
working-directory: e2e_batch
working-directory: tests/e2e_batch
run: poetry install --no-root

- name: Run batch e2e test suite
working-directory: e2e_batch
working-directory: tests/e2e_batch
env:
ENVIRONMENT: ${{ inputs.sub_environment }}
run: poetry run python -m unittest -c -v
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ __pycache__/
.envrc
smoketest-report.xml
lambda_typescript/**/*.js
terraform/zips
instance/zips
.dir-locals.el
*.pyc
.python-version
Expand Down
4 changes: 2 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

# We hit compile errors in Apigee if these are auto formatted
# TODO - investigate
/proxies/live/apiproxy/resources/jsc/
/proxies/sandbox/apiproxy/resources/jsc/
/infrastructure/proxies/live/apiproxy/resources/jsc/
/infrastructure/proxies/sandbox/apiproxy/resources/jsc/
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SHELL=/usr/bin/env bash -euo pipefail

PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS = backend batch_processor_filter delta_backend filenameprocessor mesh_processor recordprocessor lambdas/ack_backend lambdas/redis_sync lambdas/id_sync lambdas/mns_subscription lambdas/shared
PYTHON_PROJECT_DIRS = e2e e2e_batch quality_checks $(PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS)
PYTHON_PROJECT_DIRS = tests/e2e tests/e2e_batch quality_checks $(PYTHON_PROJECT_DIRS_WITH_UNIT_TESTS)

.PHONY: install lint format format-check clean publish build-proxy release initialise-all-python-venvs update-all-python-dependencies run-all-python-unit-tests build-all-docker-images

Expand Down Expand Up @@ -33,10 +33,10 @@ publish: clean

#Runs build proxy script
build-proxy:
scripts/build_proxy.sh
utilities/scripts/build_proxy.sh

#Files to loop over in release
_dist_include="poetry.toml Makefile build/. specification sandbox scripts"
_dist_include="poetry.toml Makefile build/. specification sandbox utilities/scripts"

#Create /dist/ sub-directory and copy files into directory
#Ensure full dir structure is preserved for Lambdas
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ See https://nhsd-confluence.digital.nhs.uk/display/APM/Glossary.

| Folder | Description |
| ---------------------- | ------------------------------------------------------------------------------------------------------ |
| `infra` | Base infrastructure components. |
| `account` | Base infrastructure components. |
| `grafana` | Terraform configuration for Grafana, built on top of core infra. |
| `terraform` | Core Terraform infrastructure code. This is run in each PR and sets up lambdas associated with the PR. |
| `terraform_sandbox` | Sandbox environment for testing infrastructure changes. |
| `instance` | Core Terraform infrastructure code. This is run in each PR and sets up lambdas associated with the PR. |
| `terraform_aws_backup` | Streamlined backup processing with AWS. |
| `proxies` | Apigee API proxy definitions. |

Expand Down Expand Up @@ -251,7 +250,8 @@ run a different set of tests. To do this:
- In Project Structure add an existing virtualenv SDK for `.direnv/python-x.x.x/bin/python`.
- Set the project SDK and the default root module SDK to the one created above.
- Add `tests` as sources.
- Add `.direnv`, `terraform/.terraform`, and `terraform/build` as exclusions if they're not already.
- Add `.direnv`, `infrastructure/instance/.terraform`, and `infrastructure/instance/build`
as exclusions if they're not already.
- Add another existing virtualenv SDK for `backend/.direnv/python-x.x.x/bin/python`.
- Import a module pointed at the `backend` directory, set the SDK created above.
- Add the `src` and `tests` directories as sources.
Expand Down
12 changes: 6 additions & 6 deletions README.specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ This is a specification for the _immunisation-fhir-api_ API.

- `specification/` This [Open API Specification](https://swagger.io/docs/specification/about/) describes the endpoints, methods and messages exchanged by the API. Use it to generate interactive documentation; the contract between the API and its consumers.
- `sandbox/` This NodeJS application implements a mock implementation of the service. Use it as a back-end service to the interactive documentation to illustrate interactions and concepts. It is not intended to provide an exhaustive/faithful environment suitable for full development and testing.
- `scripts/` Utilities helpful to developers of this specification.
- `proxies/` Live (connecting to another service) and sandbox (using the sandbox container) Apigee API Proxy definitions.
- `utilities/scripts/` Utilities helpful to developers of this specification.
- `infrastructure/proxies/` Live (connecting to another service) and sandbox (using the sandbox container) Apigee API Proxy definitions.

Consumers of the API will find developer documentation on the [NHS Digital Developer Hub](https://digital.nhs.uk/developer).

Expand Down Expand Up @@ -129,7 +129,7 @@ The `project.yml` file needs to be populated with your service names to make the

`/azure/templates`: Here you can define reusable actions, such as running tests, and call these actions during Azure Devops pipelines. 

#### `/proxies`:
#### `infrastructure/proxies`:

This folder contains files relating to your Apigee API proxy.

Expand All @@ -146,16 +146,16 @@ See the APM confluence for more information on how the [\_ping](https://nhsd-con

`/targets`: The XMLs within these folders set up target definitions which allow connections to external target servers. The sandbox target definition is implemented to route to the sandbox target server (code for this sandbox is found under /sandbox of this template repo). For more info on setting up a target server see the [API Producer Zone confluence](https://nhsd-confluence.digital.nhs.uk/display/APM/Setting+up+a+target+server)

#### `/sandbox`:
#### `sandbox`:

This folder contains a template for a sandbox API. This example is a NodeJs application running in Docker. The application handles a few simple endpoints such as: /\_ping, /health, /\_status, /hello and some logging logic.
For more information about building sandbox APIs see the [API Producer Zone confluence](https://nhsd-confluence.digital.nhs.uk/display/APM/Setting+up+your+API+sandbox).

#### `/scripts`:
#### `utilities/scripts`:

Contains useful scripts that are used throughout the project, for example in Makefile and Github workflows

#### `/specification`:
#### `specification`:

Create an OpenAPI Specification to document your API. For more information about developing specifications see the [API Producer Zone confluence](https://nhsd-confluence.digital.nhs.uk/display/APM/Documenting+your+API).

Expand Down
4 changes: 2 additions & 2 deletions immunisation-fhir-api.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"path": "mesh_processor",
},
{
"path": "e2e",
"path": "tests/e2e",
},
{
"path": "e2e_batch",
"path": "tests/e2e_batch",
},
{
"path": "lambdas/ack_backend",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions terraform/Makefile → infrastructure/instance/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ destroy: workspace
output:
$(tf_cmd) output -raw $(name)

#Make lambda zip file in /terraform/zips directory. Whenever code gets changed in lamdba_typescript directory , new zip file gets uploaded to s3. For local,you can you this make target
#Make lambda zip file in /infrastructure/instance/zips directory. Whenever code gets changed in lamdba_typescript directory , new zip file gets uploaded to s3. For local,you can you this make target
lambda-zip:
cd ../lambda_typescript && \
chmod +x ./deploy.sh && \
./deploy.sh

#Make catch-all-lambda zip file in /terraform/zips directory. Whenever code gets changed in lamdba_typescript directory , new zip file gets uploaded to s3. For local,you can you this make target
#Make catch-all-lambda zip file in /infrastructure/instance/zips directory. Whenever code gets changed in lamdba_typescript directory , new zip file gets uploaded to s3. For local,you can you this make target
catch-all-zip:
cd ../catch_all_lambda && \
chmod +x ./deploy.sh && \
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Define the directory containing the Docker image and calculate its SHA-256 hash for triggering redeployments
locals {
ack_lambda_dir = abspath("${path.root}/../lambdas/ack_backend")
ack_lambda_dir = abspath("${path.root}/../../lambdas/ack_backend")

ack_lambda_files = fileset(local.ack_lambda_dir, "**")

Expand Down Expand Up @@ -43,7 +43,7 @@ module "ack_processor_docker_image" {

platform = "linux/amd64"
use_image_tag = false
source_path = abspath("${path.root}/../lambdas")
source_path = abspath("${path.root}/../../lambdas")
triggers = {
dir_sha = local.ack_lambda_dir_sha
shared_dir_sha = local.shared_dir_sha
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Define the directory containing the Docker image and calculate its SHA-256 hash for triggering redeployments
locals {
batch_processor_filter_lambda_dir = abspath("${path.root}/../batch_processor_filter")
batch_processor_filter_lambda_dir = abspath("${path.root}/../../batch_processor_filter")
batch_processor_filter_lambda_files = fileset(local.batch_processor_filter_lambda_dir, "**")
batch_processor_filter_lambda_dir_sha = sha1(join("", [for f in local.batch_processor_filter_lambda_files : filesha1("${local.batch_processor_filter_lambda_dir}/${f}")]))
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/delta.tf → infrastructure/instance/delta.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
delta_lambda_dir = abspath("${path.root}/../delta_backend")
delta_lambda_dir = abspath("${path.root}/../../delta_backend")
delta_files = fileset(local.delta_lambda_dir, "**")
delta_dir_sha = sha1(join("", [for f in local.delta_files : filesha1("${local.delta_lambda_dir}/${f}")]))
function_name = "delta"
Expand Down
File renamed without changes.
Loading