@jaypie/mcp 0.8.39 → 0.8.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ import { gt } from 'semver';
|
|
|
9
9
|
/**
|
|
10
10
|
* Docs Suite - Documentation services (skill, version, release_notes)
|
|
11
11
|
*/
|
|
12
|
-
const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.
|
|
12
|
+
const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.40#d3b7b298"
|
|
13
13
|
;
|
|
14
14
|
const __filename$1 = fileURLToPath(import.meta.url);
|
|
15
15
|
const __dirname$1 = path.dirname(__filename$1);
|
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.49
|
|
3
|
+
date: 2026-04-18
|
|
4
|
+
summary: Consolidate JaypieHostedZone Route53 query log resource policy into a single stack-level singleton
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `JaypieHostedZone` no longer creates a per-zone `AWS::Logs::ResourcePolicy`. A single stack-level `CfnResourcePolicy` with a wildcard resource ARN (`arn:<partition>:logs:<region>:<account>:log-group:/aws/route53/*:*`) now grants Route53 permission to write query logs to every zone in the stack.
|
|
10
|
+
- New `queryLoggingPolicy?: boolean` prop (default `true`). Set to `false` to skip the managed policy when provisioning an account-wide policy externally (useful for accounts with many small stacks each owning a hosted zone).
|
|
11
|
+
- New `ensureRoute53QueryLoggingPolicy(scope)` helper exported from `@jaypie/constructs` for custom constructs that need the same stack-level singleton.
|
|
12
|
+
|
|
13
|
+
## Motivation
|
|
14
|
+
|
|
15
|
+
CloudWatch Logs enforces a 10-resource-policy-per-region account quota. The previous per-zone `grantWrite` call produced one policy per zone, so the 11th zone in a region failed to deploy with `ServiceLimitExceeded`.
|
|
16
|
+
|
|
17
|
+
## Deploy Caveats
|
|
18
|
+
|
|
19
|
+
- **Under the limit (< 10 zones per stack)**: CloudFormation swaps N per-zone policies for 1 consolidated policy on next deploy. A brief gap in Route53 query-log permissions is possible during the change window.
|
|
20
|
+
- **At or past the 10-per-region limit**: CloudFormation does not guarantee delete-before-create across unrelated logical IDs. Creating the new consolidated policy may fail while the legacy per-zone policies still exist. Before deploying, manually delete one or more legacy `/aws/route53/*` resource policies to create headroom, then deploy.
|
|
21
|
+
- **Many small stacks (1 zone each)**: The stack-level singleton still yields N policies across N stacks. Set `queryLoggingPolicy: false` on every zone and manage one account-wide policy externally.
|
|
22
|
+
|
|
23
|
+
Closes #311.
|