@intentius/chant-lexicon-aws 0.124.39 → 0.124.41

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "algorithm": "sha256",
3
3
  "artifacts": {
4
- "manifest.json": "9d69eb221cc362ed12ecc47de98a5954ebf59750944b17628ff02fa20e6a01b3",
4
+ "manifest.json": "c7e33973af05dc78ecf9b8e3bac617ac31bce4c9ba0ac359ac1fdf81ef1535b7",
5
5
  "meta.json": "3e18663eb9eb09920882f8014020432330a74ccd480689e7384c2022cbb10f39",
6
6
  "types/index.d.ts": "8651f9ae166668f4311eea1fe61c3fe235f345947951c1d23d1df24a4fd3384f",
7
7
  "rules/hardcoded-region.ts": "957eadcaa9f39cc17d21437565d7a94607d9b082cf28918b178fa067f07498a9",
@@ -74,5 +74,5 @@
74
74
  "skills/chant-aws-eks.md": "8789255709ff004ad0a875fd5999edcdc66fc6e33d710db058d9f42703bcfdfe",
75
75
  "skills/chant-aws-carve-terraform.md": "8780b94ce60aded935938d5ef20ea667738354051da1bf9ca6d70d9886f65d21"
76
76
  },
77
- "composite": "6b0e542fd6dbbe3e88214238cfeb9bf460cc262bd918a4422c83c9b8eeda1c7e"
77
+ "composite": "7f226204e0a743dc5326578af8cf639ab8e90c6615e2111cd930adfb3c84e08b"
78
78
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws",
3
- "version": "0.124.39",
3
+ "version": "0.124.41",
4
4
  "chantVersion": ">=0.1.0",
5
5
  "namespace": "AWS",
6
6
  "intrinsics": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentius/chant-lexicon-aws",
3
- "version": "0.124.39",
3
+ "version": "0.124.41",
4
4
  "description": "AWS CloudFormation lexicon for chant — declarative IaC in TypeScript",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://intentius.io/chant",
@@ -80,6 +80,6 @@
80
80
  "typescript": "^5.9.3"
81
81
  },
82
82
  "peerDependencies": {
83
- "@intentius/chant": "^0.124.39"
83
+ "@intentius/chant": "^0.124.41"
84
84
  }
85
85
  }
@@ -1,6 +1,7 @@
1
1
  import { describe, test, expect } from "vitest";
2
2
  import { awsPlugin, stackDoesNotExist } from "./plugin";
3
3
  import { isLexiconPlugin } from "@intentius/chant/lexicon";
4
+ import { emulatorsOf, endpointEnvVars } from "@intentius/chant/op";
4
5
 
5
6
  describe("stackDoesNotExist (pre-first-apply live state)", () => {
6
7
  test("true for the CloudFormation 'does not exist' error", () => {
@@ -329,3 +330,12 @@ describe("awsPlugin", () => {
329
330
  });
330
331
  });
331
332
  });
333
+
334
+ // #4281: `chant components pr-plan`, `pr-apply` and `run --components` apply an
335
+ // environment's declared endpoint to the vars the plugin's emulator names. `cfn-deploy`
336
+ // reads AWS_ENDPOINT_URL, so the plugin has to name it.
337
+ describe("awsPlugin endpoint var (#4281)", () => {
338
+ test("the emulator names AWS_ENDPOINT_URL, the var cfn-deploy reads", () => {
339
+ expect(emulatorsOf(awsPlugin.emulator).flatMap((cap) => endpointEnvVars(cap))).toEqual(["AWS_ENDPOINT_URL"]);
340
+ });
341
+ });