@pulumi/cloudamqp 3.17.4 → 3.17.6-alpha.1717540449
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/alarm.d.ts +59 -7
- package/alarm.js +59 -7
- package/alarm.js.map +1 -1
- package/customDomain.d.ts +2 -1
- package/customDomain.js +2 -1
- package/customDomain.js.map +1 -1
- package/extraDiskSize.d.ts +17 -4
- package/extraDiskSize.js +17 -4
- package/extraDiskSize.js.map +1 -1
- package/getAccount.d.ts +0 -66
- package/getAccount.js +0 -66
- package/getAccount.js.map +1 -1
- package/getAccountVpcs.d.ts +2 -0
- package/getAccountVpcs.js +2 -0
- package/getAccountVpcs.js.map +1 -1
- package/getAlarm.d.ts +4 -2
- package/getAlarm.js +4 -2
- package/getAlarm.js.map +1 -1
- package/getCredentials.d.ts +4 -2
- package/getCredentials.js +4 -2
- package/getCredentials.js.map +1 -1
- package/getInstance.d.ts +0 -42
- package/getInstance.js +0 -42
- package/getInstance.js.map +1 -1
- package/getNodes.d.ts +4 -2
- package/getNodes.js +4 -2
- package/getNodes.js.map +1 -1
- package/getNotification.d.ts +4 -2
- package/getNotification.js +4 -2
- package/getNotification.js.map +1 -1
- package/getPlugins.d.ts +4 -2
- package/getPlugins.js +4 -2
- package/getPlugins.js.map +1 -1
- package/getPluginsCommunity.d.ts +4 -2
- package/getPluginsCommunity.js +4 -2
- package/getPluginsCommunity.js.map +1 -1
- package/getUpgradableVersions.d.ts +4 -2
- package/getUpgradableVersions.js +4 -2
- package/getUpgradableVersions.js.map +1 -1
- package/getVpcGcpInfo.d.ts +6 -4
- package/getVpcGcpInfo.js +6 -4
- package/getVpcGcpInfo.js.map +1 -1
- package/getVpcInfo.d.ts +6 -4
- package/getVpcInfo.js +6 -4
- package/getVpcInfo.js.map +1 -1
- package/instance.d.ts +20 -52
- package/instance.js +20 -52
- package/instance.js.map +1 -1
- package/integrationAwsEventbridge.d.ts +3 -1
- package/integrationAwsEventbridge.js +3 -1
- package/integrationAwsEventbridge.js.map +1 -1
- package/integrationLog.d.ts +213 -18
- package/integrationLog.js +213 -18
- package/integrationLog.js.map +1 -1
- package/integrationMetric.d.ts +6 -6
- package/nodeActions.d.ts +19 -18
- package/nodeActions.js +19 -18
- package/nodeActions.js.map +1 -1
- package/notification.d.ts +24 -16
- package/notification.js +24 -16
- package/notification.js.map +1 -1
- package/package.json +3 -2
- package/pluginCommunity.d.ts +1 -1
- package/pluginCommunity.js +1 -1
- package/privatelinkAws.d.ts +9 -17
- package/privatelinkAws.js +9 -17
- package/privatelinkAws.js.map +1 -1
- package/privatelinkAzure.d.ts +9 -17
- package/privatelinkAzure.js +9 -17
- package/privatelinkAzure.js.map +1 -1
- package/provider.d.ts +0 -3
- package/upgradeRabbitmq.d.ts +8 -5
- package/upgradeRabbitmq.js +8 -5
- package/upgradeRabbitmq.js.map +1 -1
- package/vpc.d.ts +6 -3
- package/vpc.js +6 -3
- package/vpc.js.map +1 -1
- package/vpcConnect.d.ts +16 -27
- package/vpcConnect.js +16 -27
- package/vpcConnect.js.map +1 -1
- package/vpcGcpPeering.d.ts +112 -15
- package/vpcGcpPeering.js +112 -15
- package/vpcGcpPeering.js.map +1 -1
- package/webhook.d.ts +3 -2
- package/webhook.js +3 -2
- package/webhook.js.map +1 -1
- package/package.json.bak +0 -27
package/alarm.d.ts
CHANGED
|
@@ -8,19 +8,27 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* <details>
|
|
12
|
+
* <summary>
|
|
13
|
+
* <b>
|
|
14
|
+
* <i>Basic example of CPU and memory alarm</i>
|
|
15
|
+
* </b>
|
|
16
|
+
* </summary>
|
|
17
|
+
*
|
|
11
18
|
* ```typescript
|
|
12
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
20
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
14
21
|
*
|
|
15
22
|
* // New recipient
|
|
16
|
-
* const recipient01 = new cloudamqp.Notification("
|
|
17
|
-
* instanceId:
|
|
23
|
+
* const recipient01 = new cloudamqp.Notification("recipient_01", {
|
|
24
|
+
* instanceId: instance.id,
|
|
18
25
|
* type: "email",
|
|
19
26
|
* value: "alarm@example.com",
|
|
27
|
+
* name: "alarm",
|
|
20
28
|
* });
|
|
21
29
|
* // New cpu alarm
|
|
22
|
-
* const cpuAlarm = new cloudamqp.Alarm("
|
|
23
|
-
* instanceId:
|
|
30
|
+
* const cpuAlarm = new cloudamqp.Alarm("cpu_alarm", {
|
|
31
|
+
* instanceId: instance.id,
|
|
24
32
|
* type: "cpu",
|
|
25
33
|
* enabled: true,
|
|
26
34
|
* reminderInterval: 600,
|
|
@@ -29,8 +37,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
29
37
|
* recipients: [recipient01.id],
|
|
30
38
|
* });
|
|
31
39
|
* // New memory alarm
|
|
32
|
-
* const memoryAlarm = new cloudamqp.Alarm("
|
|
33
|
-
* instanceId:
|
|
40
|
+
* const memoryAlarm = new cloudamqp.Alarm("memory_alarm", {
|
|
41
|
+
* instanceId: instance.id,
|
|
34
42
|
* type: "memory",
|
|
35
43
|
* enabled: true,
|
|
36
44
|
* reminderInterval: 600,
|
|
@@ -39,6 +47,40 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
39
47
|
* recipients: [recipient01.id],
|
|
40
48
|
* });
|
|
41
49
|
* ```
|
|
50
|
+
*
|
|
51
|
+
* </details>
|
|
52
|
+
*
|
|
53
|
+
* <details>
|
|
54
|
+
* <summary>
|
|
55
|
+
* <b>
|
|
56
|
+
* <i>Manage notice alarm, available from v1.29.5</i>
|
|
57
|
+
* </b>
|
|
58
|
+
* </summary>
|
|
59
|
+
*
|
|
60
|
+
* Only one notice alarm can exists and cannot be created, instead the alarm resource will be updated.
|
|
61
|
+
*
|
|
62
|
+
* ```typescript
|
|
63
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
64
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
65
|
+
*
|
|
66
|
+
* // New recipient
|
|
67
|
+
* const recipient01 = new cloudamqp.Notification("recipient_01", {
|
|
68
|
+
* instanceId: instance.id,
|
|
69
|
+
* type: "email",
|
|
70
|
+
* value: "alarm@example.com",
|
|
71
|
+
* name: "alarm",
|
|
72
|
+
* });
|
|
73
|
+
* // Update existing notice alarm
|
|
74
|
+
* const notice = new cloudamqp.Alarm("notice", {
|
|
75
|
+
* instanceId: instance.id,
|
|
76
|
+
* type: "notice",
|
|
77
|
+
* enabled: true,
|
|
78
|
+
* recipients: [recipient01.id],
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* </details>
|
|
83
|
+
*
|
|
42
84
|
* ## Alarm Type reference
|
|
43
85
|
*
|
|
44
86
|
* Supported alarm types: `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
|
|
@@ -59,12 +101,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
59
101
|
* | Server unreachable | serverUnreachable | - | ✔ | timeThreshold |
|
|
60
102
|
* | Notice | notice | ✔ | ✔ | |
|
|
61
103
|
*
|
|
62
|
-
* > Notice alarm is manadatory! Only one can exists and cannot be deleted. Setting `noDefaultAlarm` to true, will still create this alarm.
|
|
104
|
+
* > Notice alarm is manadatory! Only one can exists and cannot be deleted. Setting `noDefaultAlarm` to true, will still create this alarm. See updated changes to notice alarm below.
|
|
63
105
|
*
|
|
64
106
|
* ## Dependency
|
|
65
107
|
*
|
|
66
108
|
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
67
109
|
*
|
|
110
|
+
* ## Notice alarm
|
|
111
|
+
*
|
|
112
|
+
* There is a limitation for notice alarm in the API backend. This alarm is mandatory, multiple
|
|
113
|
+
* alarms cannot exists or be deleted.
|
|
114
|
+
*
|
|
115
|
+
* From provider version v1.29.5
|
|
116
|
+
* it's possible to manage the notice alarm and no longer needs to be imported. Just create the
|
|
117
|
+
* alarm resource as usually and it will be updated with given recipients. If the alarm is deleted
|
|
118
|
+
* it will only be removed from the state file, but will still be enabled in the backend.
|
|
119
|
+
*
|
|
68
120
|
* ## Import
|
|
69
121
|
*
|
|
70
122
|
* `cloudamqp_alarm` can be imported using CloudAMQP internal identifier of the alarm together (CSV separated) with the instance identifier. To retrieve the alarm identifier, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-alarms)
|
package/alarm.js
CHANGED
|
@@ -14,19 +14,27 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
+
* <details>
|
|
18
|
+
* <summary>
|
|
19
|
+
* <b>
|
|
20
|
+
* <i>Basic example of CPU and memory alarm</i>
|
|
21
|
+
* </b>
|
|
22
|
+
* </summary>
|
|
23
|
+
*
|
|
17
24
|
* ```typescript
|
|
18
25
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
26
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
20
27
|
*
|
|
21
28
|
* // New recipient
|
|
22
|
-
* const recipient01 = new cloudamqp.Notification("
|
|
23
|
-
* instanceId:
|
|
29
|
+
* const recipient01 = new cloudamqp.Notification("recipient_01", {
|
|
30
|
+
* instanceId: instance.id,
|
|
24
31
|
* type: "email",
|
|
25
32
|
* value: "alarm@example.com",
|
|
33
|
+
* name: "alarm",
|
|
26
34
|
* });
|
|
27
35
|
* // New cpu alarm
|
|
28
|
-
* const cpuAlarm = new cloudamqp.Alarm("
|
|
29
|
-
* instanceId:
|
|
36
|
+
* const cpuAlarm = new cloudamqp.Alarm("cpu_alarm", {
|
|
37
|
+
* instanceId: instance.id,
|
|
30
38
|
* type: "cpu",
|
|
31
39
|
* enabled: true,
|
|
32
40
|
* reminderInterval: 600,
|
|
@@ -35,8 +43,8 @@ const utilities = require("./utilities");
|
|
|
35
43
|
* recipients: [recipient01.id],
|
|
36
44
|
* });
|
|
37
45
|
* // New memory alarm
|
|
38
|
-
* const memoryAlarm = new cloudamqp.Alarm("
|
|
39
|
-
* instanceId:
|
|
46
|
+
* const memoryAlarm = new cloudamqp.Alarm("memory_alarm", {
|
|
47
|
+
* instanceId: instance.id,
|
|
40
48
|
* type: "memory",
|
|
41
49
|
* enabled: true,
|
|
42
50
|
* reminderInterval: 600,
|
|
@@ -45,6 +53,40 @@ const utilities = require("./utilities");
|
|
|
45
53
|
* recipients: [recipient01.id],
|
|
46
54
|
* });
|
|
47
55
|
* ```
|
|
56
|
+
*
|
|
57
|
+
* </details>
|
|
58
|
+
*
|
|
59
|
+
* <details>
|
|
60
|
+
* <summary>
|
|
61
|
+
* <b>
|
|
62
|
+
* <i>Manage notice alarm, available from v1.29.5</i>
|
|
63
|
+
* </b>
|
|
64
|
+
* </summary>
|
|
65
|
+
*
|
|
66
|
+
* Only one notice alarm can exists and cannot be created, instead the alarm resource will be updated.
|
|
67
|
+
*
|
|
68
|
+
* ```typescript
|
|
69
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
70
|
+
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
71
|
+
*
|
|
72
|
+
* // New recipient
|
|
73
|
+
* const recipient01 = new cloudamqp.Notification("recipient_01", {
|
|
74
|
+
* instanceId: instance.id,
|
|
75
|
+
* type: "email",
|
|
76
|
+
* value: "alarm@example.com",
|
|
77
|
+
* name: "alarm",
|
|
78
|
+
* });
|
|
79
|
+
* // Update existing notice alarm
|
|
80
|
+
* const notice = new cloudamqp.Alarm("notice", {
|
|
81
|
+
* instanceId: instance.id,
|
|
82
|
+
* type: "notice",
|
|
83
|
+
* enabled: true,
|
|
84
|
+
* recipients: [recipient01.id],
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* </details>
|
|
89
|
+
*
|
|
48
90
|
* ## Alarm Type reference
|
|
49
91
|
*
|
|
50
92
|
* Supported alarm types: `cpu, memory, disk, queue, connection, flow, consumer, netsplit, server_unreachable, notice`
|
|
@@ -65,12 +107,22 @@ const utilities = require("./utilities");
|
|
|
65
107
|
* | Server unreachable | serverUnreachable | - | ✔ | timeThreshold |
|
|
66
108
|
* | Notice | notice | ✔ | ✔ | |
|
|
67
109
|
*
|
|
68
|
-
* > Notice alarm is manadatory! Only one can exists and cannot be deleted. Setting `noDefaultAlarm` to true, will still create this alarm.
|
|
110
|
+
* > Notice alarm is manadatory! Only one can exists and cannot be deleted. Setting `noDefaultAlarm` to true, will still create this alarm. See updated changes to notice alarm below.
|
|
69
111
|
*
|
|
70
112
|
* ## Dependency
|
|
71
113
|
*
|
|
72
114
|
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
|
73
115
|
*
|
|
116
|
+
* ## Notice alarm
|
|
117
|
+
*
|
|
118
|
+
* There is a limitation for notice alarm in the API backend. This alarm is mandatory, multiple
|
|
119
|
+
* alarms cannot exists or be deleted.
|
|
120
|
+
*
|
|
121
|
+
* From provider version v1.29.5
|
|
122
|
+
* it's possible to manage the notice alarm and no longer needs to be imported. Just create the
|
|
123
|
+
* alarm resource as usually and it will be updated with given recipients. If the alarm is deleted
|
|
124
|
+
* it will only be removed from the state file, but will still be enabled in the backend.
|
|
125
|
+
*
|
|
74
126
|
* ## Import
|
|
75
127
|
*
|
|
76
128
|
* `cloudamqp_alarm` can be imported using CloudAMQP internal identifier of the alarm together (CSV separated) with the instance identifier. To retrieve the alarm identifier, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-alarms)
|
package/alarm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm.js","sourceRoot":"","sources":["../alarm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alarm.js","sourceRoot":"","sources":["../alarm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yC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CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAjIL,sBAkIC;AApHG,gBAAgB;AACO,kBAAY,GAAG,6BAA6B,CAAC"}
|
package/customDomain.d.ts
CHANGED
|
@@ -17,10 +17,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
18
18
|
*
|
|
19
19
|
* const settings = new cloudamqp.CustomDomain("settings", {
|
|
20
|
-
* instanceId:
|
|
20
|
+
* instanceId: instance.id,
|
|
21
21
|
* hostname: "myname.mydomain",
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
|
+
*
|
|
24
25
|
* ## Depedency
|
|
25
26
|
*
|
|
26
27
|
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
package/customDomain.js
CHANGED
|
@@ -23,10 +23,11 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
24
24
|
*
|
|
25
25
|
* const settings = new cloudamqp.CustomDomain("settings", {
|
|
26
|
-
* instanceId:
|
|
26
|
+
* instanceId: instance.id,
|
|
27
27
|
* hostname: "myname.mydomain",
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
|
+
*
|
|
30
31
|
* ## Depedency
|
|
31
32
|
*
|
|
32
33
|
* This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
|
package/customDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAjEL,oCAkEC;AApDG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
|
package/extraDiskSize.d.ts
CHANGED
|
@@ -40,14 +40,17 @@ import * as outputs from "./types/output";
|
|
|
40
40
|
*
|
|
41
41
|
* // Instance
|
|
42
42
|
* const instance = new cloudamqp.Instance("instance", {
|
|
43
|
+
* name: "Instance",
|
|
43
44
|
* plan: "bunny-1",
|
|
44
45
|
* region: "amazon-web-services::us-west-2",
|
|
45
46
|
* });
|
|
46
47
|
* // Resize disk with 25 extra GB
|
|
47
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
48
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
48
49
|
* instanceId: instance.id,
|
|
49
50
|
* extraDiskSize: 25,
|
|
50
51
|
* });
|
|
52
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
53
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
51
54
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
52
55
|
* instanceId: id,
|
|
53
56
|
* }));
|
|
@@ -68,14 +71,17 @@ import * as outputs from "./types/output";
|
|
|
68
71
|
*
|
|
69
72
|
* // Instance
|
|
70
73
|
* const instance = new cloudamqp.Instance("instance", {
|
|
74
|
+
* name: "Instance",
|
|
71
75
|
* plan: "bunny-1",
|
|
72
76
|
* region: "amazon-web-services::us-west-2",
|
|
73
77
|
* });
|
|
74
78
|
* // Resize disk with 25 extra GB, without downtime
|
|
75
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
79
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
76
80
|
* instanceId: instance.id,
|
|
77
81
|
* extraDiskSize: 25,
|
|
78
82
|
* });
|
|
83
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
84
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
79
85
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
80
86
|
* instanceId: id,
|
|
81
87
|
* }));
|
|
@@ -96,14 +102,17 @@ import * as outputs from "./types/output";
|
|
|
96
102
|
*
|
|
97
103
|
* // Instance
|
|
98
104
|
* const instance = new cloudamqp.Instance("instance", {
|
|
105
|
+
* name: "Instance",
|
|
99
106
|
* plan: "bunny-1",
|
|
100
107
|
* region: "google-compute-engine::us-central1",
|
|
101
108
|
* });
|
|
102
109
|
* // Resize disk with 25 extra GB, without downtime
|
|
103
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
110
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
104
111
|
* instanceId: instance.id,
|
|
105
112
|
* extraDiskSize: 25,
|
|
106
113
|
* });
|
|
114
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
115
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
107
116
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
108
117
|
* instanceId: id,
|
|
109
118
|
* }));
|
|
@@ -124,21 +133,25 @@ import * as outputs from "./types/output";
|
|
|
124
133
|
*
|
|
125
134
|
* // Instance
|
|
126
135
|
* const instance = new cloudamqp.Instance("instance", {
|
|
136
|
+
* name: "Instance",
|
|
127
137
|
* plan: "bunny-1",
|
|
128
138
|
* region: "azure-arm::centralus",
|
|
129
139
|
* });
|
|
130
140
|
* // Resize disk with 25 extra GB, with downtime
|
|
131
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
141
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
132
142
|
* instanceId: instance.id,
|
|
133
143
|
* extraDiskSize: 25,
|
|
134
144
|
* allowDowntime: true,
|
|
135
145
|
* });
|
|
146
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
147
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
136
148
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
137
149
|
* instanceId: id,
|
|
138
150
|
* }));
|
|
139
151
|
* ```
|
|
140
152
|
*
|
|
141
153
|
* </details>
|
|
154
|
+
*
|
|
142
155
|
* ## Attributes reference
|
|
143
156
|
*
|
|
144
157
|
* All attributes reference are computed
|
package/extraDiskSize.js
CHANGED
|
@@ -44,14 +44,17 @@ const utilities = require("./utilities");
|
|
|
44
44
|
*
|
|
45
45
|
* // Instance
|
|
46
46
|
* const instance = new cloudamqp.Instance("instance", {
|
|
47
|
+
* name: "Instance",
|
|
47
48
|
* plan: "bunny-1",
|
|
48
49
|
* region: "amazon-web-services::us-west-2",
|
|
49
50
|
* });
|
|
50
51
|
* // Resize disk with 25 extra GB
|
|
51
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
52
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
52
53
|
* instanceId: instance.id,
|
|
53
54
|
* extraDiskSize: 25,
|
|
54
55
|
* });
|
|
56
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
57
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
55
58
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
56
59
|
* instanceId: id,
|
|
57
60
|
* }));
|
|
@@ -72,14 +75,17 @@ const utilities = require("./utilities");
|
|
|
72
75
|
*
|
|
73
76
|
* // Instance
|
|
74
77
|
* const instance = new cloudamqp.Instance("instance", {
|
|
78
|
+
* name: "Instance",
|
|
75
79
|
* plan: "bunny-1",
|
|
76
80
|
* region: "amazon-web-services::us-west-2",
|
|
77
81
|
* });
|
|
78
82
|
* // Resize disk with 25 extra GB, without downtime
|
|
79
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
83
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
80
84
|
* instanceId: instance.id,
|
|
81
85
|
* extraDiskSize: 25,
|
|
82
86
|
* });
|
|
87
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
88
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
83
89
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
84
90
|
* instanceId: id,
|
|
85
91
|
* }));
|
|
@@ -100,14 +106,17 @@ const utilities = require("./utilities");
|
|
|
100
106
|
*
|
|
101
107
|
* // Instance
|
|
102
108
|
* const instance = new cloudamqp.Instance("instance", {
|
|
109
|
+
* name: "Instance",
|
|
103
110
|
* plan: "bunny-1",
|
|
104
111
|
* region: "google-compute-engine::us-central1",
|
|
105
112
|
* });
|
|
106
113
|
* // Resize disk with 25 extra GB, without downtime
|
|
107
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
114
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
108
115
|
* instanceId: instance.id,
|
|
109
116
|
* extraDiskSize: 25,
|
|
110
117
|
* });
|
|
118
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
119
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
111
120
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
112
121
|
* instanceId: id,
|
|
113
122
|
* }));
|
|
@@ -128,21 +137,25 @@ const utilities = require("./utilities");
|
|
|
128
137
|
*
|
|
129
138
|
* // Instance
|
|
130
139
|
* const instance = new cloudamqp.Instance("instance", {
|
|
140
|
+
* name: "Instance",
|
|
131
141
|
* plan: "bunny-1",
|
|
132
142
|
* region: "azure-arm::centralus",
|
|
133
143
|
* });
|
|
134
144
|
* // Resize disk with 25 extra GB, with downtime
|
|
135
|
-
* const resizeDisk = new cloudamqp.ExtraDiskSize("
|
|
145
|
+
* const resizeDisk = new cloudamqp.ExtraDiskSize("resize_disk", {
|
|
136
146
|
* instanceId: instance.id,
|
|
137
147
|
* extraDiskSize: 25,
|
|
138
148
|
* allowDowntime: true,
|
|
139
149
|
* });
|
|
150
|
+
* // Optional, refresh nodes info after disk resize by adding dependency
|
|
151
|
+
* // to cloudamqp_extra_disk_size.resize_disk resource
|
|
140
152
|
* const nodes = instance.id.apply(id => cloudamqp.getNodesOutput({
|
|
141
153
|
* instanceId: id,
|
|
142
154
|
* }));
|
|
143
155
|
* ```
|
|
144
156
|
*
|
|
145
157
|
* </details>
|
|
158
|
+
*
|
|
146
159
|
* ## Attributes reference
|
|
147
160
|
*
|
|
148
161
|
* All attributes reference are computed
|
package/extraDiskSize.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extraDiskSize.js","sourceRoot":"","sources":["../extra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,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;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;;AAxFL,sCAyFC;AA3EG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/getAccount.d.ts
CHANGED
|
@@ -2,39 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* Can be used in other resources/data sources when instance identifier is unknown, while other attributes are known. E.g. find correct instance from `instance name`. Then iterate over instances to find the matching one and extract the instance identifier.
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
13
|
-
*
|
|
14
|
-
* const instanceName = "<instance_name>";
|
|
15
|
-
* const instanceList = cloudamqp.getAccount({});
|
|
16
|
-
* export const instanceId = <nil>;
|
|
17
|
-
* ```
|
|
18
|
-
* ## Attributes reference
|
|
19
|
-
*
|
|
20
|
-
* All attributes reference are computed
|
|
21
|
-
*
|
|
22
|
-
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
23
|
-
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
24
|
-
*
|
|
25
|
-
* ***
|
|
26
|
-
*
|
|
27
|
-
* The `instances` block consist of
|
|
28
|
-
*
|
|
29
|
-
* * `id` - The instance identifier.
|
|
30
|
-
* * `name` - The name of the instance.
|
|
31
|
-
* * `plan` - The subscription plan used for the instance.
|
|
32
|
-
* * `region` - The region were the instanece is located in.
|
|
33
|
-
* * `tags` - Optional tags set for the instance.
|
|
34
|
-
*
|
|
35
|
-
* ## Dependency
|
|
36
|
-
*
|
|
37
|
-
* This data source depends on apikey set in the provider configuration.
|
|
38
5
|
*/
|
|
39
6
|
export declare function getAccount(opts?: pulumi.InvokeOptions): Promise<GetAccountResult>;
|
|
40
7
|
/**
|
|
@@ -49,38 +16,5 @@ export interface GetAccountResult {
|
|
|
49
16
|
}
|
|
50
17
|
/**
|
|
51
18
|
* Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
|
|
52
|
-
*
|
|
53
|
-
* ## Example Usage
|
|
54
|
-
*
|
|
55
|
-
* Can be used in other resources/data sources when instance identifier is unknown, while other attributes are known. E.g. find correct instance from `instance name`. Then iterate over instances to find the matching one and extract the instance identifier.
|
|
56
|
-
*
|
|
57
|
-
* ```typescript
|
|
58
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
-
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
60
|
-
*
|
|
61
|
-
* const instanceName = "<instance_name>";
|
|
62
|
-
* const instanceList = cloudamqp.getAccount({});
|
|
63
|
-
* export const instanceId = <nil>;
|
|
64
|
-
* ```
|
|
65
|
-
* ## Attributes reference
|
|
66
|
-
*
|
|
67
|
-
* All attributes reference are computed
|
|
68
|
-
*
|
|
69
|
-
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
70
|
-
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
71
|
-
*
|
|
72
|
-
* ***
|
|
73
|
-
*
|
|
74
|
-
* The `instances` block consist of
|
|
75
|
-
*
|
|
76
|
-
* * `id` - The instance identifier.
|
|
77
|
-
* * `name` - The name of the instance.
|
|
78
|
-
* * `plan` - The subscription plan used for the instance.
|
|
79
|
-
* * `region` - The region were the instanece is located in.
|
|
80
|
-
* * `tags` - Optional tags set for the instance.
|
|
81
|
-
*
|
|
82
|
-
* ## Dependency
|
|
83
|
-
*
|
|
84
|
-
* This data source depends on apikey set in the provider configuration.
|
|
85
19
|
*/
|
|
86
20
|
export declare function getAccountOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetAccountResult>;
|
package/getAccount.js
CHANGED
|
@@ -7,39 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* Can be used in other resources/data sources when instance identifier is unknown, while other attributes are known. E.g. find correct instance from `instance name`. Then iterate over instances to find the matching one and extract the instance identifier.
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
18
|
-
*
|
|
19
|
-
* const instanceName = "<instance_name>";
|
|
20
|
-
* const instanceList = cloudamqp.getAccount({});
|
|
21
|
-
* export const instanceId = <nil>;
|
|
22
|
-
* ```
|
|
23
|
-
* ## Attributes reference
|
|
24
|
-
*
|
|
25
|
-
* All attributes reference are computed
|
|
26
|
-
*
|
|
27
|
-
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
28
|
-
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
29
|
-
*
|
|
30
|
-
* ***
|
|
31
|
-
*
|
|
32
|
-
* The `instances` block consist of
|
|
33
|
-
*
|
|
34
|
-
* * `id` - The instance identifier.
|
|
35
|
-
* * `name` - The name of the instance.
|
|
36
|
-
* * `plan` - The subscription plan used for the instance.
|
|
37
|
-
* * `region` - The region were the instanece is located in.
|
|
38
|
-
* * `tags` - Optional tags set for the instance.
|
|
39
|
-
*
|
|
40
|
-
* ## Dependency
|
|
41
|
-
*
|
|
42
|
-
* This data source depends on apikey set in the provider configuration.
|
|
43
10
|
*/
|
|
44
11
|
function getAccount(opts) {
|
|
45
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -48,39 +15,6 @@ function getAccount(opts) {
|
|
|
48
15
|
exports.getAccount = getAccount;
|
|
49
16
|
/**
|
|
50
17
|
* Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
|
|
51
|
-
*
|
|
52
|
-
* ## Example Usage
|
|
53
|
-
*
|
|
54
|
-
* Can be used in other resources/data sources when instance identifier is unknown, while other attributes are known. E.g. find correct instance from `instance name`. Then iterate over instances to find the matching one and extract the instance identifier.
|
|
55
|
-
*
|
|
56
|
-
* ```typescript
|
|
57
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
-
* import * as cloudamqp from "@pulumi/cloudamqp";
|
|
59
|
-
*
|
|
60
|
-
* const instanceName = "<instance_name>";
|
|
61
|
-
* const instanceList = cloudamqp.getAccount({});
|
|
62
|
-
* export const instanceId = <nil>;
|
|
63
|
-
* ```
|
|
64
|
-
* ## Attributes reference
|
|
65
|
-
*
|
|
66
|
-
* All attributes reference are computed
|
|
67
|
-
*
|
|
68
|
-
* * `id` - The identifier for this data source. Set to `na` since there is no unique identifier.
|
|
69
|
-
* * `instances` - An array of instances. Each `instances` block consists of the fields documented below.
|
|
70
|
-
*
|
|
71
|
-
* ***
|
|
72
|
-
*
|
|
73
|
-
* The `instances` block consist of
|
|
74
|
-
*
|
|
75
|
-
* * `id` - The instance identifier.
|
|
76
|
-
* * `name` - The name of the instance.
|
|
77
|
-
* * `plan` - The subscription plan used for the instance.
|
|
78
|
-
* * `region` - The region were the instanece is located in.
|
|
79
|
-
* * `tags` - Optional tags set for the instance.
|
|
80
|
-
*
|
|
81
|
-
* ## Dependency
|
|
82
|
-
*
|
|
83
|
-
* This data source depends on apikey set in the provider configuration.
|
|
84
18
|
*/
|
|
85
19
|
function getAccountOutput(opts) {
|
|
86
20
|
return pulumi.output(getAccount(opts));
|
package/getAccount.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAccount.js","sourceRoot":"","sources":["../getAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAElD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE,EACrE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAYD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B;IACxD,OAAO,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAA;AAC1C,CAAC;AAFD,4CAEC"}
|
package/getAccountVpcs.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* const vpcList = cloudamqp.getAccountVpcs({});
|
|
16
16
|
* export const vpcId = vpcList.then(vpcList => .filter(vpc => vpc.name == myVpcName).map(vpc => (vpc))[0].id);
|
|
17
17
|
* ```
|
|
18
|
+
*
|
|
18
19
|
* ## Attributes reference
|
|
19
20
|
*
|
|
20
21
|
* All attributes reference are computed
|
|
@@ -63,6 +64,7 @@ export interface GetAccountVpcsResult {
|
|
|
63
64
|
* const vpcList = cloudamqp.getAccountVpcs({});
|
|
64
65
|
* export const vpcId = vpcList.then(vpcList => .filter(vpc => vpc.name == myVpcName).map(vpc => (vpc))[0].id);
|
|
65
66
|
* ```
|
|
67
|
+
*
|
|
66
68
|
* ## Attributes reference
|
|
67
69
|
*
|
|
68
70
|
* All attributes reference are computed
|
package/getAccountVpcs.js
CHANGED
|
@@ -20,6 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* const vpcList = cloudamqp.getAccountVpcs({});
|
|
21
21
|
* export const vpcId = vpcList.then(vpcList => .filter(vpc => vpc.name == myVpcName).map(vpc => (vpc))[0].id);
|
|
22
22
|
* ```
|
|
23
|
+
*
|
|
23
24
|
* ## Attributes reference
|
|
24
25
|
*
|
|
25
26
|
* All attributes reference are computed
|
|
@@ -62,6 +63,7 @@ exports.getAccountVpcs = getAccountVpcs;
|
|
|
62
63
|
* const vpcList = cloudamqp.getAccountVpcs({});
|
|
63
64
|
* export const vpcId = vpcList.then(vpcList => .filter(vpc => vpc.name == myVpcName).map(vpc => (vpc))[0].id);
|
|
64
65
|
* ```
|
|
66
|
+
*
|
|
65
67
|
* ## Attributes reference
|
|
66
68
|
*
|
|
67
69
|
* All attributes reference are computed
|
package/getAccountVpcs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccountVpcs.js","sourceRoot":"","sources":["../getAccountVpcs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAccountVpcs.js","sourceRoot":"","sources":["../getAccountVpcs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,cAAc,CAAC,IAA2B;IAEtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE,EAC7E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAYD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAFD,oDAEC"}
|