pulumi-nomad 2.6.0a1746425767__py3-none-any.whl → 2.6.0a1746734451__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.
@@ -287,10 +287,8 @@ class _AclAuthMethodState:
287
287
  pulumi.set(self, "type", value)
288
288
 
289
289
 
290
+ @pulumi.type_token("nomad:index/aclAuthMethod:AclAuthMethod")
290
291
  class AclAuthMethod(pulumi.CustomResource):
291
-
292
- pulumi_type = "nomad:index/aclAuthMethod:AclAuthMethod"
293
-
294
292
  @overload
295
293
  def __init__(__self__,
296
294
  resource_name: str,
@@ -211,10 +211,8 @@ class _AclBindingRuleState:
211
211
  pulumi.set(self, "selector", value)
212
212
 
213
213
 
214
+ @pulumi.type_token("nomad:index/aclBindingRule:AclBindingRule")
214
215
  class AclBindingRule(pulumi.CustomResource):
215
-
216
- pulumi_type = "nomad:index/aclBindingRule:AclBindingRule"
217
-
218
216
  @overload
219
217
  def __init__(__self__,
220
218
  resource_name: str,
@@ -170,10 +170,8 @@ class _AclPolicyState:
170
170
  pulumi.set(self, "rules_hcl", value)
171
171
 
172
172
 
173
+ @pulumi.type_token("nomad:index/aclPolicy:AclPolicy")
173
174
  class AclPolicy(pulumi.CustomResource):
174
-
175
- pulumi_type = "nomad:index/aclPolicy:AclPolicy"
176
-
177
175
  @overload
178
176
  def __init__(__self__,
179
177
  resource_name: str,
pulumi_nomad/acl_role.py CHANGED
@@ -134,10 +134,8 @@ class _AclRoleState:
134
134
  pulumi.set(self, "policies", value)
135
135
 
136
136
 
137
+ @pulumi.type_token("nomad:index/aclRole:AclRole")
137
138
  class AclRole(pulumi.CustomResource):
138
-
139
- pulumi_type = "nomad:index/aclRole:AclRole"
140
-
141
139
  @overload
142
140
  def __init__(__self__,
143
141
  resource_name: str,
pulumi_nomad/acl_token.py CHANGED
@@ -340,10 +340,8 @@ class _AclTokenState:
340
340
  pulumi.set(self, "type", value)
341
341
 
342
342
 
343
+ @pulumi.type_token("nomad:index/aclToken:AclToken")
343
344
  class AclToken(pulumi.CustomResource):
344
-
345
- pulumi_type = "nomad:index/aclToken:AclToken"
346
-
347
345
  @overload
348
346
  def __init__(__self__,
349
347
  resource_name: str,
@@ -624,10 +624,8 @@ class _CsiVolumeState:
624
624
  pulumi.set(self, "volume_id", value)
625
625
 
626
626
 
627
+ @pulumi.type_token("nomad:index/csiVolume:CsiVolume")
627
628
  class CsiVolume(pulumi.CustomResource):
628
-
629
- pulumi_type = "nomad:index/csiVolume:CsiVolume"
630
-
631
629
  @overload
632
630
  def __init__(__self__,
633
631
  resource_name: str,
@@ -624,10 +624,8 @@ class _CsiVolumeRegistrationState:
624
624
  pulumi.set(self, "volume_id", value)
625
625
 
626
626
 
627
+ @pulumi.type_token("nomad:index/csiVolumeRegistration:CsiVolumeRegistration")
627
628
  class CsiVolumeRegistration(pulumi.CustomResource):
628
-
629
- pulumi_type = "nomad:index/csiVolumeRegistration:CsiVolumeRegistration"
630
-
631
629
  @overload
632
630
  def __init__(__self__,
633
631
  resource_name: str,
@@ -553,10 +553,8 @@ class _DynamicHostVolumeState:
553
553
  pulumi.set(self, "state", value)
554
554
 
555
555
 
556
+ @pulumi.type_token("nomad:index/dynamicHostVolume:DynamicHostVolume")
556
557
  class DynamicHostVolume(pulumi.CustomResource):
557
-
558
- pulumi_type = "nomad:index/dynamicHostVolume:DynamicHostVolume"
559
-
560
558
  @overload
561
559
  def __init__(__self__,
562
560
  resource_name: str,
@@ -428,10 +428,8 @@ class _DynamicHostVolumeRegistrationState:
428
428
  pulumi.set(self, "state", value)
429
429
 
430
430
 
431
+ @pulumi.type_token("nomad:index/dynamicHostVolumeRegistration:DynamicHostVolumeRegistration")
431
432
  class DynamicHostVolumeRegistration(pulumi.CustomResource):
432
-
433
- pulumi_type = "nomad:index/dynamicHostVolumeRegistration:DynamicHostVolumeRegistration"
434
-
435
433
  @overload
436
434
  def __init__(__self__,
437
435
  resource_name: str,
@@ -588,10 +588,8 @@ class _ExternalVolumeState:
588
588
  pulumi.set(self, "volume_id", value)
589
589
 
590
590
 
591
+ @pulumi.type_token("nomad:index/externalVolume:ExternalVolume")
591
592
  class ExternalVolume(pulumi.CustomResource):
592
-
593
- pulumi_type = "nomad:index/externalVolume:ExternalVolume"
594
-
595
593
  @overload
596
594
  def __init__(__self__,
597
595
  resource_name: str,
pulumi_nomad/job.py CHANGED
@@ -554,10 +554,8 @@ class _JobState:
554
554
  pulumi.set(self, "type", value)
555
555
 
556
556
 
557
+ @pulumi.type_token("nomad:index/job:Job")
557
558
  class Job(pulumi.CustomResource):
558
-
559
- pulumi_type = "nomad:index/job:Job"
560
-
561
559
  @overload
562
560
  def __init__(__self__,
563
561
  resource_name: str,
pulumi_nomad/namespace.py CHANGED
@@ -231,10 +231,8 @@ class _NamespaceState:
231
231
  pulumi.set(self, "quota", value)
232
232
 
233
233
 
234
+ @pulumi.type_token("nomad:index/namespace:Namespace")
234
235
  class Namespace(pulumi.CustomResource):
235
-
236
- pulumi_type = "nomad:index/namespace:Namespace"
237
-
238
236
  @overload
239
237
  def __init__(__self__,
240
238
  resource_name: str,
pulumi_nomad/node_pool.py CHANGED
@@ -167,10 +167,8 @@ class _NodePoolState:
167
167
  pulumi.set(self, "scheduler_config", value)
168
168
 
169
169
 
170
+ @pulumi.type_token("nomad:index/nodePool:NodePool")
170
171
  class NodePool(pulumi.CustomResource):
171
-
172
- pulumi_type = "nomad:index/nodePool:NodePool"
173
-
174
172
  @overload
175
173
  def __init__(__self__,
176
174
  resource_name: str,
pulumi_nomad/provider.py CHANGED
@@ -233,10 +233,8 @@ class ProviderArgs:
233
233
  pulumi.set(self, "skip_verify", value)
234
234
 
235
235
 
236
+ @pulumi.type_token("pulumi:providers:nomad")
236
237
  class Provider(pulumi.ProviderResource):
237
-
238
- pulumi_type = "pulumi:providers:nomad"
239
-
240
238
  @overload
241
239
  def __init__(__self__,
242
240
  resource_name: str,
@@ -427,3 +425,23 @@ class Provider(pulumi.ProviderResource):
427
425
  """
428
426
  return pulumi.get(self, "secret_id")
429
427
 
428
+ @pulumi.output_type
429
+ class TerraformConfigResult:
430
+ def __init__(__self__, result=None):
431
+ if result and not isinstance(result, dict):
432
+ raise TypeError("Expected argument 'result' to be a dict")
433
+ pulumi.set(__self__, "result", result)
434
+
435
+ @property
436
+ @pulumi.getter
437
+ def result(self) -> Mapping[str, Any]:
438
+ return pulumi.get(self, "result")
439
+
440
+ def terraform_config(__self__) -> pulumi.Output['Provider.TerraformConfigResult']:
441
+ """
442
+ This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
443
+ """
444
+ __args__ = dict()
445
+ __args__['__self__'] = __self__
446
+ return pulumi.runtime.call('pulumi:providers:nomad/terraformConfig', __args__, res=__self__, typ=Provider.TerraformConfigResult)
447
+
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "nomad",
4
- "version": "2.6.0-alpha.1746425767"
4
+ "version": "2.6.0-alpha.1746734451"
5
5
  }
@@ -134,10 +134,8 @@ class _QuoteSpecificationState:
134
134
  pulumi.set(self, "name", value)
135
135
 
136
136
 
137
+ @pulumi.type_token("nomad:index/quoteSpecification:QuoteSpecification")
137
138
  class QuoteSpecification(pulumi.CustomResource):
138
-
139
- pulumi_type = "nomad:index/quoteSpecification:QuoteSpecification"
140
-
141
139
  @overload
142
140
  def __init__(__self__,
143
141
  resource_name: str,
@@ -129,10 +129,8 @@ class _SchedulerConfigState:
129
129
  pulumi.set(self, "scheduler_algorithm", value)
130
130
 
131
131
 
132
+ @pulumi.type_token("nomad:index/schedulerConfig:SchedulerConfig")
132
133
  class SchedulerConfig(pulumi.CustomResource):
133
-
134
- pulumi_type = "nomad:index/schedulerConfig:SchedulerConfig"
135
-
136
134
  @overload
137
135
  def __init__(__self__,
138
136
  resource_name: str,
@@ -206,10 +206,8 @@ class _SentinelPolicyState:
206
206
  pulumi.set(self, "scope", value)
207
207
 
208
208
 
209
+ @pulumi.type_token("nomad:index/sentinelPolicy:SentinelPolicy")
209
210
  class SentinelPolicy(pulumi.CustomResource):
210
-
211
- pulumi_type = "nomad:index/sentinelPolicy:SentinelPolicy"
212
-
213
211
  @overload
214
212
  def __init__(__self__,
215
213
  resource_name: str,
pulumi_nomad/variable.py CHANGED
@@ -127,10 +127,8 @@ class _VariableState:
127
127
  pulumi.set(self, "path", value)
128
128
 
129
129
 
130
+ @pulumi.type_token("nomad:index/variable:Variable")
130
131
  class Variable(pulumi.CustomResource):
131
-
132
- pulumi_type = "nomad:index/variable:Variable"
133
-
134
132
  @overload
135
133
  def __init__(__self__,
136
134
  resource_name: str,
pulumi_nomad/volume.py CHANGED
@@ -656,10 +656,8 @@ class _VolumeState:
656
656
  pulumi.set(self, "volume_id", value)
657
657
 
658
658
 
659
+ @pulumi.type_token("nomad:index/volume:Volume")
659
660
  class Volume(pulumi.CustomResource):
660
-
661
- pulumi_type = "nomad:index/volume:Volume"
662
-
663
661
  @overload
664
662
  def __init__(__self__,
665
663
  resource_name: str,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_nomad
3
- Version: 2.6.0a1746425767
3
+ Version: 2.6.0a1746734451
4
4
  Summary: A Pulumi package for creating and managing nomad cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -9,9 +9,9 @@ Keywords: pulumi,nomad
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.142.0
12
+ Requires-Dist: pulumi<4.0.0,>=3.165.0
13
13
  Requires-Dist: semver>=2.8.1
14
- Requires-Dist: typing-extensions>=4.11; python_version < "3.11"
14
+ Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
15
15
 
16
16
  [![Actions Status](https://github.com/pulumi/pulumi-nomad/workflows/master/badge.svg)](https://github.com/pulumi/pulumi-nomad/actions)
17
17
  [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com)
@@ -1,16 +1,16 @@
1
1
  pulumi_nomad/__init__.py,sha256=LO_erEgwPyHI1JQN7HgP8kSuI3JpQm9G8O9zSaq_57Q,4900
2
2
  pulumi_nomad/_inputs.py,sha256=a5TcwMe6NTs6U_UBV2HiM3VehyvDCIeeCpEbJCVQxVA,133936
3
3
  pulumi_nomad/_utilities.py,sha256=yyuODPikZ9pto3JWJRfMJo98dWmQ5_y45-TVcZG_K8Y,10807
4
- pulumi_nomad/acl_auth_method.py,sha256=W2yAvLK7sZ7WMNCOdLVaX8s0gj8IbMZEsgd3Q9Gu7Wk,24790
5
- pulumi_nomad/acl_binding_rule.py,sha256=dzK7HuBR2EDqTZDfShKpbBdvFplGLViimV7X0jAnGLE,17280
6
- pulumi_nomad/acl_policy.py,sha256=Xu5I9w0vl1M7DdBJZnT28hjGK189Jhf-eoJO2ziKMsU,12962
7
- pulumi_nomad/acl_role.py,sha256=1h64u475pT0CPlTFayzqoC_RZGdLNffiRcK5mjeEe68,11088
8
- pulumi_nomad/acl_token.py,sha256=xvC90BuLfWBOE8UzC20x4tVXat3IE-5Zr6vpHssTcNU,29916
9
- pulumi_nomad/csi_volume.py,sha256=kfpsHtDbiK6nnAFtlxXJBx6vqO2GM_MaoUMrD45mbi0,52291
10
- pulumi_nomad/csi_volume_registration.py,sha256=aOT1wt4b3p0A4Er24bkCLFArbuP3SzjXTt4QiLvR-Yc,53207
11
- pulumi_nomad/dynamic_host_volume.py,sha256=5HxnnSzM8I3lWO4cG14bGqtM_pnIzdCdqMSpPuRADUY,51210
12
- pulumi_nomad/dynamic_host_volume_registration.py,sha256=on3TJF3_OPB_3snW7YYe_9fJYfmLWsrZeVRCEWjZVDU,36819
13
- pulumi_nomad/external_volume.py,sha256=dM9JGf7wpsYWnr3f2joYmzDmhaRXqSb5O6EK5lT1UlA,52372
4
+ pulumi_nomad/acl_auth_method.py,sha256=rj2MIqK7rWmVSgkr7G_60cMdmYHe5x3llzBZKCvdqNg,24790
5
+ pulumi_nomad/acl_binding_rule.py,sha256=7HNFC2AeSTBcv72ll3UDlSMKAIeHB4XmXNpg43Itap0,17280
6
+ pulumi_nomad/acl_policy.py,sha256=LxD2OAy23Sb9jSQ8HDH5_2acEcqeFd7YBpTY975nd9E,12962
7
+ pulumi_nomad/acl_role.py,sha256=enOanmhNl3EkLLsc0-xyoSEfVVvaEWQvYxEDq1L9MSg,11088
8
+ pulumi_nomad/acl_token.py,sha256=zXNYBJyMha9gO-15LZHJQnMXYmkconpv2WK_awZtMfg,29916
9
+ pulumi_nomad/csi_volume.py,sha256=NnYWENwv25JzTqvtPJfPfZJ5y3bJhGl9EGBQsi-EBpo,52291
10
+ pulumi_nomad/csi_volume_registration.py,sha256=6DSlYAjvDV3yBK_mlpVgk00sfPE107-kn243KVEMXgM,53207
11
+ pulumi_nomad/dynamic_host_volume.py,sha256=E3STK9Qe469IWWFK6rbjBTad7MIg69nuaAzLDF7o0zE,51210
12
+ pulumi_nomad/dynamic_host_volume_registration.py,sha256=eGOR8LtNl2RwkjlP0O7AUr1FoFEqEZleYQ3PzKcBpug,36819
13
+ pulumi_nomad/external_volume.py,sha256=kbTrKuzdhbOTnd2DKBk7_XMXBSyniWmzffjKuRK6OUA,52372
14
14
  pulumi_nomad/get_acl_policies.py,sha256=3wxhLPd6XHTKFKUiRk6EzYK3xYZ1OzZD7VNz9dA3IeM,4268
15
15
  pulumi_nomad/get_acl_policy.py,sha256=dAO66svXM8B7ysKBAPNnT_WVx-YmI8MZ9rMBCHE1o_w,4577
16
16
  pulumi_nomad/get_acl_role.py,sha256=BDXY0kQlsJSh45YgAN1zIfGoegxO3evcMaLbMquSAZ8,4637
@@ -36,23 +36,23 @@ pulumi_nomad/get_scaling_policy.py,sha256=yLG1buFUa4AIKE3_plCV2oG2O6BxMuoG278SB9
36
36
  pulumi_nomad/get_scheduler_policy.py,sha256=CpVUl7cMQqwRBmYuSYHsH4np3EqmCysKpBO2x1AG53Y,5371
37
37
  pulumi_nomad/get_variable.py,sha256=5EkZkivhsvvwZRH1La625aFvjWglALRLL3GBJ3L1IEo,4958
38
38
  pulumi_nomad/get_volumes.py,sha256=XBXoetaK8RAT4AW7mH52L0ou_k2reavjD_VOzMKvEBg,6522
39
- pulumi_nomad/job.py,sha256=INyxdw1mZImqrMAvfB9aCUvg6P9rYBJNmkhwOGLnKHw,44133
40
- pulumi_nomad/namespace.py,sha256=TTal39xqR7s38Y9yhyl3_drcNjI6azs-sy2jLvLC2eQ,21353
41
- pulumi_nomad/node_pool.py,sha256=5GScUem0o6w-pdRbWfE0frMf-5epewsMRd3mX4MZi1E,13866
39
+ pulumi_nomad/job.py,sha256=eSaDi4O278Eqe9x4Iop4cnBElO2vuL4_fYY8YeHzW5w,44133
40
+ pulumi_nomad/namespace.py,sha256=VDLZxQNYN2309hS1yKHS2bWiheRUDQ3kesNlE5k8n6w,21353
41
+ pulumi_nomad/node_pool.py,sha256=fpImkkTtX6VtsJ_eQeRGXEk7TxAzjE6-fM-p2_BdgFs,13866
42
42
  pulumi_nomad/outputs.py,sha256=lb4zy-b59N0UAJPgpjwyHHzQV0lsu1E25o8HjzBUxFs,131801
43
- pulumi_nomad/provider.py,sha256=hU7sxcdoMLrVR71puxT4IQ3Iexrc0zdXKCgZ7Q-L-M4,19862
44
- pulumi_nomad/pulumi-plugin.json,sha256=BlvxYW0iZlpqiB9a2V1KwoTsK4velZ9H7ZRRB6iH_e8,81
43
+ pulumi_nomad/provider.py,sha256=lcxd8E_XzdApWdz3Rhpp11gVa831-tdgPMSL-CtNtzc,20730
44
+ pulumi_nomad/pulumi-plugin.json,sha256=hkJKmwbaJuH-fgXq6ljow6KYIl4jojQi_PKoBuu5LQM,81
45
45
  pulumi_nomad/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
- pulumi_nomad/quote_specification.py,sha256=6Pc3IMDKKpl_eoWORez5dVKWht-WGV3ej3k7NsQneI8,12617
47
- pulumi_nomad/scheduler_config.py,sha256=9qXBsBbRgQdfiQ6YpdAi-E4O-i2BwFYFvX7EXh0x2Kw,14744
48
- pulumi_nomad/sentinel_policy.py,sha256=L5lusMxZytr1Od8XBj_35OfWxsPy78bYj0xTnDHl9OM,17942
49
- pulumi_nomad/variable.py,sha256=stiAXeG3AQxPQQPtt9xL1pVPlzb4Ngs9fJojvnyGl4s,12331
50
- pulumi_nomad/volume.py,sha256=gvkoM3-DGmDmhONEyOBtdtjtOg99-FHpU5xMhrE3Bfs,56887
46
+ pulumi_nomad/quote_specification.py,sha256=DODvc_olmvdqMZdtUHTvpUjSc2rkVA8vBNoe-umrjfM,12617
47
+ pulumi_nomad/scheduler_config.py,sha256=4Y5_Zd8bLLUsOirhbAe01IDkvZm07Y7hQUdF5VMymM8,14744
48
+ pulumi_nomad/sentinel_policy.py,sha256=qcgNevmW0LNt2AbrIuRIW2nT7NN-iBq-JYFLqfp12gs,17942
49
+ pulumi_nomad/variable.py,sha256=QE7pwAbzMmOY8S6iO8u5aLBZFSO_pEP9VkuRrGhxFBk,12331
50
+ pulumi_nomad/volume.py,sha256=bf9F0KWxLm3HkOuAKQvgZVCHQ4IOPnNKz-2C1u9eWdI,56887
51
51
  pulumi_nomad/config/__init__.py,sha256=nKVKdvQbN3zgJ23HPoKpz1sGrfjaDijL6xvKxGVmj7c,301
52
52
  pulumi_nomad/config/__init__.pyi,sha256=tIAs_Cv6hVOlpAcpSJ5XGTeTHsfnAeRq3y6kuIQFOwc,1836
53
53
  pulumi_nomad/config/outputs.py,sha256=y7nFXKRL67QW7aD6UQds8ka6ysh7aQYfo_6e-tESDZg,1247
54
54
  pulumi_nomad/config/vars.py,sha256=RGvWqvP9psah81xuR1ztflknBX6cIVSF25SoVr8fCUQ,3202
55
- pulumi_nomad-2.6.0a1746425767.dist-info/METADATA,sha256=CkBb7nKe3zaXz9MyEk6SxVdJvVcJG3RJsVzpXLV6amQ,4793
56
- pulumi_nomad-2.6.0a1746425767.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
57
- pulumi_nomad-2.6.0a1746425767.dist-info/top_level.txt,sha256=1JxoZWssmXqN-8vVDXtedeoWtI703uNWUOzlm8Byv-o,13
58
- pulumi_nomad-2.6.0a1746425767.dist-info/RECORD,,
55
+ pulumi_nomad-2.6.0a1746734451.dist-info/METADATA,sha256=3lyBcrw_Bsi9D5X5lBFU2AdVXs2Gwhfx30LN136Ag-U,4796
56
+ pulumi_nomad-2.6.0a1746734451.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
57
+ pulumi_nomad-2.6.0a1746734451.dist-info/top_level.txt,sha256=1JxoZWssmXqN-8vVDXtedeoWtI703uNWUOzlm8Byv-o,13
58
+ pulumi_nomad-2.6.0a1746734451.dist-info/RECORD,,