pulumi-consul 3.11.1__py3-none-any.whl → 3.11.3__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.
Files changed (49) hide show
  1. pulumi_consul/_inputs.py +62 -26
  2. pulumi_consul/_utilities.py +2 -2
  3. pulumi_consul/acl_auth_method.py +4 -0
  4. pulumi_consul/acl_binding_rule.py +2 -0
  5. pulumi_consul/acl_policy.py +4 -4
  6. pulumi_consul/acl_role.py +13 -13
  7. pulumi_consul/acl_role_policy_attachment.py +10 -8
  8. pulumi_consul/acl_token.py +18 -14
  9. pulumi_consul/acl_token_policy_attachment.py +10 -6
  10. pulumi_consul/acl_token_role_attachment.py +6 -4
  11. pulumi_consul/admin_partition.py +8 -4
  12. pulumi_consul/agent_service.py +2 -0
  13. pulumi_consul/catalog_entry.py +0 -42
  14. pulumi_consul/certificate_authority.py +2 -28
  15. pulumi_consul/config/outputs.py +24 -0
  16. pulumi_consul/config_entry.py +76 -32
  17. pulumi_consul/config_entry_service_defaults.py +23 -23
  18. pulumi_consul/config_entry_service_intentions.py +27 -27
  19. pulumi_consul/config_entry_service_resolver.py +57 -59
  20. pulumi_consul/config_entry_service_router.py +21 -61
  21. pulumi_consul/config_entry_service_splitter.py +24 -22
  22. pulumi_consul/get_acl_role.py +2 -0
  23. pulumi_consul/get_acl_token_secret_id.py +8 -6
  24. pulumi_consul/get_catalog_service.py +30 -4
  25. pulumi_consul/get_catalog_services.py +32 -0
  26. pulumi_consul/get_key_prefix.py +18 -18
  27. pulumi_consul/get_keys.py +4 -6
  28. pulumi_consul/get_network_area_members.py +6 -6
  29. pulumi_consul/get_network_segments.py +4 -4
  30. pulumi_consul/get_service.py +30 -4
  31. pulumi_consul/get_services.py +32 -0
  32. pulumi_consul/intention.py +12 -12
  33. pulumi_consul/key_prefix.py +32 -30
  34. pulumi_consul/keys.py +6 -6
  35. pulumi_consul/license.py +4 -2
  36. pulumi_consul/namespace.py +8 -4
  37. pulumi_consul/namespace_policy_attachment.py +6 -4
  38. pulumi_consul/namespace_role_attachment.py +6 -4
  39. pulumi_consul/node.py +8 -4
  40. pulumi_consul/outputs.py +126 -24
  41. pulumi_consul/peering.py +8 -18
  42. pulumi_consul/prepared_query.py +65 -61
  43. pulumi_consul/pulumi-plugin.json +2 -1
  44. pulumi_consul/service.py +133 -7
  45. {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/METADATA +2 -2
  46. pulumi_consul-3.11.3.dist-info/RECORD +70 -0
  47. {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/WHEEL +1 -1
  48. pulumi_consul-3.11.1.dist-info/RECORD +0 -70
  49. {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/top_level.txt +0 -0
@@ -36,7 +36,7 @@ class PreparedQueryArgs:
36
36
  The set of arguments for constructing a PreparedQuery resource.
37
37
  :param pulumi.Input[str] service: The name of the service to query
38
38
  :param pulumi.Input[bool] connect: When `true` the prepared query will return connect proxy services for a queried service. Conditions such as `tags` in the prepared query will be matched against the proxy service. Defaults to false.
39
- :param pulumi.Input[str] datacenter: Specifies a WAN federated datacenter to forward the query to.
39
+ :param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
40
40
  :param pulumi.Input['PreparedQueryDnsArgs'] dns: Settings for controlling the DNS response details.
41
41
  :param pulumi.Input['PreparedQueryFailoverArgs'] failover: Options for controlling behavior when no healthy nodes are available in the local DC.
42
42
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_check_ids: Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
@@ -116,7 +116,7 @@ Please use the token argument in the provider configuration""")
116
116
  @pulumi.getter
117
117
  def datacenter(self) -> Optional[pulumi.Input[str]]:
118
118
  """
119
- Specifies a WAN federated datacenter to forward the query to.
119
+ The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
120
120
  """
121
121
  return pulumi.get(self, "datacenter")
122
122
 
@@ -308,7 +308,7 @@ class _PreparedQueryState:
308
308
  """
309
309
  Input properties used for looking up and filtering PreparedQuery resources.
310
310
  :param pulumi.Input[bool] connect: When `true` the prepared query will return connect proxy services for a queried service. Conditions such as `tags` in the prepared query will be matched against the proxy service. Defaults to false.
311
- :param pulumi.Input[str] datacenter: Specifies a WAN federated datacenter to forward the query to.
311
+ :param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
312
312
  :param pulumi.Input['PreparedQueryDnsArgs'] dns: Settings for controlling the DNS response details.
313
313
  :param pulumi.Input['PreparedQueryFailoverArgs'] failover: Options for controlling behavior when no healthy nodes are available in the local DC.
314
314
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_check_ids: Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
@@ -378,7 +378,7 @@ Please use the token argument in the provider configuration""")
378
378
  @pulumi.getter
379
379
  def datacenter(self) -> Optional[pulumi.Input[str]]:
380
380
  """
381
- Specifies a WAN federated datacenter to forward the query to.
381
+ The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
382
382
  """
383
383
  return pulumi.get(self, "datacenter")
384
384
 
@@ -593,65 +593,67 @@ class PreparedQuery(pulumi.CustomResource):
593
593
  # healthy myapp.service.consul instance that has the active tag and not
594
594
  # the standby tag.
595
595
  myapp_query = consul.PreparedQuery("myapp-query",
596
+ name="myquery",
596
597
  datacenter="us-central1",
597
- dns=consul.PreparedQueryDnsArgs(
598
- ttl="30s",
599
- ),
598
+ token="abcd",
599
+ stored_token="wxyz",
600
+ only_passing=True,
601
+ near="_agent",
602
+ service="myapp",
603
+ tags=[
604
+ "active",
605
+ "!standby",
606
+ ],
600
607
  failover=consul.PreparedQueryFailoverArgs(
608
+ nearest_n=3,
601
609
  datacenters=[
602
610
  "us-west1",
603
611
  "us-east-2",
604
612
  "asia-east1",
605
613
  ],
606
- nearest_n=3,
607
614
  ),
608
- near="_agent",
609
- only_passing=True,
610
- service="myapp",
611
- stored_token="wxyz",
612
- tags=[
613
- "active",
614
- "!standby",
615
- ],
616
- token="abcd")
615
+ dns=consul.PreparedQueryDnsArgs(
616
+ ttl="30s",
617
+ ))
617
618
  # Creates a Prepared Query Template that matches *-near-self.query.consul
618
619
  # and finds the nearest service that matches the glob character (e.g.
619
620
  # foo-near-self.query.consul will find the nearest healthy foo.service.consul).
620
621
  service_near_self = consul.PreparedQuery("service-near-self",
621
- connect=True,
622
622
  datacenter="nyc1",
623
- dns=consul.PreparedQueryDnsArgs(
624
- ttl="5m",
623
+ token="abcd",
624
+ stored_token="wxyz",
625
+ name="",
626
+ only_passing=True,
627
+ connect=True,
628
+ near="_agent",
629
+ template=consul.PreparedQueryTemplateArgs(
630
+ type="name_prefix_match",
631
+ regexp="^(.*)-near-self$",
625
632
  ),
633
+ service="${match(1)}",
626
634
  failover=consul.PreparedQueryFailoverArgs(
635
+ nearest_n=3,
627
636
  datacenters=[
628
637
  "dc2",
629
638
  "dc3",
630
639
  "dc4",
631
640
  ],
632
- nearest_n=3,
633
641
  ),
634
- near="_agent",
635
- only_passing=True,
636
- service="${match(1)}",
637
- stored_token="wxyz",
638
- template=consul.PreparedQueryTemplateArgs(
639
- regexp="^(.*)-near-self$",
640
- type="name_prefix_match",
641
- ),
642
- token="abcd")
642
+ dns=consul.PreparedQueryDnsArgs(
643
+ ttl="5m",
644
+ ))
643
645
  ```
644
646
 
645
647
  ## Import
646
648
 
647
649
  ```sh
648
- $ pulumi import consul:index/preparedQuery:PreparedQuery my_service 71ecfb82-717a-4258-b4b6-2fb75144d856
650
+ $ pulumi import consul:index/preparedQuery:PreparedQuery my_service 71ecfb82-717a-4258-b4b6-2fb75144d856
649
651
  ```
650
652
 
651
653
  :param str resource_name: The name of the resource.
652
654
  :param pulumi.ResourceOptions opts: Options for the resource.
653
655
  :param pulumi.Input[bool] connect: When `true` the prepared query will return connect proxy services for a queried service. Conditions such as `tags` in the prepared query will be matched against the proxy service. Defaults to false.
654
- :param pulumi.Input[str] datacenter: Specifies a WAN federated datacenter to forward the query to.
656
+ :param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
655
657
  :param pulumi.Input[pulumi.InputType['PreparedQueryDnsArgs']] dns: Settings for controlling the DNS response details.
656
658
  :param pulumi.Input[pulumi.InputType['PreparedQueryFailoverArgs']] failover: Options for controlling behavior when no healthy nodes are available in the local DC.
657
659
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_check_ids: Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
@@ -684,59 +686,61 @@ class PreparedQuery(pulumi.CustomResource):
684
686
  # healthy myapp.service.consul instance that has the active tag and not
685
687
  # the standby tag.
686
688
  myapp_query = consul.PreparedQuery("myapp-query",
689
+ name="myquery",
687
690
  datacenter="us-central1",
688
- dns=consul.PreparedQueryDnsArgs(
689
- ttl="30s",
690
- ),
691
+ token="abcd",
692
+ stored_token="wxyz",
693
+ only_passing=True,
694
+ near="_agent",
695
+ service="myapp",
696
+ tags=[
697
+ "active",
698
+ "!standby",
699
+ ],
691
700
  failover=consul.PreparedQueryFailoverArgs(
701
+ nearest_n=3,
692
702
  datacenters=[
693
703
  "us-west1",
694
704
  "us-east-2",
695
705
  "asia-east1",
696
706
  ],
697
- nearest_n=3,
698
707
  ),
699
- near="_agent",
700
- only_passing=True,
701
- service="myapp",
702
- stored_token="wxyz",
703
- tags=[
704
- "active",
705
- "!standby",
706
- ],
707
- token="abcd")
708
+ dns=consul.PreparedQueryDnsArgs(
709
+ ttl="30s",
710
+ ))
708
711
  # Creates a Prepared Query Template that matches *-near-self.query.consul
709
712
  # and finds the nearest service that matches the glob character (e.g.
710
713
  # foo-near-self.query.consul will find the nearest healthy foo.service.consul).
711
714
  service_near_self = consul.PreparedQuery("service-near-self",
712
- connect=True,
713
715
  datacenter="nyc1",
714
- dns=consul.PreparedQueryDnsArgs(
715
- ttl="5m",
716
+ token="abcd",
717
+ stored_token="wxyz",
718
+ name="",
719
+ only_passing=True,
720
+ connect=True,
721
+ near="_agent",
722
+ template=consul.PreparedQueryTemplateArgs(
723
+ type="name_prefix_match",
724
+ regexp="^(.*)-near-self$",
716
725
  ),
726
+ service="${match(1)}",
717
727
  failover=consul.PreparedQueryFailoverArgs(
728
+ nearest_n=3,
718
729
  datacenters=[
719
730
  "dc2",
720
731
  "dc3",
721
732
  "dc4",
722
733
  ],
723
- nearest_n=3,
724
734
  ),
725
- near="_agent",
726
- only_passing=True,
727
- service="${match(1)}",
728
- stored_token="wxyz",
729
- template=consul.PreparedQueryTemplateArgs(
730
- regexp="^(.*)-near-self$",
731
- type="name_prefix_match",
732
- ),
733
- token="abcd")
735
+ dns=consul.PreparedQueryDnsArgs(
736
+ ttl="5m",
737
+ ))
734
738
  ```
735
739
 
736
740
  ## Import
737
741
 
738
742
  ```sh
739
- $ pulumi import consul:index/preparedQuery:PreparedQuery my_service 71ecfb82-717a-4258-b4b6-2fb75144d856
743
+ $ pulumi import consul:index/preparedQuery:PreparedQuery my_service 71ecfb82-717a-4258-b4b6-2fb75144d856
740
744
  ```
741
745
 
742
746
  :param str resource_name: The name of the resource.
@@ -833,7 +837,7 @@ class PreparedQuery(pulumi.CustomResource):
833
837
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
834
838
  :param pulumi.ResourceOptions opts: Options for the resource.
835
839
  :param pulumi.Input[bool] connect: When `true` the prepared query will return connect proxy services for a queried service. Conditions such as `tags` in the prepared query will be matched against the proxy service. Defaults to false.
836
- :param pulumi.Input[str] datacenter: Specifies a WAN federated datacenter to forward the query to.
840
+ :param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
837
841
  :param pulumi.Input[pulumi.InputType['PreparedQueryDnsArgs']] dns: Settings for controlling the DNS response details.
838
842
  :param pulumi.Input[pulumi.InputType['PreparedQueryFailoverArgs']] failover: Options for controlling behavior when no healthy nodes are available in the local DC.
839
843
  :param pulumi.Input[Sequence[pulumi.Input[str]]] ignore_check_ids: Specifies a list of check IDs that should be ignored when filtering unhealthy instances. This is mostly useful in an emergency or as a temporary measure when a health check is found to be unreliable. Being able to ignore it in centrally-defined queries can be simpler than de-registering the check as an interim solution until the check can be fixed.
@@ -883,7 +887,7 @@ class PreparedQuery(pulumi.CustomResource):
883
887
  @pulumi.getter
884
888
  def datacenter(self) -> pulumi.Output[Optional[str]]:
885
889
  """
886
- Specifies a WAN federated datacenter to forward the query to.
890
+ The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
887
891
  """
888
892
  return pulumi.get(self, "datacenter")
889
893
 
@@ -1,4 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
- "name": "consul"
3
+ "name": "consul",
4
+ "version": "3.11.3"
4
5
  }
pulumi_consul/service.py CHANGED
@@ -36,7 +36,7 @@ class ServiceArgs:
36
36
  :param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
37
37
  :param pulumi.Input[bool] enable_tag_override: Specifies to disable the anti-entropy feature for this service's tags. Defaults to `false`.
38
38
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: A map of arbitrary KV metadata linked to the service instance.
39
- :param pulumi.Input[str] name: The name of the header.
39
+ :param pulumi.Input[str] name: The name of the service.
40
40
  :param pulumi.Input[str] namespace: The namespace to create the service within.
41
41
  :param pulumi.Input[str] partition: The partition the service is associated with.
42
42
  :param pulumi.Input[int] port: The port of the service.
@@ -157,7 +157,7 @@ class ServiceArgs:
157
157
  @pulumi.getter
158
158
  def name(self) -> Optional[pulumi.Input[str]]:
159
159
  """
160
- The name of the header.
160
+ The name of the service.
161
161
  """
162
162
  return pulumi.get(self, "name")
163
163
 
@@ -248,7 +248,7 @@ class _ServiceState:
248
248
  :param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
249
249
  :param pulumi.Input[bool] enable_tag_override: Specifies to disable the anti-entropy feature for this service's tags. Defaults to `false`.
250
250
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: A map of arbitrary KV metadata linked to the service instance.
251
- :param pulumi.Input[str] name: The name of the header.
251
+ :param pulumi.Input[str] name: The name of the service.
252
252
  :param pulumi.Input[str] namespace: The namespace to create the service within.
253
253
  :param pulumi.Input[str] node: The name of the node the to register the service on.
254
254
  :param pulumi.Input[str] partition: The partition the service is associated with.
@@ -359,7 +359,7 @@ class _ServiceState:
359
359
  @pulumi.getter
360
360
  def name(self) -> Optional[pulumi.Input[str]]:
361
361
  """
362
- The name of the header.
362
+ The name of the service.
363
363
  """
364
364
  return pulumi.get(self, "name")
365
365
 
@@ -469,13 +469,76 @@ class Service(pulumi.CustomResource):
469
469
  registered, it is not recommended to use this resource as the service will be
470
470
  removed during the next [anti-entropy synchronization](https://www.consul.io/docs/architecture/anti-entropy).
471
471
 
472
+ ## Example Usage
473
+
474
+ Creating a new node with the service:
475
+
476
+ ```python
477
+ import pulumi
478
+ import pulumi_consul as consul
479
+
480
+ compute = consul.Node("compute",
481
+ name="compute-google",
482
+ address="www.google.com")
483
+ google = consul.Service("google",
484
+ name="google",
485
+ node=compute.name,
486
+ port=80,
487
+ tags=["tag0"])
488
+ ```
489
+
490
+ Utilizing an existing known node:
491
+
492
+ ```python
493
+ import pulumi
494
+ import pulumi_consul as consul
495
+
496
+ google = consul.Service("google",
497
+ name="google",
498
+ node="google",
499
+ port=443)
500
+ ```
501
+
502
+ Register a health-check:
503
+
504
+ ```python
505
+ import pulumi
506
+ import pulumi_consul as consul
507
+
508
+ redis = consul.Service("redis",
509
+ name="redis",
510
+ node="redis",
511
+ port=6379,
512
+ checks=[consul.ServiceCheckArgs(
513
+ check_id="service:redis1",
514
+ name="Redis health check",
515
+ status="passing",
516
+ http="https://www.hashicorptest.com",
517
+ tls_skip_verify=False,
518
+ method="PUT",
519
+ interval="5s",
520
+ timeout="1s",
521
+ deregister_critical_service_after="30s",
522
+ headers=[
523
+ consul.ServiceCheckHeaderArgs(
524
+ name="foo",
525
+ values=["test"],
526
+ ),
527
+ consul.ServiceCheckHeaderArgs(
528
+ name="bar",
529
+ values=["test"],
530
+ ),
531
+ ],
532
+ )])
533
+ ```
534
+
472
535
  :param str resource_name: The name of the resource.
473
536
  :param pulumi.ResourceOptions opts: Options for the resource.
474
537
  :param pulumi.Input[str] address: The address of the service. Defaults to the address of the node.
475
538
  :param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
476
539
  :param pulumi.Input[bool] enable_tag_override: Specifies to disable the anti-entropy feature for this service's tags. Defaults to `false`.
477
540
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: A map of arbitrary KV metadata linked to the service instance.
478
- :param pulumi.Input[str] name: The name of the header.
541
+ :param pulumi.Input[str] name: The name of the service.
479
542
  :param pulumi.Input[str] namespace: The namespace to create the service within.
480
543
  :param pulumi.Input[str] node: The name of the node the to register the service on.
481
544
  :param pulumi.Input[str] partition: The partition the service is associated with.
@@ -499,6 +562,69 @@ class Service(pulumi.CustomResource):
499
562
  registered, it is not recommended to use this resource as the service will be
500
563
  removed during the next [anti-entropy synchronization](https://www.consul.io/docs/architecture/anti-entropy).
501
564
 
565
+ ## Example Usage
566
+
567
+ Creating a new node with the service:
568
+
569
+ ```python
570
+ import pulumi
571
+ import pulumi_consul as consul
572
+
573
+ compute = consul.Node("compute",
574
+ name="compute-google",
575
+ address="www.google.com")
576
+ google = consul.Service("google",
577
+ name="google",
578
+ node=compute.name,
579
+ port=80,
580
+ tags=["tag0"])
581
+ ```
582
+
583
+ Utilizing an existing known node:
584
+
585
+ ```python
586
+ import pulumi
587
+ import pulumi_consul as consul
588
+
589
+ google = consul.Service("google",
590
+ name="google",
591
+ node="google",
592
+ port=443)
593
+ ```
594
+
595
+ Register a health-check:
596
+
597
+ ```python
598
+ import pulumi
599
+ import pulumi_consul as consul
600
+
601
+ redis = consul.Service("redis",
602
+ name="redis",
603
+ node="redis",
604
+ port=6379,
605
+ checks=[consul.ServiceCheckArgs(
606
+ check_id="service:redis1",
607
+ name="Redis health check",
608
+ status="passing",
609
+ http="https://www.hashicorptest.com",
610
+ tls_skip_verify=False,
611
+ method="PUT",
612
+ interval="5s",
613
+ timeout="1s",
614
+ deregister_critical_service_after="30s",
615
+ headers=[
616
+ consul.ServiceCheckHeaderArgs(
617
+ name="foo",
618
+ values=["test"],
619
+ ),
620
+ consul.ServiceCheckHeaderArgs(
621
+ name="bar",
622
+ values=["test"],
623
+ ),
624
+ ],
625
+ )])
626
+ ```
627
+
502
628
  :param str resource_name: The name of the resource.
503
629
  :param ServiceArgs args: The arguments to use to populate this resource's properties.
504
630
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -585,7 +711,7 @@ class Service(pulumi.CustomResource):
585
711
  :param pulumi.Input[str] datacenter: The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
586
712
  :param pulumi.Input[bool] enable_tag_override: Specifies to disable the anti-entropy feature for this service's tags. Defaults to `false`.
587
713
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: A map of arbitrary KV metadata linked to the service instance.
588
- :param pulumi.Input[str] name: The name of the header.
714
+ :param pulumi.Input[str] name: The name of the service.
589
715
  :param pulumi.Input[str] namespace: The namespace to create the service within.
590
716
  :param pulumi.Input[str] node: The name of the node the to register the service on.
591
717
  :param pulumi.Input[str] partition: The partition the service is associated with.
@@ -661,7 +787,7 @@ class Service(pulumi.CustomResource):
661
787
  @pulumi.getter
662
788
  def name(self) -> pulumi.Output[str]:
663
789
  """
664
- The name of the header.
790
+ The name of the service.
665
791
  """
666
792
  return pulumi.get(self, "name")
667
793
 
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_consul
3
- Version: 3.11.1
3
+ Version: 3.11.3
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
@@ -0,0 +1,70 @@
1
+ pulumi_consul/__init__.py,sha256=WEdXDw8m0r_d5zps4HIp-KZjaIErfJLypM_JVn9whIA,8027
2
+ pulumi_consul/_inputs.py,sha256=VJByst-fIE19jbgoNEvXuyQJN74w7ICOyvq13ZexjCI,217105
3
+ pulumi_consul/_utilities.py,sha256=b6gJn0IIeM1t6Q7EVjqw3yhuGyP-uENQhtL5yp7aHR8,9248
4
+ pulumi_consul/acl_auth_method.py,sha256=TYhT6uOPRcXS3nugKF3umJHjPxeqplGosY_XqcMl0NM,32885
5
+ pulumi_consul/acl_binding_rule.py,sha256=qoMrO-kFxOlCiYmtZRcaNkI6deNTNo7Cu6vM3Ll8nHo,22734
6
+ pulumi_consul/acl_policy.py,sha256=0z0_E08Zb8s0EE3lFtveE0t4ns47Dqj5b3IRGe4DpQE,15624
7
+ pulumi_consul/acl_role.py,sha256=NAz5WiFWotX2_ZCADkFC0OVtaacpIe_wLEl6IUz8OFs,23952
8
+ pulumi_consul/acl_role_policy_attachment.py,sha256=Adk9-dTzl9uiXhmk1aT_tZSmIJfLJiHTUWYSzN8pUWM,8541
9
+ pulumi_consul/acl_token.py,sha256=yoMk7_ERtjigdtcPbTvIjKSWUyqD0lX3qjHkLJ4yi5s,31321
10
+ pulumi_consul/acl_token_policy_attachment.py,sha256=glF99m1ImmIG7uyNOQyRNR24D1cTrsayKh-e3ANXrm8,8508
11
+ pulumi_consul/acl_token_role_attachment.py,sha256=3o1wjCqBWTVQGK-PNLQswAt8rVjiHwoUPmcvMYdHrM8,7757
12
+ pulumi_consul/admin_partition.py,sha256=2y0RX2FArESVxwhB8xkUmcx6UAlTWpdzPiuVuO5CmJ4,8589
13
+ pulumi_consul/agent_service.py,sha256=dElBoSCeo_3d7uut7rBQV4AGmGMm56sH5PivFwQAZtw,12987
14
+ pulumi_consul/autopilot_config.py,sha256=g_N2ZqciXVA-H4kD5vZExAsABfawil-5KOpJmo41W7A,28023
15
+ pulumi_consul/catalog_entry.py,sha256=SgNXcjc-AJRZOW8mxOu8Yx4Nqpk5TJBfIRTBdikraZA,17763
16
+ pulumi_consul/certificate_authority.py,sha256=FquslNbC2y_DblTfWMlyCBYoe9drs7VIWHMU6KA019E,10835
17
+ pulumi_consul/config_entry.py,sha256=QjMjGua9IGQvYSlAoN0Lxd8dCJrIPakfsCMx2-G-1PE,30488
18
+ pulumi_consul/config_entry_service_defaults.py,sha256=wSyKQVZieDuLJQd64denFq1C-1aVn3jeVyJOohMrZ5k,52869
19
+ pulumi_consul/config_entry_service_intentions.py,sha256=ym6dvGNUvJboSrtvIHM4QE_y7V_1NF4ev0Y4kbh0AjY,22185
20
+ pulumi_consul/config_entry_service_resolver.py,sha256=8pet5lVdnuMOkaDpJkQnQRqW1_N1-3_fTwsAfN41Ccs,35410
21
+ pulumi_consul/config_entry_service_router.py,sha256=ANW6NOgPxk2nyc5k3rXfEbHpnnNdU5JVsp1FhiUSNPA,14342
22
+ pulumi_consul/config_entry_service_splitter.py,sha256=Yj57zIzBC5l1LpVXVLNwK2UCHuhdjUciqHq6dzFOvD8,20220
23
+ pulumi_consul/get_acl_auth_method.py,sha256=9b56fzKS3TQTKM93R-E30Xc5sGXS-lGYR-wIF3dypLc,9505
24
+ pulumi_consul/get_acl_policy.py,sha256=LFQlcq2jS7ptdGTWr9Dos9Wq64gqeTv8GNM4G88SNVU,5926
25
+ pulumi_consul/get_acl_role.py,sha256=Rcbne_FKhB2lNSQEj5P87n68uO9hjGRWDx-IJZC-x2o,7581
26
+ pulumi_consul/get_acl_token.py,sha256=7n2WTxRrF-zrYQRmFfy4jLXYjsLsoCQ5s81gVqvEKwU,9808
27
+ pulumi_consul/get_acl_token_secret_id.py,sha256=tQYhYIWXmNT6VP_zimJDetb3PXW8-oBZdn5KqYmDQkg,6869
28
+ pulumi_consul/get_agent_config.py,sha256=F6Khi2DZQROdaxOQVNe2iJtVXroLDICQfQ3t_shRodE,5959
29
+ pulumi_consul/get_agent_self.py,sha256=-cw13p0lRJLyj8qvQp06ZZ5c18JatSdw1am6QoJZqnE,43212
30
+ pulumi_consul/get_autopilot_health.py,sha256=WKtlV88Q7C3JHVaHa6Sa7p7aXeggEXfQaLQXz3ZVwRY,5266
31
+ pulumi_consul/get_catalog_nodes.py,sha256=nZZIzVkm74PtG34IlKugBZnX3adeQyOSNmoZz_mHKIE,5881
32
+ pulumi_consul/get_catalog_service.py,sha256=yqx5jEJHt-lvAodRu-jgEOeSMr8PS_EqdzDQpvDM8oY,9233
33
+ pulumi_consul/get_catalog_services.py,sha256=gGR6oN9YncIZSrYY-duOTDChzj5ubje0wMrWVlSzEDE,7110
34
+ pulumi_consul/get_config_entry.py,sha256=8pHLWLT5RUVPiJj5zU2VV1xkGsT9JpLsmVwxeqbEpzE,5478
35
+ pulumi_consul/get_datacenters.py,sha256=WNivbaPSVbCtwHtvdRjljUti1YWaOJtqxBBc-_7IFEc,2669
36
+ pulumi_consul/get_key_prefix.py,sha256=1Xk9NzX3JRGVqFhWMls1EG3eJaqu0LbFyBhhZCcpYlY,10511
37
+ pulumi_consul/get_keys.py,sha256=019DmVUvluUJCaY9SX5hdNdrRFfj6iKgg5zIWaPDx7U,9391
38
+ pulumi_consul/get_network_area_members.py,sha256=N3Ub1clQq_YXSjWfeiMUQHwVYKKfuP2-z4VyDPVmNnc,6466
39
+ pulumi_consul/get_network_segments.py,sha256=-DGSkdohpMeFu8RqvVSytCKbWIbUO4KIC2P-B1Ao0sY,5343
40
+ pulumi_consul/get_nodes.py,sha256=ZcKZWIWuWgclQGj4QYTqKdhvQcSI_rxYZrlBakLRvsA,5359
41
+ pulumi_consul/get_peering.py,sha256=Bcpy_TCMVuHrmzWWM5GRTLiaZq5gGJuZYcis9JCMraE,6300
42
+ pulumi_consul/get_peerings.py,sha256=EX1J_eQf01voOEvPB2IuWV6HNdvTeTpn_bbuY0gQ9QQ,3024
43
+ pulumi_consul/get_service.py,sha256=HV1p2U59QDgDbq5jzpF3R0ProYET9xM-zxvu_3urIjE,8631
44
+ pulumi_consul/get_service_health.py,sha256=2CCrunPsyCDOjmcJXhGmSIJSMc6a-0vlvuiEAVJ80Dw,10133
45
+ pulumi_consul/get_services.py,sha256=2YIBv7zSuGuiGvFotifO_193lcuwPim6Us_IGTKPD8g,6571
46
+ pulumi_consul/intention.py,sha256=naX-vekDSLky5qeApRsqjCxralnpkcyBp-upO3fUd3g,25830
47
+ pulumi_consul/key_prefix.py,sha256=Yf1q4dm5Acq4Awk6Eh9opgiFrVk1a-3RcYbO-wlxU8k,26215
48
+ pulumi_consul/keys.py,sha256=pSGIYmA6ek1qIgbMKaIhzS2Tfpy4HC9PJgaqzkRCR7I,17869
49
+ pulumi_consul/license.py,sha256=OMJsth0jpRMssJjJ64UTUZSdm8eXD_DJA40Wliy0MmI,19879
50
+ pulumi_consul/namespace.py,sha256=CJZE9TgWD0bdKndmb8hlyyWIttNUPJou0k5LJBjyK2E,18021
51
+ pulumi_consul/namespace_policy_attachment.py,sha256=0qlJ92SJLDdocHj8dmm0cd1LAqF-IlB5FouYhUOyATo,8200
52
+ pulumi_consul/namespace_role_attachment.py,sha256=-xlic3f_MQ7JN0i0aNPEvSD7pT8vzrM0fvlUB7KLOoY,8052
53
+ pulumi_consul/network_area.py,sha256=YmboKpGWDpugJ79JXiBrIRJy50m5zHwKgL48Bf0909U,19676
54
+ pulumi_consul/node.py,sha256=yHmlQrpuPQ7250pjl3voR_csUlZmHpQC3EWF9WZtBC4,18005
55
+ pulumi_consul/outputs.py,sha256=QoiPqPKtAGnSzYPxu0m5ylL7k397wovPzQEmyTEpoWU,234783
56
+ pulumi_consul/peering.py,sha256=B2_vXke9-rZ2IiFiQRddhW8lDJex8PFtMFqzR5IR6Rc,20322
57
+ pulumi_consul/peering_token.py,sha256=DMm2gBJ2DaTygdsX99QpXxJaMmdqzEazpm7i2e8P1H8,14065
58
+ pulumi_consul/prepared_query.py,sha256=FZk5ErrLld89cHMEEgk1jNoJL9wbPP_KDSyTEuPz8gM,54153
59
+ pulumi_consul/provider.py,sha256=1xhCm2DWQ1CuCIy7sDnl_lzHDj4wtS2mc3OH7vQaToU,24679
60
+ pulumi_consul/pulumi-plugin.json,sha256=2VzBfDn5pwNjttD0kXNlUlqtSzKYmuudFgm_hbO7I8E,66
61
+ pulumi_consul/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
+ pulumi_consul/service.py,sha256=0d-xn84DWLG-BRGFXupJXnoMRXaQ_yrtf9CR49o0WIo,34669
63
+ pulumi_consul/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
64
+ pulumi_consul/config/__init__.pyi,sha256=Xr56VkEbCA8jXnSDMCxONcnilMpQdAHs6-imo_c-TBU,2587
65
+ pulumi_consul/config/outputs.py,sha256=gDtRkTfR9uCq26RXew73SpJWdrCejHeWHhoL5--_LW4,3384
66
+ pulumi_consul/config/vars.py,sha256=SXNUccmf6RtLkyaTd4mMknJtP2rlISHxMcq4PUHRgpg,4255
67
+ pulumi_consul-3.11.3.dist-info/METADATA,sha256=qd6dDw2DpAin1Dm2Z4y1kC0jRnqmNN5zFRfGNNI1A7c,3933
68
+ pulumi_consul-3.11.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
69
+ pulumi_consul-3.11.3.dist-info/top_level.txt,sha256=SrKSXrIq8AWqnNKrd7pWSC691idGwXi9XMA-DTWwcfg,14
70
+ pulumi_consul-3.11.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,70 +0,0 @@
1
- pulumi_consul/__init__.py,sha256=WEdXDw8m0r_d5zps4HIp-KZjaIErfJLypM_JVn9whIA,8027
2
- pulumi_consul/_inputs.py,sha256=9yn4y2MnptBBo491lPO9CrV7tPKLw8x2EQbwbEeWt_o,215227
3
- pulumi_consul/_utilities.py,sha256=nNKRJyG0bkCleVzIGnszB5TSQOVUqAHks2baneWhujg,9249
4
- pulumi_consul/acl_auth_method.py,sha256=c_cHJeKbpBdFO6s5FoB42IGTQOdayGt_7audvl5gOOc,32775
5
- pulumi_consul/acl_binding_rule.py,sha256=jzhrnwFMz7M9Wp-fVlfskYNmGQ-1esqZOEJMm7aIqdo,22676
6
- pulumi_consul/acl_policy.py,sha256=Gx4lekJodM7vtx8J5X6UG_sjr7MA5kFp2u51h7lUU9M,15568
7
- pulumi_consul/acl_role.py,sha256=Bc2uQNELxE_-64Wv09CYOd0B0L5DM3pmhGkRaQxxUFs,24262
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
11
- pulumi_consul/acl_token_role_attachment.py,sha256=p--QDxrXJiuyEyroumHsbbdbGr42JSI7-H2mFHd2mqU,7743
12
- pulumi_consul/admin_partition.py,sha256=MyYkeiIdtNBd3RLnqQRMbxeUc7CeFnPutkljfUAG88I,8509
13
- pulumi_consul/agent_service.py,sha256=-xpqaiKfUuqPzun_pHXT4xtdEjSvj8A8d7a280AL574,12933
14
- pulumi_consul/autopilot_config.py,sha256=g_N2ZqciXVA-H4kD5vZExAsABfawil-5KOpJmo41W7A,28023
15
- pulumi_consul/catalog_entry.py,sha256=7jmCtvM7T9JoMOCGkEwDeiAOeI0rR4sp2hApuXg5atc,18793
16
- pulumi_consul/certificate_authority.py,sha256=BexID4T8ZyEHTPORekjIVer3VCRxcS3Jz-I6dCk6bWs,14219
17
- pulumi_consul/config_entry.py,sha256=rqUwYpCf2mo5UFNamlJ_ZOr-BPL_1pYZL1a35yAzilM,29542
18
- pulumi_consul/config_entry_service_defaults.py,sha256=wHJQutem1TUkSPykFq04oClMiFa-YgoMjCPliOdp3Mw,53154
19
- pulumi_consul/config_entry_service_intentions.py,sha256=Jqhx8uDrLvjvgQzIE53kIdadrhabsZYyQQmfDoWD2E4,23406
20
- pulumi_consul/config_entry_service_resolver.py,sha256=SZtuYNACeTYiKBrEf2Sp3TL-e_FU2iXc4Nq5mbN7lsU,36343
21
- pulumi_consul/config_entry_service_router.py,sha256=6N6BuWYaWla61XI2-iOtfUGBDuB7PQ8bB8riIgiFbMg,17302
22
- pulumi_consul/config_entry_service_splitter.py,sha256=ZKW5HuzDasAx9IaovvPEZO3jGNGDKY1K8hicEyhEwAs,20772
23
- pulumi_consul/get_acl_auth_method.py,sha256=9b56fzKS3TQTKM93R-E30Xc5sGXS-lGYR-wIF3dypLc,9505
24
- pulumi_consul/get_acl_policy.py,sha256=LFQlcq2jS7ptdGTWr9Dos9Wq64gqeTv8GNM4G88SNVU,5926
25
- pulumi_consul/get_acl_role.py,sha256=0x-mVAorUt30-BRVbq6nETtrvLn8wIOrB1t2HE83u94,7487
26
- pulumi_consul/get_acl_token.py,sha256=7n2WTxRrF-zrYQRmFfy4jLXYjsLsoCQ5s81gVqvEKwU,9808
27
- pulumi_consul/get_acl_token_secret_id.py,sha256=u--3JfdykzLywTNod4IYNkcC1koLs2PBMFoLKy1yOZg,6905
28
- pulumi_consul/get_agent_config.py,sha256=F6Khi2DZQROdaxOQVNe2iJtVXroLDICQfQ3t_shRodE,5959
29
- pulumi_consul/get_agent_self.py,sha256=-cw13p0lRJLyj8qvQp06ZZ5c18JatSdw1am6QoJZqnE,43212
30
- pulumi_consul/get_autopilot_health.py,sha256=WKtlV88Q7C3JHVaHa6Sa7p7aXeggEXfQaLQXz3ZVwRY,5266
31
- pulumi_consul/get_catalog_nodes.py,sha256=nZZIzVkm74PtG34IlKugBZnX3adeQyOSNmoZz_mHKIE,5881
32
- pulumi_consul/get_catalog_service.py,sha256=U3aR3Nnbx5ZgdOzBhQFyFpxbwD2nbjKVxgt0psWZ0ZA,8753
33
- pulumi_consul/get_catalog_services.py,sha256=C19KcxqjgTS_rc2m_xhNZCt-iEeepcx-l726gA-Kj24,6190
34
- pulumi_consul/get_config_entry.py,sha256=8pHLWLT5RUVPiJj5zU2VV1xkGsT9JpLsmVwxeqbEpzE,5478
35
- pulumi_consul/get_datacenters.py,sha256=WNivbaPSVbCtwHtvdRjljUti1YWaOJtqxBBc-_7IFEc,2669
36
- pulumi_consul/get_key_prefix.py,sha256=_FHDxqdX3HpQ0huM8nvyDmry8tsMR70H2brR2B45uG8,10635
37
- pulumi_consul/get_keys.py,sha256=I9JRG5Wx7xCEm8fR7Tq3PlND5Td12oHUycIudkMHqGE,9449
38
- pulumi_consul/get_network_area_members.py,sha256=3KXjnTAB2ymHJHo0hxPXOmc72p_5_pZggfAg16V0WeA,6572
39
- pulumi_consul/get_network_segments.py,sha256=NlfqvcFa9RjZfdEEqxFbsFLu6b8cG-Hk25vpKOeBSL4,5411
40
- pulumi_consul/get_nodes.py,sha256=ZcKZWIWuWgclQGj4QYTqKdhvQcSI_rxYZrlBakLRvsA,5359
41
- pulumi_consul/get_peering.py,sha256=Bcpy_TCMVuHrmzWWM5GRTLiaZq5gGJuZYcis9JCMraE,6300
42
- pulumi_consul/get_peerings.py,sha256=EX1J_eQf01voOEvPB2IuWV6HNdvTeTpn_bbuY0gQ9QQ,3024
43
- pulumi_consul/get_service.py,sha256=Xv2tI5oitx7Cf6ujV_2wnmGtw0n0MPjy4MCWKettAQ0,8151
44
- pulumi_consul/get_service_health.py,sha256=2CCrunPsyCDOjmcJXhGmSIJSMc6a-0vlvuiEAVJ80Dw,10133
45
- pulumi_consul/get_services.py,sha256=Q5d4qGcOTPTopkbdx0pTpgO3Gt5JAglPXM-4dpk0fek,5651
46
- pulumi_consul/intention.py,sha256=zvs548ECKpU59uE4I7KlcChYXwFZTRlK8rJw1KO7F_Q,25838
47
- pulumi_consul/key_prefix.py,sha256=OgCHbast4F4Bha1d8B66OWFUY-cuB7RK3YOzMfrYX6U,26403
48
- pulumi_consul/keys.py,sha256=dd5ptrGZXnzUS9MLch1y_UoIx-ZbrJCSWo2xDW6X1Kg,17877
49
- pulumi_consul/license.py,sha256=rTuj2sQ7wrdO2Z2kc44vaVnt9Kdy-CDA3isU7Cul1OA,19835
50
- pulumi_consul/namespace.py,sha256=PADPLeCK_6E3IsJGBC_uvNV1SgVlAYGqtYI2vLcQh_Q,17945
51
- pulumi_consul/namespace_policy_attachment.py,sha256=p0BaakAgvSmjiEGEPBfKLHw2A7PyQXXekkOZLp36WxQ,8186
52
- pulumi_consul/namespace_role_attachment.py,sha256=wGExxN6cCQYv1oeEqF2z6gI4yBBx1BF5TvVADSAk_xs,8038
53
- pulumi_consul/network_area.py,sha256=YmboKpGWDpugJ79JXiBrIRJy50m5zHwKgL48Bf0909U,19676
54
- pulumi_consul/node.py,sha256=HJ4OErAOD4chBez5Xs6smQL9LIbBBYpzAYeDjywvMJA,17929
55
- pulumi_consul/outputs.py,sha256=3IciI1T7FHLDGTifDx0JwUPL-jGN2ddnsdWSuMHB7BY,231119
56
- pulumi_consul/peering.py,sha256=yahby467Zb8sYd90GnIB35BNM1qGR3j1J0Y1j6l02wA,21064
57
- pulumi_consul/peering_token.py,sha256=DMm2gBJ2DaTygdsX99QpXxJaMmdqzEazpm7i2e8P1H8,14065
58
- pulumi_consul/prepared_query.py,sha256=CcjTSG_Ap_LExwelDWMDqVMyuO1z2oQiQOg6Jx1Wi9Q,53714
59
- pulumi_consul/provider.py,sha256=1xhCm2DWQ1CuCIy7sDnl_lzHDj4wtS2mc3OH7vQaToU,24679
60
- pulumi_consul/pulumi-plugin.json,sha256=VXjlQuI-OEXhtFLQdyJ645kCumRQ-G5oWRM1hutS4zM,43
61
- pulumi_consul/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
- pulumi_consul/service.py,sha256=o2oJzBGp6q68FRjgYraO4KFhF7YusCRAVR7tXLbnUWk,31276
63
- pulumi_consul/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
64
- pulumi_consul/config/__init__.pyi,sha256=Xr56VkEbCA8jXnSDMCxONcnilMpQdAHs6-imo_c-TBU,2587
65
- pulumi_consul/config/outputs.py,sha256=6ingLMxk_9RC8h1oxIizrhShw4bTDloVDvEWNs4hOcw,2147
66
- pulumi_consul/config/vars.py,sha256=SXNUccmf6RtLkyaTd4mMknJtP2rlISHxMcq4PUHRgpg,4255
67
- pulumi_consul-3.11.1.dist-info/METADATA,sha256=p6ykBKpNluRuz6is1xvE1MsZJmQNQzPGP9WkxtkoaO0,3933
68
- pulumi_consul-3.11.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
69
- pulumi_consul-3.11.1.dist-info/top_level.txt,sha256=SrKSXrIq8AWqnNKrd7pWSC691idGwXi9XMA-DTWwcfg,14
70
- pulumi_consul-3.11.1.dist-info/RECORD,,