pulumi-consul 3.13.0a1749706342__py3-none-any.whl → 3.14.0a1768432677__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.
- pulumi_consul/__init__.py +1 -1
- pulumi_consul/_inputs.py +1604 -1605
- pulumi_consul/acl_auth_method.py +174 -175
- pulumi_consul/acl_binding_rule.py +123 -124
- pulumi_consul/acl_policy.py +107 -108
- pulumi_consul/acl_role.py +95 -96
- pulumi_consul/acl_role_policy_attachment.py +35 -36
- pulumi_consul/acl_token.py +154 -155
- pulumi_consul/acl_token_policy_attachment.py +35 -36
- pulumi_consul/acl_token_role_attachment.py +35 -36
- pulumi_consul/admin_partition.py +82 -36
- pulumi_consul/agent_service.py +69 -70
- pulumi_consul/autopilot_config.py +137 -138
- pulumi_consul/catalog_entry.py +114 -73
- pulumi_consul/certificate_authority.py +44 -45
- pulumi_consul/config/__init__.py +1 -1
- pulumi_consul/config/__init__.pyi +6 -12
- pulumi_consul/config/outputs.py +24 -25
- pulumi_consul/config/vars.py +22 -28
- pulumi_consul/config_entry.py +86 -87
- pulumi_consul/config_entry_service_defaults.py +275 -224
- pulumi_consul/config_entry_service_intentions.py +75 -76
- pulumi_consul/config_entry_service_resolver.py +132 -133
- pulumi_consul/config_entry_service_router.py +72 -73
- pulumi_consul/config_entry_service_splitter.py +72 -73
- pulumi_consul/config_entry_v2_exported_services.py +137 -138
- pulumi_consul/get_acl_auth_method.py +36 -37
- pulumi_consul/get_acl_policy.py +27 -28
- pulumi_consul/get_acl_role.py +27 -28
- pulumi_consul/get_acl_token.py +32 -33
- pulumi_consul/get_acl_token_secret_id.py +29 -30
- pulumi_consul/get_agent_config.py +15 -16
- pulumi_consul/get_agent_self.py +149 -146
- pulumi_consul/get_autopilot_health.py +14 -15
- pulumi_consul/get_catalog_nodes.py +45 -12
- pulumi_consul/get_catalog_service.py +27 -28
- pulumi_consul/get_catalog_services.py +12 -13
- pulumi_consul/get_config_entry.py +29 -30
- pulumi_consul/get_config_entry_v2_exported_services.py +51 -52
- pulumi_consul/get_datacenters.py +73 -6
- pulumi_consul/get_key_prefix.py +38 -39
- pulumi_consul/get_keys.py +36 -37
- pulumi_consul/get_network_area_members.py +22 -23
- pulumi_consul/get_network_segments.py +17 -18
- pulumi_consul/get_nodes.py +45 -12
- pulumi_consul/get_peering.py +25 -26
- pulumi_consul/get_peerings.py +8 -9
- pulumi_consul/get_service.py +27 -28
- pulumi_consul/get_service_health.py +54 -51
- pulumi_consul/get_services.py +12 -13
- pulumi_consul/intention.py +137 -138
- pulumi_consul/key_prefix.py +106 -107
- pulumi_consul/keys.py +79 -80
- pulumi_consul/license.py +125 -126
- pulumi_consul/namespace.py +103 -104
- pulumi_consul/namespace_policy_attachment.py +35 -36
- pulumi_consul/namespace_role_attachment.py +35 -36
- pulumi_consul/network_area.py +86 -87
- pulumi_consul/node.py +99 -100
- pulumi_consul/outputs.py +1464 -1465
- pulumi_consul/peering.py +107 -108
- pulumi_consul/peering_token.py +74 -75
- pulumi_consul/prepared_query.py +231 -232
- pulumi_consul/provider.py +150 -169
- pulumi_consul/pulumi-plugin.json +1 -1
- pulumi_consul/service.py +251 -205
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/METADATA +1 -1
- pulumi_consul-3.14.0a1768432677.dist-info/RECORD +72 -0
- pulumi_consul-3.13.0a1749706342.dist-info/RECORD +0 -72
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/WHEEL +0 -0
- {pulumi_consul-3.13.0a1749706342.dist-info → pulumi_consul-3.14.0a1768432677.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -33,8 +32,7 @@ A path to a PEM-encoded certificate authority used to verify the remote agent's
|
|
|
33
32
|
|
|
34
33
|
caPath: Optional[str]
|
|
35
34
|
"""
|
|
36
|
-
A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server
|
|
37
|
-
connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
|
|
35
|
+
A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
|
|
38
36
|
"""
|
|
39
37
|
|
|
40
38
|
caPem: Optional[str]
|
|
@@ -59,20 +57,17 @@ The datacenter to use. Defaults to that of the agent.
|
|
|
59
57
|
|
|
60
58
|
headers: Optional[str]
|
|
61
59
|
"""
|
|
62
|
-
A configuration block, described below, that provides additional headers to be sent along with all requests to the
|
|
63
|
-
Consul server. This block can be specified multiple times.
|
|
60
|
+
A configuration block, described below, that provides additional headers to be sent along with all requests to the Consul server. This block can be specified multiple times.
|
|
64
61
|
"""
|
|
65
62
|
|
|
66
63
|
httpAuth: Optional[str]
|
|
67
64
|
"""
|
|
68
|
-
HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or
|
|
69
|
-
`user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
|
|
65
|
+
HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
|
|
70
66
|
"""
|
|
71
67
|
|
|
72
68
|
insecureHttps: Optional[bool]
|
|
73
69
|
"""
|
|
74
|
-
Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use.
|
|
75
|
-
Only use this with scheme set to "https".
|
|
70
|
+
Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use. Only use this with scheme set to "https".
|
|
76
71
|
"""
|
|
77
72
|
|
|
78
73
|
keyFile: Optional[str]
|
|
@@ -94,7 +89,6 @@ The URL scheme of the agent to use ("http" or "https"). Defaults to "http".
|
|
|
94
89
|
|
|
95
90
|
token: Optional[str]
|
|
96
91
|
"""
|
|
97
|
-
The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or
|
|
98
|
-
`CONSUL_TOKEN` as an environment variable.
|
|
92
|
+
The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or `CONSUL_TOKEN` as an environment variable.
|
|
99
93
|
"""
|
|
100
94
|
|
pulumi_consul/config/outputs.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -23,14 +22,14 @@ __all__ = [
|
|
|
23
22
|
@pulumi.output_type
|
|
24
23
|
class AuthJwt(dict):
|
|
25
24
|
def __init__(__self__, *,
|
|
26
|
-
auth_method:
|
|
27
|
-
bearer_token: Optional[
|
|
28
|
-
meta: Optional[Mapping[str,
|
|
29
|
-
use_terraform_cloud_workload_identity: Optional[
|
|
25
|
+
auth_method: _builtins.str,
|
|
26
|
+
bearer_token: Optional[_builtins.str] = None,
|
|
27
|
+
meta: Optional[Mapping[str, _builtins.str]] = None,
|
|
28
|
+
use_terraform_cloud_workload_identity: Optional[_builtins.bool] = None):
|
|
30
29
|
"""
|
|
31
|
-
:param
|
|
32
|
-
:param
|
|
33
|
-
:param Mapping[str,
|
|
30
|
+
:param _builtins.str auth_method: The name of the auth method to use for login.
|
|
31
|
+
:param _builtins.str bearer_token: The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).
|
|
32
|
+
:param Mapping[str, _builtins.str] meta: Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.
|
|
34
33
|
"""
|
|
35
34
|
pulumi.set(__self__, "auth_method", auth_method)
|
|
36
35
|
if bearer_token is not None:
|
|
@@ -40,59 +39,59 @@ class AuthJwt(dict):
|
|
|
40
39
|
if use_terraform_cloud_workload_identity is not None:
|
|
41
40
|
pulumi.set(__self__, "use_terraform_cloud_workload_identity", use_terraform_cloud_workload_identity)
|
|
42
41
|
|
|
43
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
44
43
|
@pulumi.getter(name="authMethod")
|
|
45
|
-
def auth_method(self) ->
|
|
44
|
+
def auth_method(self) -> _builtins.str:
|
|
46
45
|
"""
|
|
47
46
|
The name of the auth method to use for login.
|
|
48
47
|
"""
|
|
49
48
|
return pulumi.get(self, "auth_method")
|
|
50
49
|
|
|
51
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
52
51
|
@pulumi.getter(name="bearerToken")
|
|
53
|
-
def bearer_token(self) -> Optional[
|
|
52
|
+
def bearer_token(self) -> Optional[_builtins.str]:
|
|
54
53
|
"""
|
|
55
54
|
The bearer token to present to the auth method during login for authentication purposes. For the Kubernetes auth method this is a [Service Account Token (JWT)](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#service-account-tokens).
|
|
56
55
|
"""
|
|
57
56
|
return pulumi.get(self, "bearer_token")
|
|
58
57
|
|
|
59
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
60
59
|
@pulumi.getter
|
|
61
|
-
def meta(self) -> Optional[Mapping[str,
|
|
60
|
+
def meta(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
62
61
|
"""
|
|
63
62
|
Specifies arbitrary KV metadata linked to the token. Can be useful to track origins.
|
|
64
63
|
"""
|
|
65
64
|
return pulumi.get(self, "meta")
|
|
66
65
|
|
|
67
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
68
67
|
@pulumi.getter(name="useTerraformCloudWorkloadIdentity")
|
|
69
|
-
def use_terraform_cloud_workload_identity(self) -> Optional[
|
|
68
|
+
def use_terraform_cloud_workload_identity(self) -> Optional[_builtins.bool]:
|
|
70
69
|
return pulumi.get(self, "use_terraform_cloud_workload_identity")
|
|
71
70
|
|
|
72
71
|
|
|
73
72
|
@pulumi.output_type
|
|
74
73
|
class Headers(dict):
|
|
75
74
|
def __init__(__self__, *,
|
|
76
|
-
name:
|
|
77
|
-
value:
|
|
75
|
+
name: _builtins.str,
|
|
76
|
+
value: _builtins.str):
|
|
78
77
|
"""
|
|
79
|
-
:param
|
|
80
|
-
:param
|
|
78
|
+
:param _builtins.str name: The name of the header.
|
|
79
|
+
:param _builtins.str value: The value of the header.
|
|
81
80
|
"""
|
|
82
81
|
pulumi.set(__self__, "name", name)
|
|
83
82
|
pulumi.set(__self__, "value", value)
|
|
84
83
|
|
|
85
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
86
85
|
@pulumi.getter
|
|
87
|
-
def name(self) ->
|
|
86
|
+
def name(self) -> _builtins.str:
|
|
88
87
|
"""
|
|
89
88
|
The name of the header.
|
|
90
89
|
"""
|
|
91
90
|
return pulumi.get(self, "name")
|
|
92
91
|
|
|
93
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
94
93
|
@pulumi.getter
|
|
95
|
-
def value(self) ->
|
|
94
|
+
def value(self) -> _builtins.str:
|
|
96
95
|
"""
|
|
97
96
|
The value of the header.
|
|
98
97
|
"""
|
pulumi_consul/config/vars.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,117 +21,112 @@ __config__ = pulumi.Config('consul')
|
|
|
22
21
|
|
|
23
22
|
|
|
24
23
|
class _ExportableConfig(types.ModuleType):
|
|
25
|
-
@property
|
|
24
|
+
@_builtins.property
|
|
26
25
|
def address(self) -> Optional[str]:
|
|
27
26
|
"""
|
|
28
27
|
The HTTP(S) API address of the agent to use. Defaults to "127.0.0.1:8500".
|
|
29
28
|
"""
|
|
30
29
|
return __config__.get('address')
|
|
31
30
|
|
|
32
|
-
@property
|
|
31
|
+
@_builtins.property
|
|
33
32
|
def auth_jwt(self) -> Optional[str]:
|
|
34
33
|
"""
|
|
35
34
|
Authenticates to Consul using a JWT authentication method.
|
|
36
35
|
"""
|
|
37
36
|
return __config__.get('authJwt')
|
|
38
37
|
|
|
39
|
-
@property
|
|
38
|
+
@_builtins.property
|
|
40
39
|
def ca_file(self) -> Optional[str]:
|
|
41
40
|
"""
|
|
42
41
|
A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.
|
|
43
42
|
"""
|
|
44
43
|
return __config__.get('caFile')
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
def ca_path(self) -> Optional[str]:
|
|
48
47
|
"""
|
|
49
|
-
A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server
|
|
50
|
-
connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
|
|
48
|
+
A path to a directory of PEM-encoded certificate authority files to use to check the authenticity of client and server connections. Can also be specified with the `CONSUL_CAPATH` environment variable.
|
|
51
49
|
"""
|
|
52
50
|
return __config__.get('caPath')
|
|
53
51
|
|
|
54
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
55
53
|
def ca_pem(self) -> Optional[str]:
|
|
56
54
|
"""
|
|
57
55
|
PEM-encoded certificate authority used to verify the remote agent's certificate.
|
|
58
56
|
"""
|
|
59
57
|
return __config__.get('caPem')
|
|
60
58
|
|
|
61
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
62
60
|
def cert_file(self) -> Optional[str]:
|
|
63
61
|
"""
|
|
64
62
|
A path to a PEM-encoded certificate provided to the remote agent; requires use of `key_file` or `key_pem`.
|
|
65
63
|
"""
|
|
66
64
|
return __config__.get('certFile')
|
|
67
65
|
|
|
68
|
-
@property
|
|
66
|
+
@_builtins.property
|
|
69
67
|
def cert_pem(self) -> Optional[str]:
|
|
70
68
|
"""
|
|
71
69
|
PEM-encoded certificate provided to the remote agent; requires use of `key_file` or `key_pem`.
|
|
72
70
|
"""
|
|
73
71
|
return __config__.get('certPem')
|
|
74
72
|
|
|
75
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
76
74
|
def datacenter(self) -> Optional[str]:
|
|
77
75
|
"""
|
|
78
76
|
The datacenter to use. Defaults to that of the agent.
|
|
79
77
|
"""
|
|
80
78
|
return __config__.get('datacenter')
|
|
81
79
|
|
|
82
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
83
81
|
def headers(self) -> Optional[str]:
|
|
84
82
|
"""
|
|
85
|
-
A configuration block, described below, that provides additional headers to be sent along with all requests to the
|
|
86
|
-
Consul server. This block can be specified multiple times.
|
|
83
|
+
A configuration block, described below, that provides additional headers to be sent along with all requests to the Consul server. This block can be specified multiple times.
|
|
87
84
|
"""
|
|
88
85
|
return __config__.get('headers')
|
|
89
86
|
|
|
90
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
91
88
|
def http_auth(self) -> Optional[str]:
|
|
92
89
|
"""
|
|
93
|
-
HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or
|
|
94
|
-
`user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
|
|
90
|
+
HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either `user` or `user:pass`. This may also be specified using the `CONSUL_HTTP_AUTH` environment variable.
|
|
95
91
|
"""
|
|
96
92
|
return __config__.get('httpAuth')
|
|
97
93
|
|
|
98
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
99
95
|
def insecure_https(self) -> Optional[bool]:
|
|
100
96
|
"""
|
|
101
|
-
Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use.
|
|
102
|
-
Only use this with scheme set to "https".
|
|
97
|
+
Boolean value to disable SSL certificate verification; setting this value to true is not recommended for production use. Only use this with scheme set to "https".
|
|
103
98
|
"""
|
|
104
99
|
return __config__.get_bool('insecureHttps')
|
|
105
100
|
|
|
106
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
107
102
|
def key_file(self) -> Optional[str]:
|
|
108
103
|
"""
|
|
109
104
|
A path to a PEM-encoded private key, required if `cert_file` or `cert_pem` is specified.
|
|
110
105
|
"""
|
|
111
106
|
return __config__.get('keyFile')
|
|
112
107
|
|
|
113
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
114
109
|
def key_pem(self) -> Optional[str]:
|
|
115
110
|
"""
|
|
116
111
|
PEM-encoded private key, required if `cert_file` or `cert_pem` is specified.
|
|
117
112
|
"""
|
|
118
113
|
return __config__.get('keyPem')
|
|
119
114
|
|
|
120
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
121
116
|
def namespace(self) -> Optional[str]:
|
|
122
117
|
return __config__.get('namespace')
|
|
123
118
|
|
|
124
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
125
120
|
def scheme(self) -> Optional[str]:
|
|
126
121
|
"""
|
|
127
122
|
The URL scheme of the agent to use ("http" or "https"). Defaults to "http".
|
|
128
123
|
"""
|
|
129
124
|
return __config__.get('scheme')
|
|
130
125
|
|
|
131
|
-
@property
|
|
126
|
+
@_builtins.property
|
|
132
127
|
def token(self) -> Optional[str]:
|
|
133
128
|
"""
|
|
134
|
-
The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or
|
|
135
|
-
`CONSUL_TOKEN` as an environment variable.
|
|
129
|
+
The ACL token to use by default when making requests to the agent. Can also be specified with `CONSUL_HTTP_TOKEN` or `CONSUL_TOKEN` as an environment variable.
|
|
136
130
|
"""
|
|
137
131
|
return __config__.get('token')
|
|
138
132
|
|