@fjall/deploy-core 14.1.0 → 14.3.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.
- package/dist/.build-source-hash +21 -19
- package/dist/.minified +1 -1
- package/dist/src/index.d.ts +9 -7
- package/dist/src/index.js +1 -1
- package/dist/src/orchestration/application/applicationDeploy.js +1 -1
- package/dist/src/orchestration/domain/WorkerDomainDeployProvider.d.ts +64 -5
- package/dist/src/orchestration/domain/WorkerDomainDeployProvider.js +1 -1
- package/dist/src/orchestration/domain/cascadeDomainProviderFactory.d.ts +61 -0
- package/dist/src/orchestration/domain/cascadeDomainProviderFactory.js +1 -0
- package/dist/src/orchestration/domain/delegationResolution.d.ts +46 -0
- package/dist/src/orchestration/domain/delegationResolution.js +1 -0
- package/dist/src/orchestration/domain/domainTakeoverGate.d.ts +45 -2
- package/dist/src/orchestration/domain/domainTakeoverGate.js +2 -2
- package/dist/src/orchestration/domain/index.d.ts +3 -1
- package/dist/src/orchestration/domain/index.js +1 -1
- package/dist/src/orchestration/domainInterface.d.ts +32 -0
- package/dist/src/orchestration/index.d.ts +2 -2
- package/dist/src/orchestration/index.js +1 -1
- package/dist/src/orchestration/organisation/cascadeHelpers.d.ts +20 -1
- package/dist/src/orchestration/organisation/cascadeHelpers.js +1 -1
- package/dist/src/orchestration/organisationDeploy/cascadeExecution.js +1 -1
- package/dist/src/services/infrastructure/CdkArgumentBuilder.js +1 -1
- package/dist/src/services/infrastructure/CdkServiceTypes.d.ts +11 -0
- package/dist/src/services/infrastructure/cdkServiceHelpers.js +1 -1
- package/dist/src/services/supporting/CdkContextBuilder.d.ts +1 -0
- package/dist/src/services/supporting/CdkContextBuilder.js +1 -1
- package/dist/src/types/deployment/DeploymentTypes.d.ts +1 -0
- package/dist/src/types/params.d.ts +22 -1
- package/package.json +3 -3
|
@@ -29,6 +29,7 @@ export interface DeploymentContext {
|
|
|
29
29
|
fjallAdoptBackupVault?: boolean;
|
|
30
30
|
resolvedSecretArns?: string;
|
|
31
31
|
managedDomainBindings?: Record<string, string>;
|
|
32
|
+
managedDomainCoverage?: Record<string, string>;
|
|
32
33
|
capacityIdentity?: string;
|
|
33
34
|
options: {
|
|
34
35
|
verbose?: boolean;
|
|
@@ -5,7 +5,7 @@ import type { DeployCallbacks } from "./callbacks.js";
|
|
|
5
5
|
import type { ApiClientInterface } from "./apiClient.js";
|
|
6
6
|
import type { OrgConfig } from "./config/orgConfig.js";
|
|
7
7
|
import type { DockerProvider } from "../orchestration/dockerInterface.js";
|
|
8
|
-
import type { DomainDeployProvider } from "../orchestration/domainInterface.js";
|
|
8
|
+
import type { DomainDeployProvider, DomainProviderFactory } from "../orchestration/domainInterface.js";
|
|
9
9
|
import type { PinRemediationReport } from "../orchestration/remediation/pinRemediation.js";
|
|
10
10
|
import type { IdentityPinReport } from "../orchestration/remediation/migrateIdentity.js";
|
|
11
11
|
import type { DestructionTicketResource } from "./destruction.js";
|
|
@@ -66,6 +66,16 @@ export interface DeployParams {
|
|
|
66
66
|
* If omitted, the domains cascade phase is skipped.
|
|
67
67
|
*/
|
|
68
68
|
domainProvider?: DomainDeployProvider;
|
|
69
|
+
/**
|
|
70
|
+
* Optional account-routing factory beside `domainProvider` (T2): mints a
|
|
71
|
+
* home-scoped provider context per distinct foreign `(account, region)`
|
|
72
|
+
* pin among the configured domains, so pinned domains deploy into their
|
|
73
|
+
* recorded homes instead of being skipped. The caller owns the credential
|
|
74
|
+
* path (worker: per-account OIDC role; CLI: OrganizationAccountAccessRole
|
|
75
|
+
* from a management identity). Omitted: foreign-pinned domains keep the
|
|
76
|
+
* skip-with-warning partition.
|
|
77
|
+
*/
|
|
78
|
+
domainProviderFactory?: DomainProviderFactory;
|
|
69
79
|
/**
|
|
70
80
|
* Caller shutdown signal. Long-running SDK probes (org-trail delivery
|
|
71
81
|
* verification, member-trail cleanup) compose this with their own
|
|
@@ -127,6 +137,17 @@ export interface DeployParams {
|
|
|
127
137
|
* neither omit the field and constructs fall back to explicit props.
|
|
128
138
|
*/
|
|
129
139
|
managedDomainBindings?: Record<string, string>;
|
|
140
|
+
/**
|
|
141
|
+
* Deploy-time-resolved managed-domain certificate coverage (D5), keyed by
|
|
142
|
+
* zone name with each value the JSON-serialised `ManagedDomainCoverage`
|
|
143
|
+
* (the SAN host lists the domain stack published beside its certificate
|
|
144
|
+
* ARN exports). Threaded into synth as one
|
|
145
|
+
* `-c fjall:managedDomainCoverage:<zone>=<json>` per entry — a key
|
|
146
|
+
* SEPARATE from the binding because the binding parser fails closed on
|
|
147
|
+
* unknown fields. Fail-open by contract: zones whose domain stack predates
|
|
148
|
+
* the hosts outputs bind without coverage and constructs degrade to W1.
|
|
149
|
+
*/
|
|
150
|
+
managedDomainCoverage?: Record<string, string>;
|
|
130
151
|
/**
|
|
131
152
|
* The resolved deploy target name (e.g. "production-use2") this deploy
|
|
132
153
|
* runs against — the key `capacityIdentity` pins are recorded under in
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fjall/deploy-core",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/fjall-tech/fjall.git",
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"@aws-sdk/client-ssm": "^3.1098.0",
|
|
97
97
|
"@aws-sdk/client-sso-admin": "^3.1098.0",
|
|
98
98
|
"@aws-sdk/client-sts": "^3.1098.0",
|
|
99
|
-
"@fjall/generator": "^14.
|
|
100
|
-
"@fjall/util": "^14.
|
|
99
|
+
"@fjall/generator": "^14.3.0",
|
|
100
|
+
"@fjall/util": "^14.3.0",
|
|
101
101
|
"@smithy/node-http-handler": "^4.9.13",
|
|
102
102
|
"aws-cdk": "^2.1134.0",
|
|
103
103
|
"tsx": "^4.23.1",
|