pulumi-consul 3.12.5__py3-none-any.whl → 3.13.0__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-consul might be problematic. Click here for more details.
- pulumi_consul/__init__.py +1 -1
- pulumi_consul/_inputs.py +1 -1
- pulumi_consul/_utilities.py +1 -1
- pulumi_consul/acl_auth_method.py +2 -4
- pulumi_consul/acl_binding_rule.py +2 -4
- pulumi_consul/acl_policy.py +2 -4
- pulumi_consul/acl_role.py +2 -4
- pulumi_consul/acl_role_policy_attachment.py +2 -4
- pulumi_consul/acl_token.py +2 -4
- pulumi_consul/acl_token_policy_attachment.py +2 -4
- pulumi_consul/acl_token_role_attachment.py +2 -4
- pulumi_consul/admin_partition.py +49 -4
- pulumi_consul/agent_service.py +2 -4
- pulumi_consul/autopilot_config.py +2 -4
- pulumi_consul/catalog_entry.py +2 -4
- pulumi_consul/certificate_authority.py +2 -4
- pulumi_consul/config/__init__.py +1 -1
- pulumi_consul/config/__init__.pyi +1 -1
- pulumi_consul/config/outputs.py +1 -1
- pulumi_consul/config/vars.py +1 -1
- pulumi_consul/config_entry.py +2 -4
- pulumi_consul/config_entry_service_defaults.py +2 -4
- pulumi_consul/config_entry_service_intentions.py +2 -4
- pulumi_consul/config_entry_service_resolver.py +2 -4
- pulumi_consul/config_entry_service_router.py +2 -4
- pulumi_consul/config_entry_service_splitter.py +2 -4
- pulumi_consul/config_entry_v2_exported_services.py +2 -4
- pulumi_consul/get_acl_auth_method.py +1 -1
- pulumi_consul/get_acl_policy.py +1 -1
- pulumi_consul/get_acl_role.py +1 -1
- pulumi_consul/get_acl_token.py +1 -1
- pulumi_consul/get_acl_token_secret_id.py +1 -1
- pulumi_consul/get_agent_config.py +1 -1
- pulumi_consul/get_agent_self.py +1 -1
- pulumi_consul/get_autopilot_health.py +1 -1
- pulumi_consul/get_catalog_nodes.py +1 -1
- pulumi_consul/get_catalog_service.py +1 -1
- pulumi_consul/get_catalog_services.py +1 -1
- pulumi_consul/get_config_entry.py +1 -1
- pulumi_consul/get_config_entry_v2_exported_services.py +1 -1
- pulumi_consul/get_datacenters.py +1 -1
- pulumi_consul/get_key_prefix.py +1 -1
- pulumi_consul/get_keys.py +1 -1
- pulumi_consul/get_network_area_members.py +1 -1
- pulumi_consul/get_network_segments.py +1 -1
- pulumi_consul/get_nodes.py +1 -1
- pulumi_consul/get_peering.py +1 -1
- pulumi_consul/get_peerings.py +1 -1
- pulumi_consul/get_service.py +1 -1
- pulumi_consul/get_service_health.py +1 -1
- pulumi_consul/get_services.py +1 -1
- pulumi_consul/intention.py +2 -4
- pulumi_consul/key_prefix.py +2 -4
- pulumi_consul/keys.py +2 -4
- pulumi_consul/license.py +2 -4
- pulumi_consul/namespace.py +2 -4
- pulumi_consul/namespace_policy_attachment.py +2 -4
- pulumi_consul/namespace_role_attachment.py +2 -4
- pulumi_consul/network_area.py +2 -4
- pulumi_consul/node.py +2 -4
- pulumi_consul/outputs.py +1 -1
- pulumi_consul/peering.py +2 -4
- pulumi_consul/peering_token.py +2 -4
- pulumi_consul/prepared_query.py +2 -4
- pulumi_consul/provider.py +22 -4
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +51 -6
- {pulumi_consul-3.12.5.dist-info → pulumi_consul-3.13.0.dist-info}/METADATA +3 -3
- pulumi_consul-3.13.0.dist-info/RECORD +72 -0
- {pulumi_consul-3.12.5.dist-info → pulumi_consul-3.13.0.dist-info}/WHEEL +1 -1
- pulumi_consul-3.12.5.dist-info/RECORD +0 -72
- {pulumi_consul-3.12.5.dist-info → pulumi_consul-3.13.0.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/get_datacenters.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/get_key_prefix.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/get_keys.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/get_nodes.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/get_peering.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/get_peerings.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/get_service.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/get_services.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/intention.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -314,10 +314,8 @@ class _IntentionState:
|
|
|
314
314
|
pulumi.set(self, "source_namespace", value)
|
|
315
315
|
|
|
316
316
|
|
|
317
|
+
@pulumi.type_token("consul:index/intention:Intention")
|
|
317
318
|
class Intention(pulumi.CustomResource):
|
|
318
|
-
|
|
319
|
-
pulumi_type = "consul:index/intention:Intention"
|
|
320
|
-
|
|
321
319
|
@overload
|
|
322
320
|
def __init__(__self__,
|
|
323
321
|
resource_name: str,
|
pulumi_consul/key_prefix.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -304,10 +304,8 @@ Please use the token argument in the provider configuration""")
|
|
|
304
304
|
pulumi.set(self, "token", value)
|
|
305
305
|
|
|
306
306
|
|
|
307
|
+
@pulumi.type_token("consul:index/keyPrefix:KeyPrefix")
|
|
307
308
|
class KeyPrefix(pulumi.CustomResource):
|
|
308
|
-
|
|
309
|
-
pulumi_type = "consul:index/keyPrefix:KeyPrefix"
|
|
310
|
-
|
|
311
309
|
@overload
|
|
312
310
|
def __init__(__self__,
|
|
313
311
|
resource_name: str,
|
pulumi_consul/keys.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -233,10 +233,8 @@ Please use the token argument in the provider configuration""")
|
|
|
233
233
|
pulumi.set(self, "var", value)
|
|
234
234
|
|
|
235
235
|
|
|
236
|
+
@pulumi.type_token("consul:index/keys:Keys")
|
|
236
237
|
class Keys(pulumi.CustomResource):
|
|
237
|
-
|
|
238
|
-
pulumi_type = "consul:index/keys:Keys"
|
|
239
|
-
|
|
240
238
|
@overload
|
|
241
239
|
def __init__(__self__,
|
|
242
240
|
resource_name: str,
|
pulumi_consul/license.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -260,10 +260,8 @@ class _LicenseState:
|
|
|
260
260
|
pulumi.set(self, "warnings", value)
|
|
261
261
|
|
|
262
262
|
|
|
263
|
+
@pulumi.type_token("consul:index/license:License")
|
|
263
264
|
class License(pulumi.CustomResource):
|
|
264
|
-
|
|
265
|
-
pulumi_type = "consul:index/license:License"
|
|
266
|
-
|
|
267
265
|
@overload
|
|
268
266
|
def __init__(__self__,
|
|
269
267
|
resource_name: str,
|
pulumi_consul/namespace.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -225,10 +225,8 @@ class _NamespaceState:
|
|
|
225
225
|
pulumi.set(self, "role_defaults", value)
|
|
226
226
|
|
|
227
227
|
|
|
228
|
+
@pulumi.type_token("consul:index/namespace:Namespace")
|
|
228
229
|
class Namespace(pulumi.CustomResource):
|
|
229
|
-
|
|
230
|
-
pulumi_type = "consul:index/namespace:Namespace"
|
|
231
|
-
|
|
232
230
|
@overload
|
|
233
231
|
def __init__(__self__,
|
|
234
232
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -95,10 +95,8 @@ class _NamespacePolicyAttachmentState:
|
|
|
95
95
|
pulumi.set(self, "policy", value)
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
@pulumi.type_token("consul:index/namespacePolicyAttachment:NamespacePolicyAttachment")
|
|
98
99
|
class NamespacePolicyAttachment(pulumi.CustomResource):
|
|
99
|
-
|
|
100
|
-
pulumi_type = "consul:index/namespacePolicyAttachment:NamespacePolicyAttachment"
|
|
101
|
-
|
|
102
100
|
@overload
|
|
103
101
|
def __init__(__self__,
|
|
104
102
|
resource_name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -95,10 +95,8 @@ class _NamespaceRoleAttachmentState:
|
|
|
95
95
|
pulumi.set(self, "role", value)
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
@pulumi.type_token("consul:index/namespaceRoleAttachment:NamespaceRoleAttachment")
|
|
98
99
|
class NamespaceRoleAttachment(pulumi.CustomResource):
|
|
99
|
-
|
|
100
|
-
pulumi_type = "consul:index/namespaceRoleAttachment:NamespaceRoleAttachment"
|
|
101
|
-
|
|
102
100
|
@overload
|
|
103
101
|
def __init__(__self__,
|
|
104
102
|
resource_name: str,
|
pulumi_consul/network_area.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -226,10 +226,8 @@ Please use the token argument in the provider configuration""")
|
|
|
226
226
|
pulumi.set(self, "use_tls", value)
|
|
227
227
|
|
|
228
228
|
|
|
229
|
+
@pulumi.type_token("consul:index/networkArea:NetworkArea")
|
|
229
230
|
class NetworkArea(pulumi.CustomResource):
|
|
230
|
-
|
|
231
|
-
pulumi_type = "consul:index/networkArea:NetworkArea"
|
|
232
|
-
|
|
233
231
|
@overload
|
|
234
232
|
def __init__(__self__,
|
|
235
233
|
resource_name: str,
|
pulumi_consul/node.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -230,10 +230,8 @@ Please use the token argument in the provider configuration""")
|
|
|
230
230
|
pulumi.set(self, "token", value)
|
|
231
231
|
|
|
232
232
|
|
|
233
|
+
@pulumi.type_token("consul:index/node:Node")
|
|
233
234
|
class Node(pulumi.CustomResource):
|
|
234
|
-
|
|
235
|
-
pulumi_type = "consul:index/node:Node"
|
|
236
|
-
|
|
237
235
|
@overload
|
|
238
236
|
def __init__(__self__,
|
|
239
237
|
resource_name: str,
|
pulumi_consul/outputs.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
pulumi_consul/peering.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -223,10 +223,8 @@ class _PeeringState:
|
|
|
223
223
|
pulumi.set(self, "state", value)
|
|
224
224
|
|
|
225
225
|
|
|
226
|
+
@pulumi.type_token("consul:index/peering:Peering")
|
|
226
227
|
class Peering(pulumi.CustomResource):
|
|
227
|
-
|
|
228
|
-
pulumi_type = "consul:index/peering:Peering"
|
|
229
|
-
|
|
230
228
|
@overload
|
|
231
229
|
def __init__(__self__,
|
|
232
230
|
resource_name: str,
|
pulumi_consul/peering_token.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -168,10 +168,8 @@ class _PeeringTokenState:
|
|
|
168
168
|
pulumi.set(self, "server_external_addresses", value)
|
|
169
169
|
|
|
170
170
|
|
|
171
|
+
@pulumi.type_token("consul:index/peeringToken:PeeringToken")
|
|
171
172
|
class PeeringToken(pulumi.CustomResource):
|
|
172
|
-
|
|
173
|
-
pulumi_type = "consul:index/peeringToken:PeeringToken"
|
|
174
|
-
|
|
175
173
|
@overload
|
|
176
174
|
def __init__(__self__,
|
|
177
175
|
resource_name: str,
|
pulumi_consul/prepared_query.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -560,10 +560,8 @@ Please use the token argument in the provider configuration""")
|
|
|
560
560
|
pulumi.set(self, "token", value)
|
|
561
561
|
|
|
562
562
|
|
|
563
|
+
@pulumi.type_token("consul:index/preparedQuery:PreparedQuery")
|
|
563
564
|
class PreparedQuery(pulumi.CustomResource):
|
|
564
|
-
|
|
565
|
-
pulumi_type = "consul:index/preparedQuery:PreparedQuery"
|
|
566
|
-
|
|
567
565
|
@overload
|
|
568
566
|
def __init__(__self__,
|
|
569
567
|
resource_name: str,
|
pulumi_consul/provider.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -288,10 +288,8 @@ class ProviderArgs:
|
|
|
288
288
|
pulumi.set(self, "token", value)
|
|
289
289
|
|
|
290
290
|
|
|
291
|
+
@pulumi.type_token("pulumi:providers:consul")
|
|
291
292
|
class Provider(pulumi.ProviderResource):
|
|
292
|
-
|
|
293
|
-
pulumi_type = "pulumi:providers:consul"
|
|
294
|
-
|
|
295
293
|
@overload
|
|
296
294
|
def __init__(__self__,
|
|
297
295
|
resource_name: str,
|
|
@@ -522,3 +520,23 @@ class Provider(pulumi.ProviderResource):
|
|
|
522
520
|
"""
|
|
523
521
|
return pulumi.get(self, "token")
|
|
524
522
|
|
|
523
|
+
@pulumi.output_type
|
|
524
|
+
class TerraformConfigResult:
|
|
525
|
+
def __init__(__self__, result=None):
|
|
526
|
+
if result and not isinstance(result, dict):
|
|
527
|
+
raise TypeError("Expected argument 'result' to be a dict")
|
|
528
|
+
pulumi.set(__self__, "result", result)
|
|
529
|
+
|
|
530
|
+
@property
|
|
531
|
+
@pulumi.getter
|
|
532
|
+
def result(self) -> Mapping[str, Any]:
|
|
533
|
+
return pulumi.get(self, "result")
|
|
534
|
+
|
|
535
|
+
def terraform_config(__self__) -> pulumi.Output['Provider.TerraformConfigResult']:
|
|
536
|
+
"""
|
|
537
|
+
This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
|
538
|
+
"""
|
|
539
|
+
__args__ = dict()
|
|
540
|
+
__args__['__self__'] = __self__
|
|
541
|
+
return pulumi.runtime.call('pulumi:providers:consul/terraformConfig', __args__, res=__self__, typ=Provider.TerraformConfigResult)
|
|
542
|
+
|
pulumi_consul/pulumi-plugin.json
CHANGED
pulumi_consul/service.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
5
|
import builtins
|
|
@@ -34,7 +34,8 @@ class ServiceArgs:
|
|
|
34
34
|
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
35
|
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
36
36
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None
|
|
37
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
38
|
+
weights: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]] = None):
|
|
38
39
|
"""
|
|
39
40
|
The set of arguments for constructing a Service resource.
|
|
40
41
|
:param pulumi.Input[builtins.str] node: The name of the node the to register the service on.
|
|
@@ -48,6 +49,7 @@ class ServiceArgs:
|
|
|
48
49
|
:param pulumi.Input[builtins.int] port: The port of the service.
|
|
49
50
|
:param pulumi.Input[builtins.str] service_id: If the service ID is not provided, it will be defaulted to the value of the `name` attribute.
|
|
50
51
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.
|
|
52
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]] weights: Object that configures how the service responds to DNS SRV requests based on the service's health status. You can specify one or more of the following states and configure an integer value indicating its weight: `passing`, `warning`.
|
|
51
53
|
"""
|
|
52
54
|
pulumi.set(__self__, "node", node)
|
|
53
55
|
if address is not None:
|
|
@@ -77,6 +79,8 @@ class ServiceArgs:
|
|
|
77
79
|
pulumi.set(__self__, "service_id", service_id)
|
|
78
80
|
if tags is not None:
|
|
79
81
|
pulumi.set(__self__, "tags", tags)
|
|
82
|
+
if weights is not None:
|
|
83
|
+
pulumi.set(__self__, "weights", weights)
|
|
80
84
|
|
|
81
85
|
@property
|
|
82
86
|
@pulumi.getter
|
|
@@ -229,6 +233,18 @@ class ServiceArgs:
|
|
|
229
233
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
230
234
|
pulumi.set(self, "tags", value)
|
|
231
235
|
|
|
236
|
+
@property
|
|
237
|
+
@pulumi.getter
|
|
238
|
+
def weights(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]]:
|
|
239
|
+
"""
|
|
240
|
+
Object that configures how the service responds to DNS SRV requests based on the service's health status. You can specify one or more of the following states and configure an integer value indicating its weight: `passing`, `warning`.
|
|
241
|
+
"""
|
|
242
|
+
return pulumi.get(self, "weights")
|
|
243
|
+
|
|
244
|
+
@weights.setter
|
|
245
|
+
def weights(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]]):
|
|
246
|
+
pulumi.set(self, "weights", value)
|
|
247
|
+
|
|
232
248
|
|
|
233
249
|
@pulumi.input_type
|
|
234
250
|
class _ServiceState:
|
|
@@ -245,7 +261,8 @@ class _ServiceState:
|
|
|
245
261
|
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
246
262
|
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
247
263
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
248
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None
|
|
264
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
265
|
+
weights: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]] = None):
|
|
249
266
|
"""
|
|
250
267
|
Input properties used for looking up and filtering Service resources.
|
|
251
268
|
:param pulumi.Input[builtins.str] address: The address of the service. Defaults to the address of the node.
|
|
@@ -259,6 +276,7 @@ class _ServiceState:
|
|
|
259
276
|
:param pulumi.Input[builtins.int] port: The port of the service.
|
|
260
277
|
:param pulumi.Input[builtins.str] service_id: If the service ID is not provided, it will be defaulted to the value of the `name` attribute.
|
|
261
278
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.
|
|
279
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]] weights: Object that configures how the service responds to DNS SRV requests based on the service's health status. You can specify one or more of the following states and configure an integer value indicating its weight: `passing`, `warning`.
|
|
262
280
|
"""
|
|
263
281
|
if address is not None:
|
|
264
282
|
pulumi.set(__self__, "address", address)
|
|
@@ -289,6 +307,8 @@ class _ServiceState:
|
|
|
289
307
|
pulumi.set(__self__, "service_id", service_id)
|
|
290
308
|
if tags is not None:
|
|
291
309
|
pulumi.set(__self__, "tags", tags)
|
|
310
|
+
if weights is not None:
|
|
311
|
+
pulumi.set(__self__, "weights", weights)
|
|
292
312
|
|
|
293
313
|
@property
|
|
294
314
|
@pulumi.getter
|
|
@@ -441,11 +461,21 @@ class _ServiceState:
|
|
|
441
461
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
442
462
|
pulumi.set(self, "tags", value)
|
|
443
463
|
|
|
464
|
+
@property
|
|
465
|
+
@pulumi.getter
|
|
466
|
+
def weights(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]]:
|
|
467
|
+
"""
|
|
468
|
+
Object that configures how the service responds to DNS SRV requests based on the service's health status. You can specify one or more of the following states and configure an integer value indicating its weight: `passing`, `warning`.
|
|
469
|
+
"""
|
|
470
|
+
return pulumi.get(self, "weights")
|
|
444
471
|
|
|
445
|
-
|
|
472
|
+
@weights.setter
|
|
473
|
+
def weights(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]]):
|
|
474
|
+
pulumi.set(self, "weights", value)
|
|
446
475
|
|
|
447
|
-
pulumi_type = "consul:index/service:Service"
|
|
448
476
|
|
|
477
|
+
@pulumi.type_token("consul:index/service:Service")
|
|
478
|
+
class Service(pulumi.CustomResource):
|
|
449
479
|
@overload
|
|
450
480
|
def __init__(__self__,
|
|
451
481
|
resource_name: str,
|
|
@@ -463,6 +493,7 @@ class Service(pulumi.CustomResource):
|
|
|
463
493
|
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
464
494
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
465
495
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
496
|
+
weights: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]] = None,
|
|
466
497
|
__props__=None):
|
|
467
498
|
"""
|
|
468
499
|
A high-level resource for creating a Service in Consul in the Consul catalog. This
|
|
@@ -550,6 +581,7 @@ class Service(pulumi.CustomResource):
|
|
|
550
581
|
:param pulumi.Input[builtins.int] port: The port of the service.
|
|
551
582
|
:param pulumi.Input[builtins.str] service_id: If the service ID is not provided, it will be defaulted to the value of the `name` attribute.
|
|
552
583
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.
|
|
584
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]] weights: Object that configures how the service responds to DNS SRV requests based on the service's health status. You can specify one or more of the following states and configure an integer value indicating its weight: `passing`, `warning`.
|
|
553
585
|
"""
|
|
554
586
|
...
|
|
555
587
|
@overload
|
|
@@ -658,6 +690,7 @@ class Service(pulumi.CustomResource):
|
|
|
658
690
|
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
659
691
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
660
692
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
693
|
+
weights: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]] = None,
|
|
661
694
|
__props__=None):
|
|
662
695
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
663
696
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -682,6 +715,7 @@ class Service(pulumi.CustomResource):
|
|
|
682
715
|
__props__.__dict__["port"] = port
|
|
683
716
|
__props__.__dict__["service_id"] = service_id
|
|
684
717
|
__props__.__dict__["tags"] = tags
|
|
718
|
+
__props__.__dict__["weights"] = weights
|
|
685
719
|
super(Service, __self__).__init__(
|
|
686
720
|
'consul:index/service:Service',
|
|
687
721
|
resource_name,
|
|
@@ -704,7 +738,8 @@ class Service(pulumi.CustomResource):
|
|
|
704
738
|
partition: Optional[pulumi.Input[builtins.str]] = None,
|
|
705
739
|
port: Optional[pulumi.Input[builtins.int]] = None,
|
|
706
740
|
service_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
707
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None
|
|
741
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
742
|
+
weights: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]]] = None) -> 'Service':
|
|
708
743
|
"""
|
|
709
744
|
Get an existing Service resource's state with the given name, id, and optional extra
|
|
710
745
|
properties used to qualify the lookup.
|
|
@@ -723,6 +758,7 @@ class Service(pulumi.CustomResource):
|
|
|
723
758
|
:param pulumi.Input[builtins.int] port: The port of the service.
|
|
724
759
|
:param pulumi.Input[builtins.str] service_id: If the service ID is not provided, it will be defaulted to the value of the `name` attribute.
|
|
725
760
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.
|
|
761
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.int]]] weights: Object that configures how the service responds to DNS SRV requests based on the service's health status. You can specify one or more of the following states and configure an integer value indicating its weight: `passing`, `warning`.
|
|
726
762
|
"""
|
|
727
763
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
728
764
|
|
|
@@ -741,6 +777,7 @@ class Service(pulumi.CustomResource):
|
|
|
741
777
|
__props__.__dict__["port"] = port
|
|
742
778
|
__props__.__dict__["service_id"] = service_id
|
|
743
779
|
__props__.__dict__["tags"] = tags
|
|
780
|
+
__props__.__dict__["weights"] = weights
|
|
744
781
|
return Service(resource_name, opts=opts, __props__=__props__)
|
|
745
782
|
|
|
746
783
|
@property
|
|
@@ -842,3 +879,11 @@ class Service(pulumi.CustomResource):
|
|
|
842
879
|
"""
|
|
843
880
|
return pulumi.get(self, "tags")
|
|
844
881
|
|
|
882
|
+
@property
|
|
883
|
+
@pulumi.getter
|
|
884
|
+
def weights(self) -> pulumi.Output[Optional[Mapping[str, builtins.int]]]:
|
|
885
|
+
"""
|
|
886
|
+
Object that configures how the service responds to DNS SRV requests based on the service's health status. You can specify one or more of the following states and configure an integer value indicating its weight: `passing`, `warning`.
|
|
887
|
+
"""
|
|
888
|
+
return pulumi.get(self, "weights")
|
|
889
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pulumi_consul
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.13.0
|
|
4
4
|
Summary: A Pulumi package for creating and managing consul resources.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://pulumi.io
|
|
@@ -9,9 +9,9 @@ Keywords: pulumi,consul
|
|
|
9
9
|
Requires-Python: >=3.9
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
Requires-Dist: parver>=0.2.1
|
|
12
|
-
Requires-Dist: pulumi<4.0.0,>=3.
|
|
12
|
+
Requires-Dist: pulumi<4.0.0,>=3.165.0
|
|
13
13
|
Requires-Dist: semver>=2.8.1
|
|
14
|
-
Requires-Dist: typing-extensions
|
|
14
|
+
Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
|
|
15
15
|
|
|
16
16
|
[](https://github.com/pulumi/pulumi-consul/actions)
|
|
17
17
|
[](https://slack.pulumi.com)
|