fjall 3.4.1 → 3.6.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/bin/.bundled +3 -3
- package/bin/.metafile.json +1455 -899
- package/bin/assets/generators/account/generator.js +93 -91
- package/bin/assets/generators/application/generator.js +101 -99
- package/bin/assets/generators/cdn/generator.js +142 -140
- package/bin/assets/generators/compute/generator.js +139 -137
- package/bin/assets/generators/compute/service/generator.js +102 -100
- package/bin/assets/generators/database/generator.js +139 -137
- package/bin/assets/generators/database/proxy/generator.js +102 -100
- package/bin/assets/generators/domain/files/infrastructure.ts +11 -2
- package/bin/assets/generators/domain/generator.js +100 -98
- package/bin/assets/generators/network/generator.js +102 -100
- package/bin/assets/generators/organisation/generator.js +93 -91
- package/bin/assets/generators/shared/files/package.json +2 -2
- package/bin/assets/generators/storage/s3/generator.js +139 -137
- package/bin/assets/generators/tunnel/generator.js +99 -97
- package/bin/fjall.bundle.js +637 -603
- package/package.json +3 -3
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
// Fjall-managed domain — edit this file to add or change records.
|
|
7
7
|
// See https://docs.fjall.io/resources/networking/domain for the Domain construct API.
|
|
8
8
|
|
|
9
|
-
const app = App.getApp("<%=
|
|
9
|
+
const app = App.getApp("<%= domainStackName %>");
|
|
10
10
|
// The stack name is Fjall's domain deploy contract (getDomainStackName) —
|
|
11
11
|
// the CLI records and resolves the deployed domain by this exact
|
|
12
12
|
// CloudFormation stack name. Do not rename it.
|
|
13
|
-
const stack = app.getStack("<%=
|
|
13
|
+
const stack = app.getStack("<%= domainStackName %>").getStack();
|
|
14
14
|
|
|
15
15
|
new Domain(stack, "<%= safeZoneName %>", {
|
|
16
16
|
registrar: "route53",
|
|
@@ -20,6 +20,11 @@ new Domain(stack, "<%= safeZoneName %>", {
|
|
|
20
20
|
<% } -%>
|
|
21
21
|
certificates: [
|
|
22
22
|
{ domainName: "<%= domainName %>" },
|
|
23
|
+
// Serving this zone through CloudFront (staticsite/cdn)? Add a viewer
|
|
24
|
+
// certificate with cloudFront: true — it is minted in us-east-1 (the
|
|
25
|
+
// only region CloudFront accepts) and publishes the zone-level
|
|
26
|
+
// us-east-1 certificate export the deploy binding carries, e.g.:
|
|
27
|
+
// { domainName: "www.<%= domainName %>", cloudFront: true },
|
|
23
28
|
],
|
|
24
29
|
records: [],
|
|
25
30
|
});
|
|
@@ -29,3 +34,7 @@ new Domain(stack, "<%= safeZoneName %>", {
|
|
|
29
34
|
// and delegatedSubdomain set; the Fjall CLI injects parentDelegationRoleArn
|
|
30
35
|
// (ManagedDomainBinding.delegationRoleArn) so the child UPSERTs its NS
|
|
31
36
|
// records into this zone. This apex declares no delegations[].
|
|
37
|
+
// Adopting an EXISTING child zone instead of creating one? Set hostedZoneId
|
|
38
|
+
// and adoptedNameServers (both together) on the child Domain — the literals
|
|
39
|
+
// feed the parent NS UPSERT because an imported zone exposes no name-server
|
|
40
|
+
// attribute at synth.
|