pulumi-nomad 2.4.0a1729186859__py3-none-any.whl → 2.4.0a1729204490__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_nomad/_inputs.py CHANGED
@@ -1646,11 +1646,6 @@ if not MYPY:
1646
1646
  `(boolean: false)` - Set this to `true` to be able to use
1647
1647
  HCL2 filesystem functions
1648
1648
  """
1649
- enabled: NotRequired[pulumi.Input[bool]]
1650
- """
1651
- `(boolean: false)` - **Deprecated** All HCL jobs are parsed as
1652
- HCL2 by default.
1653
- """
1654
1649
  vars: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
1655
1650
  """
1656
1651
  Additional variables to use when templating the job with HCL2
@@ -1662,22 +1657,14 @@ elif False:
1662
1657
  class JobHcl2Args:
1663
1658
  def __init__(__self__, *,
1664
1659
  allow_fs: Optional[pulumi.Input[bool]] = None,
1665
- enabled: Optional[pulumi.Input[bool]] = None,
1666
1660
  vars: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
1667
1661
  """
1668
1662
  :param pulumi.Input[bool] allow_fs: `(boolean: false)` - Set this to `true` to be able to use
1669
1663
  HCL2 filesystem functions
1670
- :param pulumi.Input[bool] enabled: `(boolean: false)` - **Deprecated** All HCL jobs are parsed as
1671
- HCL2 by default.
1672
1664
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] vars: Additional variables to use when templating the job with HCL2
1673
1665
  """
1674
1666
  if allow_fs is not None:
1675
1667
  pulumi.set(__self__, "allow_fs", allow_fs)
1676
- if enabled is not None:
1677
- warnings.warn("""Starting with version 2.0.0 of the Nomad provider, jobs are parsed using HCL2 by default, so this field is no longer used and may be safely removed from your configuration files. Set 'hcl1 = true' if you must use HCL1 job parsing.""", DeprecationWarning)
1678
- pulumi.log.warn("""enabled is deprecated: Starting with version 2.0.0 of the Nomad provider, jobs are parsed using HCL2 by default, so this field is no longer used and may be safely removed from your configuration files. Set 'hcl1 = true' if you must use HCL1 job parsing.""")
1679
- if enabled is not None:
1680
- pulumi.set(__self__, "enabled", enabled)
1681
1668
  if vars is not None:
1682
1669
  pulumi.set(__self__, "vars", vars)
1683
1670
 
@@ -1694,20 +1681,6 @@ class JobHcl2Args:
1694
1681
  def allow_fs(self, value: Optional[pulumi.Input[bool]]):
1695
1682
  pulumi.set(self, "allow_fs", value)
1696
1683
 
1697
- @property
1698
- @pulumi.getter
1699
- @_utilities.deprecated("""Starting with version 2.0.0 of the Nomad provider, jobs are parsed using HCL2 by default, so this field is no longer used and may be safely removed from your configuration files. Set 'hcl1 = true' if you must use HCL1 job parsing.""")
1700
- def enabled(self) -> Optional[pulumi.Input[bool]]:
1701
- """
1702
- `(boolean: false)` - **Deprecated** All HCL jobs are parsed as
1703
- HCL2 by default.
1704
- """
1705
- return pulumi.get(self, "enabled")
1706
-
1707
- @enabled.setter
1708
- def enabled(self, value: Optional[pulumi.Input[bool]]):
1709
- pulumi.set(self, "enabled", value)
1710
-
1711
1684
  @property
1712
1685
  @pulumi.getter
1713
1686
  def vars(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
pulumi_nomad/job.py CHANGED
@@ -26,7 +26,6 @@ class JobArgs:
26
26
  deregister_on_destroy: Optional[pulumi.Input[bool]] = None,
27
27
  deregister_on_id_change: Optional[pulumi.Input[bool]] = None,
28
28
  detach: Optional[pulumi.Input[bool]] = None,
29
- hcl1: Optional[pulumi.Input[bool]] = None,
30
29
  hcl2: Optional[pulumi.Input['JobHcl2Args']] = None,
31
30
  json: Optional[pulumi.Input[bool]] = None,
32
31
  policy_override: Optional[pulumi.Input[bool]] = None,
@@ -44,9 +43,6 @@ class JobArgs:
44
43
  deregistered if the ID of the job in the jobspec changes.
45
44
  :param pulumi.Input[bool] detach: `(boolean: true)` - If true, the provider will return immediately
46
45
  after creating or updating, instead of monitoring.
47
- :param pulumi.Input[bool] hcl1: `(boolean: false)` - Set this to `true` to use the previous HCL1
48
- parser. This option is provided for backwards compatibility only and should
49
- not be used unless absolutely necessary.
50
46
  :param pulumi.Input['JobHcl2Args'] hcl2: `(block: optional)` - Options for the HCL2 jobspec parser.
51
47
  :param pulumi.Input[bool] json: `(boolean: false)` - Set this to `true` if your jobspec is structured with
52
48
  JSON instead of the default HCL.
@@ -68,8 +64,6 @@ class JobArgs:
68
64
  pulumi.set(__self__, "deregister_on_id_change", deregister_on_id_change)
69
65
  if detach is not None:
70
66
  pulumi.set(__self__, "detach", detach)
71
- if hcl1 is not None:
72
- pulumi.set(__self__, "hcl1", hcl1)
73
67
  if hcl2 is not None:
74
68
  pulumi.set(__self__, "hcl2", hcl2)
75
69
  if json is not None:
@@ -151,20 +145,6 @@ class JobArgs:
151
145
  def detach(self, value: Optional[pulumi.Input[bool]]):
152
146
  pulumi.set(self, "detach", value)
153
147
 
154
- @property
155
- @pulumi.getter
156
- def hcl1(self) -> Optional[pulumi.Input[bool]]:
157
- """
158
- `(boolean: false)` - Set this to `true` to use the previous HCL1
159
- parser. This option is provided for backwards compatibility only and should
160
- not be used unless absolutely necessary.
161
- """
162
- return pulumi.get(self, "hcl1")
163
-
164
- @hcl1.setter
165
- def hcl1(self, value: Optional[pulumi.Input[bool]]):
166
- pulumi.set(self, "hcl1", value)
167
-
168
148
  @property
169
149
  @pulumi.getter
170
150
  def hcl2(self) -> Optional[pulumi.Input['JobHcl2Args']]:
@@ -264,7 +244,6 @@ class _JobState:
264
244
  deregister_on_destroy: Optional[pulumi.Input[bool]] = None,
265
245
  deregister_on_id_change: Optional[pulumi.Input[bool]] = None,
266
246
  detach: Optional[pulumi.Input[bool]] = None,
267
- hcl1: Optional[pulumi.Input[bool]] = None,
268
247
  hcl2: Optional[pulumi.Input['JobHcl2Args']] = None,
269
248
  jobspec: Optional[pulumi.Input[str]] = None,
270
249
  json: Optional[pulumi.Input[bool]] = None,
@@ -293,9 +272,6 @@ class _JobState:
293
272
  deregistered if the ID of the job in the jobspec changes.
294
273
  :param pulumi.Input[bool] detach: `(boolean: true)` - If true, the provider will return immediately
295
274
  after creating or updating, instead of monitoring.
296
- :param pulumi.Input[bool] hcl1: `(boolean: false)` - Set this to `true` to use the previous HCL1
297
- parser. This option is provided for backwards compatibility only and should
298
- not be used unless absolutely necessary.
299
275
  :param pulumi.Input['JobHcl2Args'] hcl2: `(block: optional)` - Options for the HCL2 jobspec parser.
300
276
  :param pulumi.Input[str] jobspec: `(string: <required>)` - The contents of the jobspec to register.
301
277
  :param pulumi.Input[bool] json: `(boolean: false)` - Set this to `true` if your jobspec is structured with
@@ -334,8 +310,6 @@ class _JobState:
334
310
  pulumi.set(__self__, "deregister_on_id_change", deregister_on_id_change)
335
311
  if detach is not None:
336
312
  pulumi.set(__self__, "detach", detach)
337
- if hcl1 is not None:
338
- pulumi.set(__self__, "hcl1", hcl1)
339
313
  if hcl2 is not None:
340
314
  pulumi.set(__self__, "hcl2", hcl2)
341
315
  if jobspec is not None:
@@ -470,20 +444,6 @@ class _JobState:
470
444
  def detach(self, value: Optional[pulumi.Input[bool]]):
471
445
  pulumi.set(self, "detach", value)
472
446
 
473
- @property
474
- @pulumi.getter
475
- def hcl1(self) -> Optional[pulumi.Input[bool]]:
476
- """
477
- `(boolean: false)` - Set this to `true` to use the previous HCL1
478
- parser. This option is provided for backwards compatibility only and should
479
- not be used unless absolutely necessary.
480
- """
481
- return pulumi.get(self, "hcl1")
482
-
483
- @hcl1.setter
484
- def hcl1(self, value: Optional[pulumi.Input[bool]]):
485
- pulumi.set(self, "hcl1", value)
486
-
487
447
  @property
488
448
  @pulumi.getter
489
449
  def hcl2(self) -> Optional[pulumi.Input['JobHcl2Args']]:
@@ -674,7 +634,6 @@ class Job(pulumi.CustomResource):
674
634
  deregister_on_destroy: Optional[pulumi.Input[bool]] = None,
675
635
  deregister_on_id_change: Optional[pulumi.Input[bool]] = None,
676
636
  detach: Optional[pulumi.Input[bool]] = None,
677
- hcl1: Optional[pulumi.Input[bool]] = None,
678
637
  hcl2: Optional[pulumi.Input[Union['JobHcl2Args', 'JobHcl2ArgsDict']]] = None,
679
638
  jobspec: Optional[pulumi.Input[str]] = None,
680
639
  json: Optional[pulumi.Input[bool]] = None,
@@ -695,9 +654,6 @@ class Job(pulumi.CustomResource):
695
654
  deregistered if the ID of the job in the jobspec changes.
696
655
  :param pulumi.Input[bool] detach: `(boolean: true)` - If true, the provider will return immediately
697
656
  after creating or updating, instead of monitoring.
698
- :param pulumi.Input[bool] hcl1: `(boolean: false)` - Set this to `true` to use the previous HCL1
699
- parser. This option is provided for backwards compatibility only and should
700
- not be used unless absolutely necessary.
701
657
  :param pulumi.Input[Union['JobHcl2Args', 'JobHcl2ArgsDict']] hcl2: `(block: optional)` - Options for the HCL2 jobspec parser.
702
658
  :param pulumi.Input[str] jobspec: `(string: <required>)` - The contents of the jobspec to register.
703
659
  :param pulumi.Input[bool] json: `(boolean: false)` - Set this to `true` if your jobspec is structured with
@@ -738,7 +694,6 @@ class Job(pulumi.CustomResource):
738
694
  deregister_on_destroy: Optional[pulumi.Input[bool]] = None,
739
695
  deregister_on_id_change: Optional[pulumi.Input[bool]] = None,
740
696
  detach: Optional[pulumi.Input[bool]] = None,
741
- hcl1: Optional[pulumi.Input[bool]] = None,
742
697
  hcl2: Optional[pulumi.Input[Union['JobHcl2Args', 'JobHcl2ArgsDict']]] = None,
743
698
  jobspec: Optional[pulumi.Input[str]] = None,
744
699
  json: Optional[pulumi.Input[bool]] = None,
@@ -760,7 +715,6 @@ class Job(pulumi.CustomResource):
760
715
  __props__.__dict__["deregister_on_destroy"] = deregister_on_destroy
761
716
  __props__.__dict__["deregister_on_id_change"] = deregister_on_id_change
762
717
  __props__.__dict__["detach"] = detach
763
- __props__.__dict__["hcl1"] = hcl1
764
718
  __props__.__dict__["hcl2"] = hcl2
765
719
  if jobspec is None and not opts.urn:
766
720
  raise TypeError("Missing required property 'jobspec'")
@@ -802,7 +756,6 @@ class Job(pulumi.CustomResource):
802
756
  deregister_on_destroy: Optional[pulumi.Input[bool]] = None,
803
757
  deregister_on_id_change: Optional[pulumi.Input[bool]] = None,
804
758
  detach: Optional[pulumi.Input[bool]] = None,
805
- hcl1: Optional[pulumi.Input[bool]] = None,
806
759
  hcl2: Optional[pulumi.Input[Union['JobHcl2Args', 'JobHcl2ArgsDict']]] = None,
807
760
  jobspec: Optional[pulumi.Input[str]] = None,
808
761
  json: Optional[pulumi.Input[bool]] = None,
@@ -836,9 +789,6 @@ class Job(pulumi.CustomResource):
836
789
  deregistered if the ID of the job in the jobspec changes.
837
790
  :param pulumi.Input[bool] detach: `(boolean: true)` - If true, the provider will return immediately
838
791
  after creating or updating, instead of monitoring.
839
- :param pulumi.Input[bool] hcl1: `(boolean: false)` - Set this to `true` to use the previous HCL1
840
- parser. This option is provided for backwards compatibility only and should
841
- not be used unless absolutely necessary.
842
792
  :param pulumi.Input[Union['JobHcl2Args', 'JobHcl2ArgsDict']] hcl2: `(block: optional)` - Options for the HCL2 jobspec parser.
843
793
  :param pulumi.Input[str] jobspec: `(string: <required>)` - The contents of the jobspec to register.
844
794
  :param pulumi.Input[bool] json: `(boolean: false)` - Set this to `true` if your jobspec is structured with
@@ -870,7 +820,6 @@ class Job(pulumi.CustomResource):
870
820
  __props__.__dict__["deregister_on_destroy"] = deregister_on_destroy
871
821
  __props__.__dict__["deregister_on_id_change"] = deregister_on_id_change
872
822
  __props__.__dict__["detach"] = detach
873
- __props__.__dict__["hcl1"] = hcl1
874
823
  __props__.__dict__["hcl2"] = hcl2
875
824
  __props__.__dict__["jobspec"] = jobspec
876
825
  __props__.__dict__["json"] = json
@@ -956,16 +905,6 @@ class Job(pulumi.CustomResource):
956
905
  """
957
906
  return pulumi.get(self, "detach")
958
907
 
959
- @property
960
- @pulumi.getter
961
- def hcl1(self) -> pulumi.Output[Optional[bool]]:
962
- """
963
- `(boolean: false)` - Set this to `true` to use the previous HCL1
964
- parser. This option is provided for backwards compatibility only and should
965
- not be used unless absolutely necessary.
966
- """
967
- return pulumi.get(self, "hcl1")
968
-
969
908
  @property
970
909
  @pulumi.getter
971
910
  def hcl2(self) -> pulumi.Output[Optional['outputs.JobHcl2']]:
pulumi_nomad/outputs.py CHANGED
@@ -1202,19 +1202,14 @@ class JobHcl2(dict):
1202
1202
 
1203
1203
  def __init__(__self__, *,
1204
1204
  allow_fs: Optional[bool] = None,
1205
- enabled: Optional[bool] = None,
1206
1205
  vars: Optional[Mapping[str, str]] = None):
1207
1206
  """
1208
1207
  :param bool allow_fs: `(boolean: false)` - Set this to `true` to be able to use
1209
1208
  HCL2 filesystem functions
1210
- :param bool enabled: `(boolean: false)` - **Deprecated** All HCL jobs are parsed as
1211
- HCL2 by default.
1212
1209
  :param Mapping[str, str] vars: Additional variables to use when templating the job with HCL2
1213
1210
  """
1214
1211
  if allow_fs is not None:
1215
1212
  pulumi.set(__self__, "allow_fs", allow_fs)
1216
- if enabled is not None:
1217
- pulumi.set(__self__, "enabled", enabled)
1218
1213
  if vars is not None:
1219
1214
  pulumi.set(__self__, "vars", vars)
1220
1215
 
@@ -1227,16 +1222,6 @@ class JobHcl2(dict):
1227
1222
  """
1228
1223
  return pulumi.get(self, "allow_fs")
1229
1224
 
1230
- @property
1231
- @pulumi.getter
1232
- @_utilities.deprecated("""Starting with version 2.0.0 of the Nomad provider, jobs are parsed using HCL2 by default, so this field is no longer used and may be safely removed from your configuration files. Set 'hcl1 = true' if you must use HCL1 job parsing.""")
1233
- def enabled(self) -> Optional[bool]:
1234
- """
1235
- `(boolean: false)` - **Deprecated** All HCL jobs are parsed as
1236
- HCL2 by default.
1237
- """
1238
- return pulumi.get(self, "enabled")
1239
-
1240
1225
  @property
1241
1226
  @pulumi.getter
1242
1227
  def vars(self) -> Optional[Mapping[str, str]]:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "nomad",
4
- "version": "2.4.0-alpha.1729186859"
4
+ "version": "2.4.0-alpha.1729204490"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_nomad
3
- Version: 2.4.0a1729186859
3
+ Version: 2.4.0a1729204490
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
@@ -1,5 +1,5 @@
1
1
  pulumi_nomad/__init__.py,sha256=1DS6wdOPeFhuGq-lUYG1tHqsPNoxIJT2IWHBlaNeRCA,4356
2
- pulumi_nomad/_inputs.py,sha256=EYc4-DJFt06W8Re7RpfABXD5qk3NTSKXRPD811YIIrE,102274
2
+ pulumi_nomad/_inputs.py,sha256=mwfcjsP32ejso1JvknhuH8lMjr1I9N6YElHg2tuuX5I,100573
3
3
  pulumi_nomad/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
4
4
  pulumi_nomad/acl_auth_method.py,sha256=Pj0N277F0iDVH005fxblatyghsQcsQ-96GqXcHPzv2I,23956
5
5
  pulumi_nomad/acl_binding_rule.py,sha256=LYTpE6qHi8RMi58dPDpAbCuUCNyleUw1qgG8BcoX4J8,16570
@@ -33,12 +33,12 @@ pulumi_nomad/get_scaling_policy.py,sha256=Kc0YQ2r6SVRTOJJcpFBZfUH2GGDzpID-z0W3G5
33
33
  pulumi_nomad/get_scheduler_policy.py,sha256=SOOvu7vnRwntJNl2fJsjUB6ZtDjL9LkhDcbVJnvKX4o,5278
34
34
  pulumi_nomad/get_variable.py,sha256=Vt_Vx_W4y9MLH3H15BJ_4GiDv2L_RlsztKY68t_hj1w,4793
35
35
  pulumi_nomad/get_volumes.py,sha256=CAxtwcBzLPXCG9Jj2jQ-qG4-G0NzgLxGGz2469w-XsA,6281
36
- pulumi_nomad/job.py,sha256=PnXxvaxHfn9WwO75WfmDlRLq1lWzO_6Q0_9kSBUBk8A,51038
36
+ pulumi_nomad/job.py,sha256=aPufenKt_3u28C1X58uWx3stILWMdRXArXkImjC6HI0,48196
37
37
  pulumi_nomad/namespace.py,sha256=7Bq_f1bG40gUz04Jnr5Cnym1FpNTAlQDD27XYQg-vp8,20779
38
38
  pulumi_nomad/node_pool.py,sha256=WHW0fEZd5Sw625v24IvEWpQSl1xSJsR5zE_dPm9Sn9o,13420
39
- pulumi_nomad/outputs.py,sha256=fZFhq4SlySkoXPmY66s1vAzoV-VVVbh_b36wYV6eYUQ,104428
39
+ pulumi_nomad/outputs.py,sha256=2FjJnNOGrUvZhybf2BEA9RYGSxFMUUx2OItUFhYQr0s,103667
40
40
  pulumi_nomad/provider.py,sha256=IWzu62XrgBMool1GiOsU4_Yv0bPZCkY_1StS9z1OPM0,21768
41
- pulumi_nomad/pulumi-plugin.json,sha256=ifJmKR4nPbH_5_jKahkD3z1erCWNBDEf5bDiS5TcA5M,81
41
+ pulumi_nomad/pulumi-plugin.json,sha256=_KDU_DIGMGnrZPqbElabmLXNIMEjtXPHg7YWjnRGbhw,81
42
42
  pulumi_nomad/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  pulumi_nomad/quote_specification.py,sha256=1sb80ZJL4tllOu0_ove0nLSsjvKgmK1sKCkc3WadMis,12277
44
44
  pulumi_nomad/scheduler_config.py,sha256=DkE30G6eeiNoSFCzPWrRKbijo4n83UHjBNQZLjL8rQk,14284
@@ -49,7 +49,7 @@ pulumi_nomad/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi0
49
49
  pulumi_nomad/config/__init__.pyi,sha256=ZFmbRCMsjcMqRsOkohuoubzDqF1rsUlPox6-OtD73ac,2039
50
50
  pulumi_nomad/config/outputs.py,sha256=Uip-ODtWe-P7OpRSW6W_V4c8OgmVP_VjYH0KlxxyVXk,1177
51
51
  pulumi_nomad/config/vars.py,sha256=svrn_iqEdBe6m9S1xEKUWULVbbx1uHCi5A02ErDpPZk,3606
52
- pulumi_nomad-2.4.0a1729186859.dist-info/METADATA,sha256=pIWJTeg1TifxeUy1pvU9oLS6BAxgOMzGlbicXdrpJBE,4798
53
- pulumi_nomad-2.4.0a1729186859.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
54
- pulumi_nomad-2.4.0a1729186859.dist-info/top_level.txt,sha256=1JxoZWssmXqN-8vVDXtedeoWtI703uNWUOzlm8Byv-o,13
55
- pulumi_nomad-2.4.0a1729186859.dist-info/RECORD,,
52
+ pulumi_nomad-2.4.0a1729204490.dist-info/METADATA,sha256=URQPo4Pk4dxqTTGQp44n-KqtHgDUoG0AsiQT5bxHr2A,4798
53
+ pulumi_nomad-2.4.0a1729204490.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
54
+ pulumi_nomad-2.4.0a1729204490.dist-info/top_level.txt,sha256=1JxoZWssmXqN-8vVDXtedeoWtI703uNWUOzlm8Byv-o,13
55
+ pulumi_nomad-2.4.0a1729204490.dist-info/RECORD,,