@intentius/chant-lexicon-aws 0.59.0 → 0.60.0
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.
|
@@ -35,8 +35,8 @@ export interface RollbackPreviousSnapshotInput {
|
|
|
35
35
|
resource: string;
|
|
36
36
|
}
|
|
37
37
|
/** Roll an ECS service back to its previously recorded task definition — the
|
|
38
|
-
* shape the `ecs-fargate` preset and the ALB/ECS pilot compose
|
|
39
|
-
*
|
|
38
|
+
* shape the `ecs-fargate` preset and the ALB/ECS pilot compose for an
|
|
39
|
+
* ALB-fronted frontend service. */
|
|
40
40
|
export interface RollbackPreviousEcsInput {
|
|
41
41
|
/** ECS service name. */
|
|
42
42
|
service: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"safety.d.ts","sourceRoot":"","sources":["../../src/components/safety.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAI5E,MAAM,WAAW,mBAAmB;IAClC,wFAAwF;IACxF,QAAQ,EAAE,MAAM,CAAC;IACjB,kEAAkE;IAClE,YAAY,EAAE,gBAAgB,GAAG,cAAc,GAAG,mBAAmB,GAAG,YAAY,CAAC;CACtF;AAED,MAAM,WAAW,oBAAoB;IACnC,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,QAAQ,GAAE,aAAsC,GAAG,UAAU,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAOtJ;AAED,gFAAgF;AAChF,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAAC,mBAAmB,EAAE,oBAAoB,CACzD,CAAC;AAInC,oFAAoF;AACpF,MAAM,WAAW,6BAA6B;IAC5C,kFAAkF;IAClF,UAAU,EAAE,MAAM,CAAC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C;CACnB;AAED;;;;;;;;GAQG;AACH,wBAAgB,gCAAgC,CAAC,QAAQ,GAAE,aAAsC,GAAG,UAAU,CAAC,qBAAqB,EAAE,sBAAsB,CAAC,CAuB5J;AAED,kFAAkF;AAClF,eAAO,MAAM,0BAA0B,EAAE,UAAU,CAAC,qBAAqB,EAAE,sBAAsB,CAC7D,CAAC"}
|
package/dist/integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "sha256",
|
|
3
3
|
"artifacts": {
|
|
4
|
-
"manifest.json": "
|
|
4
|
+
"manifest.json": "2b6c7e083934aab77ccb71776a129673ba87c0ac710508a6270977a315918f50",
|
|
5
5
|
"meta.json": "d4adec3c858367bd14cf3d5260748a882bac1cc69fdaa459dd21b1e279696aa5",
|
|
6
6
|
"types/index.d.ts": "e36a49706754271eb89ea76a752d91e4e411b330ef382cc38ecf08bc849be1d5",
|
|
7
7
|
"rules/hardcoded-region.ts": "5a0eaf7ab391231fe6cd51426ece29539cb4b36f31c8dd060956638fed55722a",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"skills/chant-aws-eks.md": "8789255709ff004ad0a875fd5999edcdc66fc6e33d710db058d9f42703bcfdfe",
|
|
74
74
|
"skills/chant-aws-carve-terraform.md": "0ae4376590db47979be144d3ac6cdcfd56c9640d0536421aacf7330459d38e52"
|
|
75
75
|
},
|
|
76
|
-
"composite": "
|
|
76
|
+
"composite": "35a82d64e7bc7e6abcc78ea45e461ee7808ab1bcee8862af15e397f906ec881c"
|
|
77
77
|
}
|
package/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentius/chant-lexicon-aws",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.0",
|
|
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,7 +80,7 @@
|
|
|
80
80
|
"typescript": "^5.9.3"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
|
-
"@intentius/chant": "^0.
|
|
83
|
+
"@intentius/chant": "^0.60.0",
|
|
84
84
|
"typescript": "^5.9.3"
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -42,10 +42,10 @@ describe("rollback-previous (#557)", () => {
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
it("rolls an ECS service back via the executor for the {service, cluster} shape (#990)", async () => {
|
|
45
|
-
// The ecs-fargate preset / ALB-ECS pilot
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
45
|
+
// The ecs-fargate preset / ALB-ECS pilot compose rollback-previous with an
|
|
46
|
+
// ECS service, NOT a snapshot id. This used to reach the snapshot path and
|
|
47
|
+
// throw "Cannot read properties of undefined (reading 'includes')" on the
|
|
48
|
+
// absent snapshotId.
|
|
49
49
|
const mock = createMockCloudExecutor();
|
|
50
50
|
const out = await createRollbackPreviousCapability(mock.executor).run(ctx, {
|
|
51
51
|
service: "loom-frontend-svc",
|
package/src/components/safety.ts
CHANGED
|
@@ -54,8 +54,8 @@ export interface RollbackPreviousSnapshotInput {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/** Roll an ECS service back to its previously recorded task definition — the
|
|
57
|
-
* shape the `ecs-fargate` preset and the ALB/ECS pilot compose
|
|
58
|
-
*
|
|
57
|
+
* shape the `ecs-fargate` preset and the ALB/ECS pilot compose for an
|
|
58
|
+
* ALB-fronted frontend service. */
|
|
59
59
|
export interface RollbackPreviousEcsInput {
|
|
60
60
|
/** ECS service name. */
|
|
61
61
|
service: string;
|