pulumi-consul 3.12.0a1707544171__py3-none-any.whl → 3.12.0a1707976300__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.

@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
  import asyncio
7
+ import importlib.metadata
7
8
  import importlib.util
8
9
  import inspect
9
10
  import json
@@ -18,11 +19,6 @@ from pulumi.runtime.sync_await import _sync_await
18
19
  from semver import VersionInfo as SemverVersion
19
20
  from parver import Version as PEP440Version
20
21
 
21
- if sys.version_info >= (3, 8):
22
- from importlib import metadata
23
- else:
24
- import importlib_metadata as metadata
25
-
26
22
 
27
23
  def get_env(*args):
28
24
  for v in args:
@@ -76,7 +72,7 @@ def _get_semver_version():
76
72
  # to receive a valid semver string when receiving requests from the language host, so it's our
77
73
  # responsibility as the library to convert our own PEP440 version into a valid semver string.
78
74
 
79
- pep440_version_string = metadata.version(root_package)
75
+ pep440_version_string = importlib.metadata.version(root_package)
80
76
  pep440_version = PEP440Version.parse(pep440_version_string)
81
77
  (major, minor, patch) = pep440_version.release
82
78
  prerelease = None
@@ -431,7 +431,7 @@ class AclToken(pulumi.CustomResource):
431
431
  ```
432
432
 
433
433
  ```sh
434
- $ pulumi import consul:index/aclToken:AclToken master-token 624d94ca-bc5c-f960-4e83-0a609cf588be
434
+ $ pulumi import consul:index/aclToken:AclToken master-token 624d94ca-bc5c-f960-4e83-0a609cf588be
435
435
  ```
436
436
 
437
437
  :param str resource_name: The name of the resource.
@@ -487,7 +487,7 @@ class AclToken(pulumi.CustomResource):
487
487
  ```
488
488
 
489
489
  ```sh
490
- $ pulumi import consul:index/aclToken:AclToken master-token 624d94ca-bc5c-f960-4e83-0a609cf588be
490
+ $ pulumi import consul:index/aclToken:AclToken master-token 624d94ca-bc5c-f960-4e83-0a609cf588be
491
491
  ```
492
492
 
493
493
  :param str resource_name: The name of the resource.
@@ -100,14 +100,16 @@ class AclTokenPolicyAttachment(pulumi.CustomResource):
100
100
  """
101
101
  ## Import
102
102
 
103
- `consul_acl_token_policy_attachment` can be imported. This is especially useful to manage the policies attached to the anonymous and the master tokens with Terraform
103
+ `consul_acl_token_policy_attachment` can be imported. This is especially useful to manage the
104
+
105
+ policies attached to the anonymous and the master tokens with Terraform:
104
106
 
105
107
  ```sh
106
- $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment anonymous 00000000-0000-0000-0000-000000000002:policy_name
108
+ $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment anonymous 00000000-0000-0000-0000-000000000002:policy_name
107
109
  ```
108
110
 
109
111
  ```sh
110
- $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment master-token 624d94ca-bc5c-f960-4e83-0a609cf588be:policy_name
112
+ $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment master-token 624d94ca-bc5c-f960-4e83-0a609cf588be:policy_name
111
113
  ```
112
114
 
113
115
  :param str resource_name: The name of the resource.
@@ -124,14 +126,16 @@ class AclTokenPolicyAttachment(pulumi.CustomResource):
124
126
  """
125
127
  ## Import
126
128
 
127
- `consul_acl_token_policy_attachment` can be imported. This is especially useful to manage the policies attached to the anonymous and the master tokens with Terraform
129
+ `consul_acl_token_policy_attachment` can be imported. This is especially useful to manage the
130
+
131
+ policies attached to the anonymous and the master tokens with Terraform:
128
132
 
129
133
  ```sh
130
- $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment anonymous 00000000-0000-0000-0000-000000000002:policy_name
134
+ $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment anonymous 00000000-0000-0000-0000-000000000002:policy_name
131
135
  ```
132
136
 
133
137
  ```sh
134
- $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment master-token 624d94ca-bc5c-f960-4e83-0a609cf588be:policy_name
138
+ $ pulumi import consul:index/aclTokenPolicyAttachment:AclTokenPolicyAttachment master-token 624d94ca-bc5c-f960-4e83-0a609cf588be:policy_name
135
139
  ```
136
140
 
137
141
  :param str resource_name: The name of the resource.
@@ -1,17 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_consul
3
- Version: 3.12.0a1707544171
3
+ Version: 3.12.0a1707976300
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
7
7
  Project-URL: Repository, https://github.com/pulumi/pulumi-consul
8
8
  Keywords: pulumi,consul
9
- Requires-Python: >=3.7
9
+ Requires-Python: >=3.8
10
10
  Description-Content-Type: text/markdown
11
11
  Requires-Dist: parver >=0.2.1
12
12
  Requires-Dist: pulumi <4.0.0,>=3.0.0
13
13
  Requires-Dist: semver >=2.8.1
14
- Requires-Dist: importlib-metadata <7.0.0,>=6.0.0 ; python_version < "3.8"
15
14
 
16
15
  [![Actions Status](https://github.com/pulumi/pulumi-consul/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-consul/actions)
17
16
  [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com)
@@ -1,13 +1,13 @@
1
1
  pulumi_consul/__init__.py,sha256=WEdXDw8m0r_d5zps4HIp-KZjaIErfJLypM_JVn9whIA,8027
2
2
  pulumi_consul/_inputs.py,sha256=rRW-KThK4f2cRL0JM2Fx34AQ__lCS552v9oImvspvBk,217097
3
- pulumi_consul/_utilities.py,sha256=jMbim532bPc1u3rZevJSaM4zw6tbQPf2c85Dkyq_7_g,9327
3
+ pulumi_consul/_utilities.py,sha256=b6gJn0IIeM1t6Q7EVjqw3yhuGyP-uENQhtL5yp7aHR8,9248
4
4
  pulumi_consul/acl_auth_method.py,sha256=c_cHJeKbpBdFO6s5FoB42IGTQOdayGt_7audvl5gOOc,32775
5
5
  pulumi_consul/acl_binding_rule.py,sha256=jzhrnwFMz7M9Wp-fVlfskYNmGQ-1esqZOEJMm7aIqdo,22676
6
6
  pulumi_consul/acl_policy.py,sha256=Gx4lekJodM7vtx8J5X6UG_sjr7MA5kFp2u51h7lUU9M,15568
7
7
  pulumi_consul/acl_role.py,sha256=XAutswhlMF4BfNCKKZhZsUrGUoZtu0R17JtUXtO_qoY,23996
8
8
  pulumi_consul/acl_role_policy_attachment.py,sha256=gCZC_cbIohEs0LEW56z_GmOyAlrv8QHeiDt6qQ9zsIM,8525
9
- pulumi_consul/acl_token.py,sha256=pfEafK0w5wzf057Oo9wUf6AvULj5X89gZMnCJk-IRIQ,31331
10
- pulumi_consul/acl_token_policy_attachment.py,sha256=tTUBIceyYpXNEW4uBoY5swrwlewygFSp8dtTZwzmBtU,8492
9
+ pulumi_consul/acl_token.py,sha256=2bVsuwdN_aujfJZBfUlB_jfOH_PiytqewXjD74x3EY4,31329
10
+ pulumi_consul/acl_token_policy_attachment.py,sha256=xvBNxHEk2ZsqC822RHcdsbwFScg1-zLiTgF8xDN0U9M,8510
11
11
  pulumi_consul/acl_token_role_attachment.py,sha256=p--QDxrXJiuyEyroumHsbbdbGr42JSI7-H2mFHd2mqU,7743
12
12
  pulumi_consul/admin_partition.py,sha256=MyYkeiIdtNBd3RLnqQRMbxeUc7CeFnPutkljfUAG88I,8509
13
13
  pulumi_consul/agent_service.py,sha256=-xpqaiKfUuqPzun_pHXT4xtdEjSvj8A8d7a280AL574,12933
@@ -64,7 +64,7 @@ pulumi_consul/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi
64
64
  pulumi_consul/config/__init__.pyi,sha256=Xr56VkEbCA8jXnSDMCxONcnilMpQdAHs6-imo_c-TBU,2587
65
65
  pulumi_consul/config/outputs.py,sha256=gDtRkTfR9uCq26RXew73SpJWdrCejHeWHhoL5--_LW4,3384
66
66
  pulumi_consul/config/vars.py,sha256=SXNUccmf6RtLkyaTd4mMknJtP2rlISHxMcq4PUHRgpg,4255
67
- pulumi_consul-3.12.0a1707544171.dist-info/METADATA,sha256=sCm-WA0GWUq4drTmdSwbrFoJIusX6UiXjIkpP2AaJxo,4018
68
- pulumi_consul-3.12.0a1707544171.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
69
- pulumi_consul-3.12.0a1707544171.dist-info/top_level.txt,sha256=SrKSXrIq8AWqnNKrd7pWSC691idGwXi9XMA-DTWwcfg,14
70
- pulumi_consul-3.12.0a1707544171.dist-info/RECORD,,
67
+ pulumi_consul-3.12.0a1707976300.dist-info/METADATA,sha256=6Imb6mv-cbRsuNuSObbn1vlZpNNE1SJyUuQxHq4128c,3944
68
+ pulumi_consul-3.12.0a1707976300.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
69
+ pulumi_consul-3.12.0a1707976300.dist-info/top_level.txt,sha256=SrKSXrIq8AWqnNKrd7pWSC691idGwXi9XMA-DTWwcfg,14
70
+ pulumi_consul-3.12.0a1707976300.dist-info/RECORD,,