sample-aws-pricing-calculator-mcp 1.3.4 → 1.3.5

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.
@@ -36,7 +36,8 @@
36
36
  "The dataTransferForEC2 field is a composite widget. Its value must be an array of transfer entries, each with entryType, value, unit, and a region field. Valid entryTypes: INBOUND, OUTBOUND, INTRA_REGION.",
37
37
  "Unit must be \"tb_month\" or \"gb_month\".",
38
38
  "OUTBOUND entries require a \"toRegion\" field — use \"External\" for internet or \"other\" for other AWS regions. INBOUND entries require a \"fromRegion\" field with the same options. INTRA_REGION requires neither.",
39
- "All three entryTypes (INBOUND, OUTBOUND, INTRA_REGION) must be present in the array even if their value is \"0\"."
39
+ "All three entryTypes (INBOUND, OUTBOUND, INTRA_REGION) must be present in the array even if their value is \"0\".",
40
+ "tenancy is a dropdown with exactly three valid values: \"shared\" (default — used automatically whenever tenancy is omitted), \"dedicated\", \"host\". There is no validations.required on it, so nothing errors if you omit it — but if the user asks for 'Dedicated Instances' or 'Dedicated Host' pricing and you don't explicitly set tenancy, the estimate silently prices as Shared instead (usually cheaper, and not what was asked for; no lint predicate catches this because the saved blob is structurally valid). tenancy also gates which Reserved Instance models are visible (see the Reserved/Convertible trap above) and, when tenancy is \"host\", EstimateBuilder auto-promotes the plain EBS storage fields (storageType, storageAmount, gp3Iops, gp3Throughput, iops, iops2, storageAmountIo2) into their *DH equivalents (storageTypeDH, storageAmountDH, gp3IopsDH, gp3ThroughputDH, iopsDH, iops2DH) and drops the plain fields from the saved blob — set the plain field names as usual, you don't need the *DH names yourself. Don't set both a plain field and its *DH counterpart for host tenancy: an explicitly-set *DH field always wins over the auto-promoted value, so a stray *DH value (e.g. left over from reusing a config) silently overrides the plain field you intended."
40
41
  ],
41
42
  "minimalConfig": {
42
43
  "region": "us-east-1",
@@ -44,6 +45,7 @@
44
45
  "instanceType": "m5.large",
45
46
  "workload": 1,
46
47
  "selectedOS": "linux",
48
+ "tenancy": "shared",
47
49
  "pricingStrategy": "ondemand"
48
50
  },
49
51
  "defaultFields": {
@@ -7,7 +7,7 @@
7
7
  "traps": [
8
8
  "NAT Gateway has two mutually exclusive field sets, make sure to confirm with the user to either use 'Regional NAT Gateway' or 'NAT Gateway'. Regional (regionalNatGatewayCount, regionalNatGatewayAzCount, regionalNatGatewayDataProcessed) is the current UI default. Non-regional/legacy (numberOfGateways, dataProcessedPerNATGateway) also works. Using both will double-count costs.",
9
9
  "Regional NAT Gateway is not available in AWS European Sovereign Cloud",
10
- "All five fields are marked required by the manifest. When using one set, explicitly set the other set to \"0\" to avoid inflated defaults and linter refusals.",
10
+ "All five fields are marked required by the manifest. When using one set, explicitly zero out the other — but the two sets aren't symmetric: numberOfGateways and dataProcessedPerNATGateway accept \"0\" (manifest minValue 0). regionalNatGatewayCount and regionalNatGatewayAzCount do NOT — the manifest enforces minValue: 1, so \"0\" is rejected (\"value 0 is below minimum 1\"). To zero out the regional set, use regionalNatGatewayCount: \"1\", regionalNatGatewayAzCount: \"1\", regionalNatGatewayDataProcessed: 0 (1/1/0 GB) — this adds no cost and matches this entry's own minimalConfig. There is no literal all-zero combination for the regional set.",
11
11
  "Manifest defaults are 5 gateways × 3 AZs — wildly over-sized for a 'hello world'. minimalConfig overrides to 1×1; agents reading manifest defaults directly will over-estimate ~5×."
12
12
  ],
13
13
  "minimalConfig": {