@pulumi/fastly 12.4.0-alpha.1784745427 → 12.4.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/package.json +2 -2
- package/tlsActivation.d.ts +2 -0
- package/tlsActivation.d.ts.map +1 -1
- package/tlsActivation.js +2 -0
- package/tlsActivation.js.map +1 -1
- package/tlsSubscription.d.ts +2 -0
- package/tlsSubscription.d.ts.map +1 -1
- package/tlsSubscription.js +2 -0
- package/tlsSubscription.js.map +1 -1
- package/tlsSubscriptionValidation.d.ts +69 -0
- package/tlsSubscriptionValidation.d.ts.map +1 -1
- package/tlsSubscriptionValidation.js +63 -0
- package/tlsSubscriptionValidation.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/fastly",
|
|
3
|
-
"version": "12.4.0
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "fastly",
|
|
26
|
-
"version": "12.4.0
|
|
26
|
+
"version": "12.4.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/tlsActivation.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* > **Note:** The Fastly service must be provisioned _prior_ to enabling TLS on it. This can be achieved in Pulumi using `dependsOn`.
|
|
6
6
|
*
|
|
7
|
+
* > **Warning:** This resource is for custom (uploaded) certificates. Do not pair it with a `fastly.TlsSubscription` — Fastly automatically activates TLS on a subscription's domains once the managed certificate is issued, so creating an activation for those domains fails with `400 domainId has already been taken` (and referencing `fastly_tls_subscription.<name>.certificate_id` in the same apply fails earlier with an empty certificate ID). For managed certificates, set `configurationId` on the subscription and use the `fastly.TlsActivation` data source to read the automatically-created activation — see the `fastly.TlsSubscriptionValidation` documentation for a complete example.
|
|
8
|
+
*
|
|
7
9
|
* ## Example Usage
|
|
8
10
|
*
|
|
9
11
|
* Basic usage:
|
package/tlsActivation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tlsActivation.d.ts","sourceRoot":"","sources":["../tlsActivation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"tlsActivation.d.ts","sourceRoot":"","sources":["../tlsActivation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,aAAa;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAwB,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEtE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA4BzF;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7D;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7D"}
|
package/tlsActivation.js
CHANGED
|
@@ -33,6 +33,8 @@ const utilities = __importStar(require("./utilities"));
|
|
|
33
33
|
*
|
|
34
34
|
* > **Note:** The Fastly service must be provisioned _prior_ to enabling TLS on it. This can be achieved in Pulumi using `dependsOn`.
|
|
35
35
|
*
|
|
36
|
+
* > **Warning:** This resource is for custom (uploaded) certificates. Do not pair it with a `fastly.TlsSubscription` — Fastly automatically activates TLS on a subscription's domains once the managed certificate is issued, so creating an activation for those domains fails with `400 domainId has already been taken` (and referencing `fastly_tls_subscription.<name>.certificate_id` in the same apply fails earlier with an empty certificate ID). For managed certificates, set `configurationId` on the subscription and use the `fastly.TlsActivation` data source to read the automatically-created activation — see the `fastly.TlsSubscriptionValidation` documentation for a complete example.
|
|
37
|
+
*
|
|
36
38
|
* ## Example Usage
|
|
37
39
|
*
|
|
38
40
|
* Basic usage:
|
package/tlsActivation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tlsActivation.js","sourceRoot":"","sources":["../tlsActivation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"tlsActivation.js","sourceRoot":"","sources":["../tlsActivation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0CAA0C,CAAC;IAEjF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IA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AC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAnFL,sCAoFC"}
|
package/tlsSubscription.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ import * as outputs from "./types/output";
|
|
|
22
22
|
*
|
|
23
23
|
* We configure the `fastly.TlsSubscriptionValidation` resource, which blocks other resources until the challenge DNS records have been validated by Fastly.
|
|
24
24
|
*
|
|
25
|
+
* > **Warning:** Do not create a `fastly.TlsActivation` for this subscription's domains. Fastly activates TLS on them automatically once the certificate is issued (a manual activation fails with `400 domainId has already been taken`, or with an empty-certificate 400 if created in the same apply). Set `configurationId` on this resource to control the TLS configuration, and reference `fastly_tls_subscription_validation.<name>.certificate_id` when another resource needs the issued certificate — see the `fastly.TlsSubscriptionValidation` documentation for a complete example.
|
|
26
|
+
*
|
|
25
27
|
* Once the validation has been successful, the configured `fastly.getTlsConfiguration` data source will filter the available results looking for an appropriate TLS configuration object. If that filtering process is successful, then the subsequent `awsRoute53Record` resources (for configuring the subdomains) will be executed using the returned TLS configuration data.
|
|
26
28
|
*
|
|
27
29
|
* ```typescript
|
package/tlsSubscription.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tlsSubscription.d.ts","sourceRoot":"","sources":["../tlsSubscription.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"tlsSubscription.d.ts","sourceRoot":"","sources":["../tlsSubscription.ts"],"names":[],"mappings":"AAGA,OAA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,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACnD"}
|
package/tlsSubscription.js
CHANGED
|
@@ -49,6 +49,8 @@ const utilities = __importStar(require("./utilities"));
|
|
|
49
49
|
*
|
|
50
50
|
* We configure the `fastly.TlsSubscriptionValidation` resource, which blocks other resources until the challenge DNS records have been validated by Fastly.
|
|
51
51
|
*
|
|
52
|
+
* > **Warning:** Do not create a `fastly.TlsActivation` for this subscription's domains. Fastly activates TLS on them automatically once the certificate is issued (a manual activation fails with `400 domainId has already been taken`, or with an empty-certificate 400 if created in the same apply). Set `configurationId` on this resource to control the TLS configuration, and reference `fastly_tls_subscription_validation.<name>.certificate_id` when another resource needs the issued certificate — see the `fastly.TlsSubscriptionValidation` documentation for a complete example.
|
|
53
|
+
*
|
|
52
54
|
* Once the validation has been successful, the configured `fastly.getTlsConfiguration` data source will filter the available results looking for an appropriate TLS configuration object. If that filtering process is successful, then the subsequent `awsRoute53Record` resources (for configuring the subdomains) will be executed using the returned TLS configuration data.
|
|
53
55
|
*
|
|
54
56
|
* ```typescript
|
package/tlsSubscription.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tlsSubscription.js","sourceRoot":"","sources":["../tlsSubscription.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"tlsSubscription.js","sour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,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AArIL,0CAsIC"}
|
|
@@ -89,6 +89,67 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
89
89
|
* }));
|
|
90
90
|
* }
|
|
91
91
|
* ```
|
|
92
|
+
*
|
|
93
|
+
* Managed certificates for multiple domains, in a single apply:
|
|
94
|
+
*
|
|
95
|
+
* The `certificateId` attribute is only populated once the certificate has been issued, so resources referencing it are guaranteed to run after issuance — unlike `fastly_tls_subscription.<name>.certificate_id`, which is empty on first apply (certificates are issued asynchronously after domain validation) and causes API 400 errors when consumed in the same apply.
|
|
96
|
+
*
|
|
97
|
+
* > **Note:** Fastly automatically activates TLS on a subscription's domains once the certificate is issued — set `configurationId` on the `fastly.TlsSubscription` itself and do **not** create a `fastly.TlsActivation` for those domains (it fails with `400 domainId has already been taken`). Use the `fastly.TlsActivation` data source to read the automatically-created activation.
|
|
98
|
+
*
|
|
99
|
+
* ```typescript
|
|
100
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
101
|
+
* import * as aws from "@pulumi/aws";
|
|
102
|
+
* import * as fastly from "@pulumi/fastly";
|
|
103
|
+
*
|
|
104
|
+
* const config = new pulumi.Config();
|
|
105
|
+
* const certificates = config.requireObject<Record<string, {authority?: string, commonName?: string, domains?: Array<string>, forceDestroy?: boolean}>>("certificates");
|
|
106
|
+
* const defaultTls = fastly.getTlsConfiguration({
|
|
107
|
+
* "default": true,
|
|
108
|
+
* });
|
|
109
|
+
* const exampleTlsSubscription: {[key: string]: fastly.TlsSubscription} = {};
|
|
110
|
+
* for (const range of Object.entries(certificates).sort().map(([k, v]) => ({key: k, value: v}))) {
|
|
111
|
+
* exampleTlsSubscription[range.key] = new fastly.TlsSubscription(`example-${range.key}`, {
|
|
112
|
+
* certificateAuthority: range.value.authority,
|
|
113
|
+
* commonName: range.value.commonName,
|
|
114
|
+
* domains: range.value.domains,
|
|
115
|
+
* forceDestroy: range.value.forceDestroy,
|
|
116
|
+
* configurationId: defaultTls.then(defaultTls => defaultTls.id),
|
|
117
|
+
* });
|
|
118
|
+
* }
|
|
119
|
+
* // The domain validation challenge records MUST be created before validation
|
|
120
|
+
* // can succeed. This example uses DNS-based validation: replace with your DNS
|
|
121
|
+
* // provider's record resource, fed from
|
|
122
|
+
* // fastly_tls_subscription.example[each.key].managed_dns_challenges
|
|
123
|
+
* // (see the fastly_tls_subscription documentation for a Route53 example).
|
|
124
|
+
* const domainValidation: {[key: string]: aws.index.Route53Record} = {};
|
|
125
|
+
* exampleTlsSubscription.apply(rangeBody => {
|
|
126
|
+
* for (const range of Object.entries(rangeBody).sort().map(([k, v]) => ({key: k, value: v}))) {
|
|
127
|
+
* domainValidation[range.key] = new aws.index.Route53Record(`domain_validation-${range.key}`, {
|
|
128
|
+
* name: range.value.managedDnsChallenges[0].recordName,
|
|
129
|
+
* type: range.value.managedDnsChallenges[0].recordType,
|
|
130
|
+
* records: [range.value.managedDnsChallenges[0].recordValue],
|
|
131
|
+
* zoneId: "REPLACE_WITH_YOUR_ZONE_ID",
|
|
132
|
+
* allowOverwrite: true,
|
|
133
|
+
* ttl: 60,
|
|
134
|
+
* });
|
|
135
|
+
* }
|
|
136
|
+
* });
|
|
137
|
+
* // Blocks until the certificate has been issued. Its certificate_id attribute
|
|
138
|
+
* // is only known after issuance, so downstream resources referencing it are
|
|
139
|
+
* // guaranteed to run with a valid certificate — all in a single apply.
|
|
140
|
+
* const exampleTlsSubscriptionValidation: {[key: string]: fastly.TlsSubscriptionValidation} = {};
|
|
141
|
+
* for (const range of Object.entries(certificates).sort().map(([k, v]) => ({key: k, value: v}))) {
|
|
142
|
+
* exampleTlsSubscriptionValidation[range.key] = new fastly.TlsSubscriptionValidation(`example-${range.key}`, {subscriptionId: exampleTlsSubscription[range.key].id}, {
|
|
143
|
+
* dependsOn: [domainValidation],
|
|
144
|
+
* });
|
|
145
|
+
* }
|
|
146
|
+
* // The activation was created automatically by Fastly when the certificate was
|
|
147
|
+
* // issued; this data source reads it (e.g. to consume dns_records/IDs).
|
|
148
|
+
* const example = Object.entries(certificates).sort().reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: fastly.getTlsActivation({
|
|
149
|
+
* domain: __value.commonName,
|
|
150
|
+
* }) }), {});
|
|
151
|
+
* export const certificateIds = Object.entries(exampleTlsSubscriptionValidation).sort().reduce((__obj, [k, v]) => ({ ...__obj, [k]: v.certificateId }), {});
|
|
152
|
+
* ```
|
|
92
153
|
*/
|
|
93
154
|
export declare class TlsSubscriptionValidation extends pulumi.CustomResource {
|
|
94
155
|
/**
|
|
@@ -106,6 +167,10 @@ export declare class TlsSubscriptionValidation extends pulumi.CustomResource {
|
|
|
106
167
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
168
|
*/
|
|
108
169
|
static isInstance(obj: any): obj is TlsSubscriptionValidation;
|
|
170
|
+
/**
|
|
171
|
+
* The ID of the certificate issued for the validated subscription. Only populated once the subscription reaches the `issued` state. Reference this from `fastly_tls_activation.certificate_id` to guarantee the activation is created after the certificate exists, within a single apply.
|
|
172
|
+
*/
|
|
173
|
+
readonly certificateId: pulumi.Output<string>;
|
|
109
174
|
/**
|
|
110
175
|
* The ID of the TLS Subscription that should be validated.
|
|
111
176
|
*/
|
|
@@ -123,6 +188,10 @@ export declare class TlsSubscriptionValidation extends pulumi.CustomResource {
|
|
|
123
188
|
* Input properties used for looking up and filtering TlsSubscriptionValidation resources.
|
|
124
189
|
*/
|
|
125
190
|
export interface TlsSubscriptionValidationState {
|
|
191
|
+
/**
|
|
192
|
+
* The ID of the certificate issued for the validated subscription. Only populated once the subscription reaches the `issued` state. Reference this from `fastly_tls_activation.certificate_id` to guarantee the activation is created after the certificate exists, within a single apply.
|
|
193
|
+
*/
|
|
194
|
+
certificateId?: pulumi.Input<string | undefined>;
|
|
126
195
|
/**
|
|
127
196
|
* The ID of the TLS Subscription that should be validated.
|
|
128
197
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tlsSubscriptionValidation.d.ts","sourceRoot":"","sources":["../tlsSubscriptionValidation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"tlsSubscriptionValidation.d.ts","sourceRoot":"","sources":["../tlsSubscriptionValidation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuJG;AACH,qBAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,yBAAyB;IAOpK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,yBAAyB;IAOpE;;OAEG;IACH,SAAgC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmBrG;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACxC"}
|
|
@@ -118,6 +118,67 @@ const utilities = __importStar(require("./utilities"));
|
|
|
118
118
|
* }));
|
|
119
119
|
* }
|
|
120
120
|
* ```
|
|
121
|
+
*
|
|
122
|
+
* Managed certificates for multiple domains, in a single apply:
|
|
123
|
+
*
|
|
124
|
+
* The `certificateId` attribute is only populated once the certificate has been issued, so resources referencing it are guaranteed to run after issuance — unlike `fastly_tls_subscription.<name>.certificate_id`, which is empty on first apply (certificates are issued asynchronously after domain validation) and causes API 400 errors when consumed in the same apply.
|
|
125
|
+
*
|
|
126
|
+
* > **Note:** Fastly automatically activates TLS on a subscription's domains once the certificate is issued — set `configurationId` on the `fastly.TlsSubscription` itself and do **not** create a `fastly.TlsActivation` for those domains (it fails with `400 domainId has already been taken`). Use the `fastly.TlsActivation` data source to read the automatically-created activation.
|
|
127
|
+
*
|
|
128
|
+
* ```typescript
|
|
129
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
130
|
+
* import * as aws from "@pulumi/aws";
|
|
131
|
+
* import * as fastly from "@pulumi/fastly";
|
|
132
|
+
*
|
|
133
|
+
* const config = new pulumi.Config();
|
|
134
|
+
* const certificates = config.requireObject<Record<string, {authority?: string, commonName?: string, domains?: Array<string>, forceDestroy?: boolean}>>("certificates");
|
|
135
|
+
* const defaultTls = fastly.getTlsConfiguration({
|
|
136
|
+
* "default": true,
|
|
137
|
+
* });
|
|
138
|
+
* const exampleTlsSubscription: {[key: string]: fastly.TlsSubscription} = {};
|
|
139
|
+
* for (const range of Object.entries(certificates).sort().map(([k, v]) => ({key: k, value: v}))) {
|
|
140
|
+
* exampleTlsSubscription[range.key] = new fastly.TlsSubscription(`example-${range.key}`, {
|
|
141
|
+
* certificateAuthority: range.value.authority,
|
|
142
|
+
* commonName: range.value.commonName,
|
|
143
|
+
* domains: range.value.domains,
|
|
144
|
+
* forceDestroy: range.value.forceDestroy,
|
|
145
|
+
* configurationId: defaultTls.then(defaultTls => defaultTls.id),
|
|
146
|
+
* });
|
|
147
|
+
* }
|
|
148
|
+
* // The domain validation challenge records MUST be created before validation
|
|
149
|
+
* // can succeed. This example uses DNS-based validation: replace with your DNS
|
|
150
|
+
* // provider's record resource, fed from
|
|
151
|
+
* // fastly_tls_subscription.example[each.key].managed_dns_challenges
|
|
152
|
+
* // (see the fastly_tls_subscription documentation for a Route53 example).
|
|
153
|
+
* const domainValidation: {[key: string]: aws.index.Route53Record} = {};
|
|
154
|
+
* exampleTlsSubscription.apply(rangeBody => {
|
|
155
|
+
* for (const range of Object.entries(rangeBody).sort().map(([k, v]) => ({key: k, value: v}))) {
|
|
156
|
+
* domainValidation[range.key] = new aws.index.Route53Record(`domain_validation-${range.key}`, {
|
|
157
|
+
* name: range.value.managedDnsChallenges[0].recordName,
|
|
158
|
+
* type: range.value.managedDnsChallenges[0].recordType,
|
|
159
|
+
* records: [range.value.managedDnsChallenges[0].recordValue],
|
|
160
|
+
* zoneId: "REPLACE_WITH_YOUR_ZONE_ID",
|
|
161
|
+
* allowOverwrite: true,
|
|
162
|
+
* ttl: 60,
|
|
163
|
+
* });
|
|
164
|
+
* }
|
|
165
|
+
* });
|
|
166
|
+
* // Blocks until the certificate has been issued. Its certificate_id attribute
|
|
167
|
+
* // is only known after issuance, so downstream resources referencing it are
|
|
168
|
+
* // guaranteed to run with a valid certificate — all in a single apply.
|
|
169
|
+
* const exampleTlsSubscriptionValidation: {[key: string]: fastly.TlsSubscriptionValidation} = {};
|
|
170
|
+
* for (const range of Object.entries(certificates).sort().map(([k, v]) => ({key: k, value: v}))) {
|
|
171
|
+
* exampleTlsSubscriptionValidation[range.key] = new fastly.TlsSubscriptionValidation(`example-${range.key}`, {subscriptionId: exampleTlsSubscription[range.key].id}, {
|
|
172
|
+
* dependsOn: [domainValidation],
|
|
173
|
+
* });
|
|
174
|
+
* }
|
|
175
|
+
* // The activation was created automatically by Fastly when the certificate was
|
|
176
|
+
* // issued; this data source reads it (e.g. to consume dns_records/IDs).
|
|
177
|
+
* const example = Object.entries(certificates).sort().reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: fastly.getTlsActivation({
|
|
178
|
+
* domain: __value.commonName,
|
|
179
|
+
* }) }), {});
|
|
180
|
+
* export const certificateIds = Object.entries(exampleTlsSubscriptionValidation).sort().reduce((__obj, [k, v]) => ({ ...__obj, [k]: v.certificateId }), {});
|
|
181
|
+
* ```
|
|
121
182
|
*/
|
|
122
183
|
class TlsSubscriptionValidation extends pulumi.CustomResource {
|
|
123
184
|
/**
|
|
@@ -149,6 +210,7 @@ class TlsSubscriptionValidation extends pulumi.CustomResource {
|
|
|
149
210
|
opts = opts || {};
|
|
150
211
|
if (opts.id) {
|
|
151
212
|
const state = argsOrState;
|
|
213
|
+
resourceInputs["certificateId"] = state?.certificateId;
|
|
152
214
|
resourceInputs["subscriptionId"] = state?.subscriptionId;
|
|
153
215
|
}
|
|
154
216
|
else {
|
|
@@ -157,6 +219,7 @@ class TlsSubscriptionValidation extends pulumi.CustomResource {
|
|
|
157
219
|
throw new Error("Missing required property 'subscriptionId'");
|
|
158
220
|
}
|
|
159
221
|
resourceInputs["subscriptionId"] = args?.subscriptionId;
|
|
222
|
+
resourceInputs["certificateId"] = undefined /*out*/;
|
|
160
223
|
}
|
|
161
224
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
162
225
|
super(TlsSubscriptionValidation.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tlsSubscriptionValidation.js","sourceRoot":"","sources":["../tlsSubscriptionValidation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"tlsSubscriptionValidation.js","sourceRoot":"","sources":["../tlsSubscriptionValidation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuJG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,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