pulumi-improvmx 0.2.3 → 0.2.5
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/config/vars.ts +11 -0
- package/package.json +2 -2
- package/provider.ts +5 -0
package/config/vars.ts
CHANGED
|
@@ -18,3 +18,14 @@ Object.defineProperty(exports, "apiToken", {
|
|
|
18
18
|
enumerable: true,
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Automatically trigger DNS validation after domain create/update/read to activate forwarding. Defaults to true.
|
|
23
|
+
*/
|
|
24
|
+
export declare const autoCheckDns: boolean | undefined;
|
|
25
|
+
Object.defineProperty(exports, "autoCheckDns", {
|
|
26
|
+
get() {
|
|
27
|
+
return __config.getObject<boolean>("autoCheckDns");
|
|
28
|
+
},
|
|
29
|
+
enumerable: true,
|
|
30
|
+
});
|
|
31
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pulumi-improvmx",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"kind/native",
|
|
6
6
|
"category/utility"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"pulumi": {
|
|
20
20
|
"resource": true,
|
|
21
21
|
"name": "improvmx",
|
|
22
|
-
"version": "0.2.
|
|
22
|
+
"version": "0.2.5",
|
|
23
23
|
"server": "github://api.github.com/lokkju/pulumi-improvmx"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
package/provider.ts
CHANGED
|
@@ -36,6 +36,7 @@ export class Provider extends pulumi.ProviderResource {
|
|
|
36
36
|
opts = opts || {};
|
|
37
37
|
{
|
|
38
38
|
resourceInputs["apiToken"] = args?.apiToken ? pulumi.secret(args.apiToken) : undefined;
|
|
39
|
+
resourceInputs["autoCheckDns"] = pulumi.output(args?.autoCheckDns).apply(JSON.stringify);
|
|
39
40
|
}
|
|
40
41
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
41
42
|
const secretOpts = { additionalSecretOutputs: ["apiToken"] };
|
|
@@ -52,4 +53,8 @@ export interface ProviderArgs {
|
|
|
52
53
|
* The ImprovMX API token. Can also be set via IMPROVMX_API_TOKEN env var.
|
|
53
54
|
*/
|
|
54
55
|
apiToken?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Automatically trigger DNS validation after domain create/update/read to activate forwarding. Defaults to true.
|
|
58
|
+
*/
|
|
59
|
+
autoCheckDns?: pulumi.Input<boolean>;
|
|
55
60
|
}
|