Skip to content

Commit a88ec83

Browse files
committed
chore(makefiles): Update SAM template file paths for service deployments
1 parent 5b6ab0f commit a88ec83

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
@@ -17,7 +17,7 @@ help: ## Show available commands
1717
build: ## Build the application
1818
@echo "Building TypeScript application..."
1919
@npm install
20-
@sam build --template-file infrastructure/approvals-service.yaml
20+
@sam build --template-file infrastructure/approvals-service/template.yaml
2121

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

unicorn_contracts/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ help: ## Show available commands
1717
build: ## Build the application
1818
@echo "Building TypeScript application..."
1919
@npm install
20-
@sam build --template-file infrastructure/contracts-service.yaml
20+
@sam build --template-file infrastructure/contracts-service/template.yaml
2121

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

unicorn_web/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ help: ## Show available commands
1717
build: ## Build the application
1818
@echo "Building TypeScript application..."
1919
@npm install
20-
@sam build --template-file infrastructure/web-service.yaml
20+
@sam build --template-file infrastructure/web-service/template.yaml
2121

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

0 commit comments

Comments
 (0)