Skip to content

Commit 81666f0

Browse files
committed
chore(makefiles): Update SAM template file paths for service deployments
1 parent aa6cfda commit 81666f0

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

unicorn_approvals/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build: ## Build the application
1818
@echo "Building Python application..."
1919
@uv sync --dev
2020
@uv export --no-hashes --format=requirements-txt --output-file=src/requirements.txt
21-
@sam build --template-file infrastructure/approvals-service.yaml
21+
@sam build --template-file infrastructure/approvals-service/template.yaml
2222

2323
deploy-domain: ## Deploy domain resources (EventBridge, Schema Registry)
2424
@echo "Deploying domain resources..."
@@ -35,7 +35,7 @@ deploy-domain: ## Deploy domain resources (EventBridge, Schema Registry)
3535
deploy-service: build ## Deploy service resources (Lambda, Step Functions, DynamoDB)
3636
@echo "Deploying service resources..."
3737
@sam deploy \
38-
--template-file infrastructure/approvals-service.yaml \
38+
--template-file infrastructure/approvals-service/template.yaml \
3939
--stack-name $(STACK_PREFIX)-approvals-service \
4040
--parameter-overrides Stage=$(STAGE) \
4141
--capabilities CAPABILITY_IAM CAPABILITY_AUTO_EXPAND \

unicorn_contracts/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build: ## Build the application
1818
@echo "Building Python application..."
1919
@uv sync --dev
2020
@uv export --no-hashes --format=requirements-txt --output-file=src/requirements.txt
21-
@sam build --template-file infrastructure/contracts-service.yaml
21+
@sam build --template-file infrastructure/contracts-service/template.yaml
2222

2323
deploy-domain: ## Deploy domain resources (EventBridge, Schema Registry)
2424
@echo "Deploying domain resources..."
@@ -46,7 +46,7 @@ deploy-schema: ## Deploy event schema
4646
deploy-service: build ## Deploy service resources (Lambda, API Gateway, DynamoDB)
4747
@echo "Deploying service resources..."
4848
@sam deploy \
49-
--template-file infrastructure/contracts-service.yaml \
49+
--template-file infrastructure/contracts-service/template.yaml \
5050
--stack-name $(STACK_PREFIX)-contracts-contracts-service \
5151
--parameter-overrides Stage=$(STAGE) \
5252
--capabilities CAPABILITY_IAM CAPABILITY_AUTO_EXPAND \

unicorn_web/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build: ## Build the application
1818
@echo "Building Python application..."
1919
@uv sync --dev
2020
@uv export --no-hashes --format=requirements-txt --output-file=src/requirements.txt
21-
@sam build --template-file infrastructure/web-service.yaml
21+
@sam build --template-file infrastructure/web-service/template.yaml
2222

2323
deploy-domain: ## Deploy domain resources (EventBridge, Schema Registry)
2424
@echo "Deploying domain resources..."
@@ -57,7 +57,7 @@ deploy-subscriptions: ## Deploy event subscriptions
5757
deploy-service: build ## Deploy web service
5858
@echo "Deploying web service..."
5959
@sam deploy \
60-
--template-file infrastructure/web-service.yaml \
60+
--template-file infrastructure/web-service/template.yaml \
6161
--stack-name $(STACK_PREFIX)-web-service \
6262
--parameter-overrides Stage=$(STAGE) \
6363
--capabilities CAPABILITY_IAM CAPABILITY_AUTO_EXPAND \

0 commit comments

Comments
 (0)