@pulumi/mailgun 3.7.0 → 3.7.1-alpha.1774890201
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/apiKey.d.ts +6 -0
- package/apiKey.js +6 -0
- package/apiKey.js.map +1 -1
- package/domain.d.ts +77 -5
- package/domain.js +77 -5
- package/domain.js.map +1 -1
- package/domainCredential.d.ts +0 -12
- package/domainCredential.js +0 -12
- package/domainCredential.js.map +1 -1
- package/package.json +2 -2
- package/route.d.ts +0 -10
- package/route.js +0 -10
- package/route.js.map +1 -1
package/apiKey.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Provides a Mailgun API key resource. This can be used to create and manage API keys on Mailgun.
|
|
4
|
+
*
|
|
5
|
+
* > **Note:** Please note that due to the limitations of the Terraform SDK v2 this provider uses, the removal of API keys
|
|
6
|
+
* which have their expiration set cannot be handled properly after expiration. In order to remove such expired keys, it is
|
|
7
|
+
* recommended to use `terraform state rm`.
|
|
8
|
+
*
|
|
3
9
|
* ## Example Usage
|
|
4
10
|
*
|
|
5
11
|
* ```typescript
|
package/apiKey.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.ApiKey = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides a Mailgun API key resource. This can be used to create and manage API keys on Mailgun.
|
|
10
|
+
*
|
|
11
|
+
* > **Note:** Please note that due to the limitations of the Terraform SDK v2 this provider uses, the removal of API keys
|
|
12
|
+
* which have their expiration set cannot be handled properly after expiration. In order to remove such expired keys, it is
|
|
13
|
+
* recommended to use `terraform state rm`.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ```typescript
|
package/apiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA+DD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC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AC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAlIL,wBAmIC;AArHG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/domain.d.ts
CHANGED
|
@@ -2,14 +2,86 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides a Mailgun App resource. This can be used to
|
|
6
|
+
* create and manage applications on Mailgun.
|
|
6
7
|
*
|
|
7
|
-
*
|
|
8
|
+
* After DNS records are set, domain verification should be triggered manually using [PUT /domains/\<domain\>/verify](https://documentation.mailgun.com/en/latest/api-domains.html#domains)
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
+
* ## Example Usage
|
|
10
11
|
*
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mailgun from "@pulumi/mailgun";
|
|
15
|
+
*
|
|
16
|
+
* // Create a new Mailgun domain
|
|
17
|
+
* const _default = new mailgun.Domain("default", {
|
|
18
|
+
* name: "test.example.com",
|
|
19
|
+
* region: "us",
|
|
20
|
+
* spamAction: "disabled",
|
|
21
|
+
* smtpPassword: "supersecretpassword1234",
|
|
22
|
+
* dkimKeySize: 1024,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* Here's an example using the Cloudflare provider. Bear in mind that the solution below requires the Cloudflare provider to be included in your project. Also, the Mailgun provider isn't associated with Cloudflare, and other Terraform providers that can control DNS may require a slightly different implementation.
|
|
27
|
+
*
|
|
28
|
+
* For detailed setup instructions, see Mailgun's [Domain Verification Setup Guide](https://help.mailgun.com/hc/en-us/articles/32884702360603-Domain-Verification-Setup-Guide) or the [Cloudflare DNS Setup Guide](https://help.mailgun.com/hc/en-us/articles/15585722150299-Cloudflare-DNS-Setup-Guide).
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
33
|
+
* import * as std from "@pulumi/std";
|
|
34
|
+
*
|
|
35
|
+
* // Use receiving/sending set attributes to create DNS entries
|
|
36
|
+
* // TTL is set to 300 seconds (5 minutes) for faster updates as recommended by Mailgun
|
|
37
|
+
* // You can adjust the TTL to your desired value
|
|
38
|
+
* const defaultReceiving: cloudflare.index.DnsRecord[] = [];
|
|
39
|
+
* for (const range of Object.entries(.reduce((__obj, record) => ({ ...__obj, [record.id]: {
|
|
40
|
+
* type: record.recordType,
|
|
41
|
+
* value: record.value,
|
|
42
|
+
* priority: record.priority,
|
|
43
|
+
* } }))).map(([k, v]) => ({key: k, value: v}))) {
|
|
44
|
+
* defaultReceiving.push(new cloudflare.index.DnsRecord(`default_receiving-${range.key}`, {
|
|
45
|
+
* zoneId: zoneId,
|
|
46
|
+
* name: domain,
|
|
47
|
+
* type: range.value.type,
|
|
48
|
+
* content: range.value.value,
|
|
49
|
+
* priority: range.value.priority,
|
|
50
|
+
* ttl: 300,
|
|
51
|
+
* }));
|
|
52
|
+
* }
|
|
53
|
+
* const defaultSending: cloudflare.index.DnsRecord[] = [];
|
|
54
|
+
* for (const range of Object.entries(.reduce((__obj, record) => ({ ...__obj, [record.id]: {
|
|
55
|
+
* name: record.name,
|
|
56
|
+
* type: record.recordType,
|
|
57
|
+
* value: record.value,
|
|
58
|
+
* } }))).map(([k, v]) => ({key: k, value: v}))) {
|
|
59
|
+
* defaultSending.push(new cloudflare.index.DnsRecord(`default_sending-${range.key}`, {
|
|
60
|
+
* zoneId: zoneId,
|
|
61
|
+
* name: range.value.name,
|
|
62
|
+
* type: range.value.type,
|
|
63
|
+
* content: range.value.value,
|
|
64
|
+
* ttl: 300,
|
|
65
|
+
* }));
|
|
66
|
+
* }
|
|
67
|
+
* // Create MX records pointing to Mailgun
|
|
68
|
+
* // Use "@" for name if using the root domain, or the subdomain name if using a subdomain
|
|
69
|
+
* const mxRecords: cloudflare.index.DnsRecord[] = [];
|
|
70
|
+
* for (const range = {value: 0}; range.value < std.index.toset({
|
|
71
|
+
* input: [
|
|
72
|
+
* "mxa.mailgun.org",
|
|
73
|
+
* "mxb.mailgun.org",
|
|
74
|
+
* ],
|
|
75
|
+
* }).result; range.value++) {
|
|
76
|
+
* mxRecords.push(new cloudflare.index.DnsRecord(`mx_records-${range.value}`, {
|
|
77
|
+
* zoneId: zoneId,
|
|
78
|
+
* name: "@",
|
|
79
|
+
* type: "MX",
|
|
80
|
+
* content: range.value,
|
|
81
|
+
* priority: 10,
|
|
82
|
+
* ttl: 300,
|
|
83
|
+
* }));
|
|
84
|
+
* }
|
|
13
85
|
* ```
|
|
14
86
|
*/
|
|
15
87
|
export declare class Domain extends pulumi.CustomResource {
|
package/domain.js
CHANGED
|
@@ -6,14 +6,86 @@ exports.Domain = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Provides a Mailgun App resource. This can be used to
|
|
10
|
+
* create and manage applications on Mailgun.
|
|
10
11
|
*
|
|
11
|
-
*
|
|
12
|
+
* After DNS records are set, domain verification should be triggered manually using [PUT /domains/\<domain\>/verify](https://documentation.mailgun.com/en/latest/api-domains.html#domains)
|
|
12
13
|
*
|
|
13
|
-
*
|
|
14
|
+
* ## Example Usage
|
|
14
15
|
*
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mailgun from "@pulumi/mailgun";
|
|
19
|
+
*
|
|
20
|
+
* // Create a new Mailgun domain
|
|
21
|
+
* const _default = new mailgun.Domain("default", {
|
|
22
|
+
* name: "test.example.com",
|
|
23
|
+
* region: "us",
|
|
24
|
+
* spamAction: "disabled",
|
|
25
|
+
* smtpPassword: "supersecretpassword1234",
|
|
26
|
+
* dkimKeySize: 1024,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* Here's an example using the Cloudflare provider. Bear in mind that the solution below requires the Cloudflare provider to be included in your project. Also, the Mailgun provider isn't associated with Cloudflare, and other Terraform providers that can control DNS may require a slightly different implementation.
|
|
31
|
+
*
|
|
32
|
+
* For detailed setup instructions, see Mailgun's [Domain Verification Setup Guide](https://help.mailgun.com/hc/en-us/articles/32884702360603-Domain-Verification-Setup-Guide) or the [Cloudflare DNS Setup Guide](https://help.mailgun.com/hc/en-us/articles/15585722150299-Cloudflare-DNS-Setup-Guide).
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
37
|
+
* import * as std from "@pulumi/std";
|
|
38
|
+
*
|
|
39
|
+
* // Use receiving/sending set attributes to create DNS entries
|
|
40
|
+
* // TTL is set to 300 seconds (5 minutes) for faster updates as recommended by Mailgun
|
|
41
|
+
* // You can adjust the TTL to your desired value
|
|
42
|
+
* const defaultReceiving: cloudflare.index.DnsRecord[] = [];
|
|
43
|
+
* for (const range of Object.entries(.reduce((__obj, record) => ({ ...__obj, [record.id]: {
|
|
44
|
+
* type: record.recordType,
|
|
45
|
+
* value: record.value,
|
|
46
|
+
* priority: record.priority,
|
|
47
|
+
* } }))).map(([k, v]) => ({key: k, value: v}))) {
|
|
48
|
+
* defaultReceiving.push(new cloudflare.index.DnsRecord(`default_receiving-${range.key}`, {
|
|
49
|
+
* zoneId: zoneId,
|
|
50
|
+
* name: domain,
|
|
51
|
+
* type: range.value.type,
|
|
52
|
+
* content: range.value.value,
|
|
53
|
+
* priority: range.value.priority,
|
|
54
|
+
* ttl: 300,
|
|
55
|
+
* }));
|
|
56
|
+
* }
|
|
57
|
+
* const defaultSending: cloudflare.index.DnsRecord[] = [];
|
|
58
|
+
* for (const range of Object.entries(.reduce((__obj, record) => ({ ...__obj, [record.id]: {
|
|
59
|
+
* name: record.name,
|
|
60
|
+
* type: record.recordType,
|
|
61
|
+
* value: record.value,
|
|
62
|
+
* } }))).map(([k, v]) => ({key: k, value: v}))) {
|
|
63
|
+
* defaultSending.push(new cloudflare.index.DnsRecord(`default_sending-${range.key}`, {
|
|
64
|
+
* zoneId: zoneId,
|
|
65
|
+
* name: range.value.name,
|
|
66
|
+
* type: range.value.type,
|
|
67
|
+
* content: range.value.value,
|
|
68
|
+
* ttl: 300,
|
|
69
|
+
* }));
|
|
70
|
+
* }
|
|
71
|
+
* // Create MX records pointing to Mailgun
|
|
72
|
+
* // Use "@" for name if using the root domain, or the subdomain name if using a subdomain
|
|
73
|
+
* const mxRecords: cloudflare.index.DnsRecord[] = [];
|
|
74
|
+
* for (const range = {value: 0}; range.value < std.index.toset({
|
|
75
|
+
* input: [
|
|
76
|
+
* "mxa.mailgun.org",
|
|
77
|
+
* "mxb.mailgun.org",
|
|
78
|
+
* ],
|
|
79
|
+
* }).result; range.value++) {
|
|
80
|
+
* mxRecords.push(new cloudflare.index.DnsRecord(`mx_records-${range.value}`, {
|
|
81
|
+
* zoneId: zoneId,
|
|
82
|
+
* name: "@",
|
|
83
|
+
* type: "MX",
|
|
84
|
+
* content: range.value,
|
|
85
|
+
* priority: 10,
|
|
86
|
+
* ttl: 300,
|
|
87
|
+
* }));
|
|
88
|
+
* }
|
|
17
89
|
* ```
|
|
18
90
|
*/
|
|
19
91
|
class Domain extends pulumi.CustomResource {
|
package/domain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IAC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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;QACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA9JL,wBA+JC;AAjJG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/domainCredential.d.ts
CHANGED
|
@@ -18,18 +18,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* region: "us",
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
|
-
*
|
|
22
|
-
* ## Import
|
|
23
|
-
*
|
|
24
|
-
* Domain credential can be imported using `region:email` via `import` command. Region has to be chosen from `eu` or `us` (when no selection `us` is applied).
|
|
25
|
-
*
|
|
26
|
-
* Password is always exported to `null`.
|
|
27
|
-
*
|
|
28
|
-
* hcl
|
|
29
|
-
*
|
|
30
|
-
* ```sh
|
|
31
|
-
* $ pulumi import mailgun:index/domainCredential:DomainCredential test us:test@domain.com
|
|
32
|
-
* ```
|
|
33
21
|
*/
|
|
34
22
|
export declare class DomainCredential extends pulumi.CustomResource {
|
|
35
23
|
/**
|
package/domainCredential.js
CHANGED
|
@@ -24,18 +24,6 @@ const utilities = require("./utilities");
|
|
|
24
24
|
* region: "us",
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
|
-
*
|
|
28
|
-
* ## Import
|
|
29
|
-
*
|
|
30
|
-
* Domain credential can be imported using `region:email` via `import` command. Region has to be chosen from `eu` or `us` (when no selection `us` is applied).
|
|
31
|
-
*
|
|
32
|
-
* Password is always exported to `null`.
|
|
33
|
-
*
|
|
34
|
-
* hcl
|
|
35
|
-
*
|
|
36
|
-
* ```sh
|
|
37
|
-
* $ pulumi import mailgun:index/domainCredential:DomainCredential test us:test@domain.com
|
|
38
|
-
* ```
|
|
39
27
|
*/
|
|
40
28
|
class DomainCredential extends pulumi.CustomResource {
|
|
41
29
|
/**
|
package/domainCredential.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainCredential.js","sourceRoot":"","sources":["../domainCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domainCredential.js","sourceRoot":"","sources":["../domainCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,QAAQ,CA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I,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAlFL,4CAmFC;AArEG,gBAAgB;AACO,6BAAY,GAAG,iDAAiD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/mailgun",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.1-alpha.1774890201",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Mailgun resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "mailgun",
|
|
26
|
-
"version": "3.7.
|
|
26
|
+
"version": "3.7.1-alpha.1774890201"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/route.d.ts
CHANGED
|
@@ -19,16 +19,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* ],
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
-
*
|
|
23
|
-
* ## Import
|
|
24
|
-
*
|
|
25
|
-
* Routes can be imported using `ROUTE_ID` and `region` via `import` command. Route ID can be found on Mailgun portal in section `Receiving/Routes`. Region has to be chosen from `eu` or `us` (when no selection `us` is applied).
|
|
26
|
-
*
|
|
27
|
-
* hcl
|
|
28
|
-
*
|
|
29
|
-
* ```sh
|
|
30
|
-
* $ pulumi import mailgun:index/route:Route test eu:123456789
|
|
31
|
-
* ```
|
|
32
22
|
*/
|
|
33
23
|
export declare class Route extends pulumi.CustomResource {
|
|
34
24
|
/**
|
package/route.js
CHANGED
|
@@ -25,16 +25,6 @@ const utilities = require("./utilities");
|
|
|
25
25
|
* ],
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
-
*
|
|
29
|
-
* ## Import
|
|
30
|
-
*
|
|
31
|
-
* Routes can be imported using `ROUTE_ID` and `region` via `import` command. Route ID can be found on Mailgun portal in section `Receiving/Routes`. Region has to be chosen from `eu` or `us` (when no selection `us` is applied).
|
|
32
|
-
*
|
|
33
|
-
* hcl
|
|
34
|
-
*
|
|
35
|
-
* ```sh
|
|
36
|
-
* $ pulumi import mailgun:index/route:Route test eu:123456789
|
|
37
|
-
* ```
|
|
38
28
|
*/
|
|
39
29
|
class Route extends pulumi.CustomResource {
|
|
40
30
|
/**
|
package/route.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.js","sourceRoot":"","sources":["../route.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"route.js","sourceRoot":"","sources":["../route.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAyBD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,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