Skip to content

Commit 2afa296

Browse files
chore: Delete Terraform examples
1 parent 829206f commit 2afa296

7 files changed

Lines changed: 0 additions & 368 deletions

File tree

.github/copilot-instructions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Structure
1111
- Writers: `src/writers/` (inherit from `Writer` base class)
1212
- Readers: `src/readers/` (read-only database access for stats)
1313
- Config: `conf/config.json`, `conf/access.json`, `conf/topic_schemas/*.json`
14-
- Production Terraform scripts are not part of this repository; `terraform_examples/` for reference configurations only
1514

1615
Python style
1716
- Python 3.13

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ __pycache__
55
/dependencies
66
/lambda_function.zip
77

8-
# Terraform Plan output files
98
*.sarif

README.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ EventGate receives JSON payloads for registered topics, authorizes the caller vi
3333
- Runtime-configurable access rules (local or S3)
3434
- API-discoverable schema catalogue
3535
- Pluggable writer initialization via `config.json`
36-
- Terraform IaC examples for AWS deployment (API Gateway + Lambda) in `terraform_examples/`
37-
- Supports both Zip-based and Container Image Lambda packaging (Container path enables custom `librdkafka` / SASL_SSL / Kerberos builds)
3836

3937
## Architecture
4038
High-level flow:
@@ -134,35 +132,6 @@ Environment variables:
134132
- `POSTGRES_SECRET_NAME` (optional) – AWS Secrets Manager secret name holding PostgreSQL connection credentials (host, port, database, user, password). Required for Postgres writer and stats reader.
135133
- `POSTGRES_SECRET_REGION` (optional) – AWS region of the Secrets Manager secret. Must be set together with `POSTGRES_SECRET_NAME`.
136134

137-
## Deployment
138-
Infrastructure-as-Code examples are provided in `terraform_examples/`. These are reference implementations that you can adapt to your environment. Variables are supplied via a `*.tfvars` file or CLI.
139-
140-
### Zip Lambda Package
141-
Use when no custom native libraries are needed.
142-
1. Run packaging script: `scripts/prepare.deplyoment.sh` (downloads deps + zips sources & config)
143-
2. Upload resulting zip to S3
144-
3. Provide Terraform variables:
145-
- `aws_region`
146-
- `vpc_id`
147-
- `vpc_endpoint`
148-
- `resource_prefix` (prepended to created resource names)
149-
- `lambda_role_arn`
150-
- `lambda_vpc_subnet_ids`
151-
- `lambda_package_type = "Zip"`
152-
- `lambda_src_s3_bucket`
153-
- `lambda_src_s3_key`
154-
4. `terraform apply`
155-
156-
### Container Image Lambda
157-
Use when Kafka access needs Kerberos / SASL_SSL or custom `librdkafka` build.
158-
1. Build image (see comments at top of `Dockerfile`)
159-
2. Push to ECR
160-
3. Terraform variables:
161-
- Same networking / role vars as above
162-
- `lambda_package_type = "Image"`
163-
- `lambda_src_ecr_image` (ECR image reference)
164-
4. `terraform apply`
165-
166135
## Local Development & Testing
167136

168137
| Purpose | Relative link |

terraform_examples/api_gateway.tf

Lines changed: 0 additions & 227 deletions
This file was deleted.

terraform_examples/lambda.tf

Lines changed: 0 additions & 92 deletions
This file was deleted.

terraform_examples/provider.tf

Lines changed: 0 additions & 3 deletions
This file was deleted.

terraform_examples/variables.tf

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)