Skip to content

Commit c6bd75e

Browse files
committed
Misc changes floating aroudn
Signed-off-by: R. Tyler Croy <rtyler@buoyantdata.com>
1 parent c09a5b9 commit c6bd75e

3 files changed

Lines changed: 56 additions & 1 deletion

File tree

Makefile

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Project Makefile with Terraform support
12
include .base.mk
23

34
.PHONY: all build build-release check test clean deploy
@@ -25,3 +26,52 @@ clean: ## Clean up resources from build
2526

2627
perf: ## Run performance benchmarks
2728
(cd crates/oxbow && make bench)
29+
30+
# Terraform targets
31+
.PHONY: terraform-init
32+
terraform-init:
33+
@echo "=== Initializing Terraform ==="
34+
@make -C terraform init
35+
36+
.PHONY: terraform-validate
37+
terraform-validate:
38+
@echo "=== Validating Terraform ==="
39+
@make -C terraform validate
40+
41+
.PHONY: terraform-test
42+
terraform-test:
43+
@echo "=== Testing Terraform modules ==="
44+
@make -C terraform test
45+
46+
.PHONY: terraform-clean
47+
terraform-clean:
48+
@echo "=== Cleaning Terraform ==="
49+
@make -C terraform clean
50+
51+
.PHONY: terraform-deploy-simple
52+
tf-deploy-simple:
53+
@echo "=== Deploying oxbow-simple ==="
54+
@make -C terraform deploy-simple
55+
56+
.PHONY: terraform-destroy-simple
57+
tf-destroy-simple:
58+
@echo "=== Destroying oxbow-simple ==="
59+
@make -C terraform destroy-simple
60+
61+
.PHONY: terraform-full-test
62+
tf-full-test:
63+
@echo "=== Running full Terraform test ==="
64+
@make -C terraform full-test
65+
66+
.PHONY: terraform-all
67+
terraform-all: terraform-init terraform-validate terraform-test
68+
69+
.PHONY: terraform-full-test
70+
tf-full-test:
71+
@echo "=== Running full Terraform test ==="
72+
@make -C terraform full-test
73+
74+
.PHONY: build-deploy-test
75+
build-deploy-test:
76+
@echo "=== Building lambdas and testing Terraform ==="
77+
@make build-release && make terraform-all

crates/oxbow-sqs/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ stats_alloc = "0.1.10"
2626

2727
[dev-dependencies]
2828
serial_test = "3"
29+
criterion = "0.5"
30+
31+
[[bench]]
32+
name = "memory_benchmark"
33+
harness = false

deployment/advanced.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ resource "aws_lambda_function" "group-events" {
5959

6060
# Explicit logging configuration for CloudWatch
6161
logging_config {
62-
log_group = "/aws/lambda/group-events"
62+
log_group = "/aws/lambda/group-events"
6363
log_format = "Text"
6464
}
6565
}

0 commit comments

Comments
 (0)