mirror of
https://github.com/Sea-Haven-Industries/seahaven-door-unlock-api.git
synced 2026-09-30 02:33:11 +00:00
docs(readme): record HCP VCS trigger patterns (PLAT-183) (#90)
This commit is contained in:
parent
e4083558e1
commit
9063d0f438
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||

|
||||

|
||||
|
||||
AWS Lambda middleware that allows Yealink desk phones to unlock the front door and manage lockdown profiles via LenelS2 Elements. Target account is **seahaven-prod** (`011934824531`) under HCP Terraform workspace `seahaven-door-unlock-api-prod`.
|
||||
AWS Lambda middleware that allows Yealink desk phones to unlock the front door and manage lockdown profiles via LenelS2 Elements. Target account is **seahaven-prod** (`011934824531`) under HCP Terraform workspace `seahaven-door-unlock-api-prod`. The workspace working directory is `terraform/`. VCS file triggers use `trigger-patterns = [terraform/**/*, lambda/**/*]` because `terraform/build_packages.sh` bundles handlers from `lambda/`. A `lambda/`-only merge must still queue a run.
|
||||
|
||||
```
|
||||
Yealink T54W/T57W/T58W → HTTPS GET (?token=) → API Gateway (token authorizer) → Lambda → LenelS2 Elements API
|
||||
|
|
@ -91,7 +91,7 @@ Phone LED/Push XML is not in the live path. `/seahaven/door-unlock/phone-ips` an
|
|||
|
||||
- **`.github/workflows/ci.yaml`** — on pull requests to `main`, runs TypeScript tests. CDK synth is off.
|
||||
- **`.github/workflows/ci-terraform.yaml`** — on pull requests that touch `terraform/`, runs `terraform fmt`, `init -backend=false`, and `validate`.
|
||||
- **HCP Terraform** — workspace `seahaven-door-unlock-api-prod` in project `seahaven-prod`. Manual apply. Auto-apply stays off until the stack is sealed.
|
||||
- **HCP Terraform** — workspace `seahaven-door-unlock-api-prod` in project `seahaven-prod`. Working directory `terraform/`. `trigger-patterns = [terraform/**/*, lambda/**/*]`. Manual apply. Auto-apply stays off until the stack is sealed.
|
||||
|
||||
Do not run `cdk deploy` against prod. The GitHub CDK deploy workflow is frozen.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue