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.
- pulumi_consul/_inputs.py +62 -26
- pulumi_consul/_utilities.py +2 -2
- pulumi_consul/acl_auth_method.py +4 -0
- pulumi_consul/acl_binding_rule.py +2 -0
- pulumi_consul/acl_policy.py +4 -4
- pulumi_consul/acl_role.py +13 -13
- pulumi_consul/acl_role_policy_attachment.py +10 -8
- pulumi_consul/acl_token.py +18 -14
- pulumi_consul/acl_token_policy_attachment.py +10 -6
- pulumi_consul/acl_token_role_attachment.py +6 -4
- pulumi_consul/admin_partition.py +8 -4
- pulumi_consul/agent_service.py +2 -0
- pulumi_consul/catalog_entry.py +0 -42
- pulumi_consul/certificate_authority.py +2 -28
- pulumi_consul/config/outputs.py +24 -0
- pulumi_consul/config_entry.py +76 -32
- pulumi_consul/config_entry_service_defaults.py +23 -23
- pulumi_consul/config_entry_service_intentions.py +27 -27
- pulumi_consul/config_entry_service_resolver.py +57 -59
- pulumi_consul/config_entry_service_router.py +21 -61
- pulumi_consul/config_entry_service_splitter.py +24 -22
- pulumi_consul/get_acl_role.py +2 -0
- pulumi_consul/get_acl_token_secret_id.py +8 -6
- pulumi_consul/get_catalog_service.py +30 -4
- pulumi_consul/get_catalog_services.py +32 -0
- pulumi_consul/get_key_prefix.py +18 -18
- pulumi_consul/get_keys.py +4 -6
- pulumi_consul/get_network_area_members.py +6 -6
- pulumi_consul/get_network_segments.py +4 -4
- pulumi_consul/get_service.py +30 -4
- pulumi_consul/get_services.py +32 -0
- pulumi_consul/intention.py +12 -12
- pulumi_consul/key_prefix.py +32 -30
- pulumi_consul/keys.py +6 -6
- pulumi_consul/license.py +4 -2
- pulumi_consul/namespace.py +8 -4
- pulumi_consul/namespace_policy_attachment.py +6 -4
- pulumi_consul/namespace_role_attachment.py +6 -4
- pulumi_consul/node.py +8 -4
- pulumi_consul/outputs.py +126 -24
- pulumi_consul/peering.py +8 -18
- pulumi_consul/prepared_query.py +65 -61
- pulumi_consul/pulumi-plugin.json +2 -1
- pulumi_consul/service.py +133 -7
- {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/METADATA +2 -2
- pulumi_consul-3.11.3.dist-info/RECORD +70 -0
- {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/WHEEL +1 -1
- pulumi_consul-3.11.1.dist-info/RECORD +0 -70
- {pulumi_consul-3.11.1.dist-info → pulumi_consul-3.11.3.dist-info}/top_level.txt +0 -0
pulumi_consul/config_entry.py
CHANGED
|
@@ -205,8 +205,9 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
205
205
|
import json
|
|
206
206
|
import pulumi_consul as consul
|
|
207
207
|
|
|
208
|
-
proxy_defaults = consul.ConfigEntry("
|
|
208
|
+
proxy_defaults = consul.ConfigEntry("proxy_defaults",
|
|
209
209
|
kind="proxy-defaults",
|
|
210
|
+
name="global",
|
|
210
211
|
config_json=json.dumps({
|
|
211
212
|
"Config": {
|
|
212
213
|
"local_connect_timeout_ms": 1000,
|
|
@@ -214,17 +215,20 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
214
215
|
},
|
|
215
216
|
}))
|
|
216
217
|
web = consul.ConfigEntry("web",
|
|
218
|
+
name="web",
|
|
217
219
|
kind="service-defaults",
|
|
218
220
|
config_json=json.dumps({
|
|
219
221
|
"Protocol": "http",
|
|
220
222
|
}))
|
|
221
223
|
admin = consul.ConfigEntry("admin",
|
|
224
|
+
name="admin",
|
|
222
225
|
kind="service-defaults",
|
|
223
226
|
config_json=json.dumps({
|
|
224
227
|
"Protocol": "http",
|
|
225
228
|
}))
|
|
226
|
-
service_resolver = consul.ConfigEntry("
|
|
229
|
+
service_resolver = consul.ConfigEntry("service_resolver",
|
|
227
230
|
kind="service-resolver",
|
|
231
|
+
name=web.name,
|
|
228
232
|
config_json=json.dumps({
|
|
229
233
|
"DefaultSubset": "v1",
|
|
230
234
|
"Subsets": {
|
|
@@ -236,8 +240,9 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
236
240
|
},
|
|
237
241
|
},
|
|
238
242
|
}))
|
|
239
|
-
service_splitter = consul.ConfigEntry("
|
|
243
|
+
service_splitter = consul.ConfigEntry("service_splitter",
|
|
240
244
|
kind="service-splitter",
|
|
245
|
+
name=service_resolver.name,
|
|
241
246
|
config_json=json.dumps({
|
|
242
247
|
"Splits": [
|
|
243
248
|
{
|
|
@@ -250,8 +255,9 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
250
255
|
},
|
|
251
256
|
],
|
|
252
257
|
}))
|
|
253
|
-
service_router = consul.ConfigEntry("
|
|
258
|
+
service_router = consul.ConfigEntry("service_router",
|
|
254
259
|
kind="service-router",
|
|
260
|
+
name="web",
|
|
255
261
|
config_json=json.dumps({
|
|
256
262
|
"Routes": [{
|
|
257
263
|
"Match": {
|
|
@@ -264,7 +270,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
264
270
|
},
|
|
265
271
|
}],
|
|
266
272
|
}))
|
|
267
|
-
ingress_gateway = consul.ConfigEntry("
|
|
273
|
+
ingress_gateway = consul.ConfigEntry("ingress_gateway",
|
|
274
|
+
name="us-east-ingress",
|
|
268
275
|
kind="ingress-gateway",
|
|
269
276
|
config_json=json.dumps({
|
|
270
277
|
"TLS": {
|
|
@@ -278,7 +285,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
278
285
|
}],
|
|
279
286
|
}],
|
|
280
287
|
}))
|
|
281
|
-
terminating_gateway = consul.ConfigEntry("
|
|
288
|
+
terminating_gateway = consul.ConfigEntry("terminating_gateway",
|
|
289
|
+
name="us-west-gateway",
|
|
282
290
|
kind="terminating-gateway",
|
|
283
291
|
config_json=json.dumps({
|
|
284
292
|
"Services": [{
|
|
@@ -286,6 +294,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
286
294
|
}],
|
|
287
295
|
}))
|
|
288
296
|
```
|
|
297
|
+
|
|
289
298
|
### `service-intentions` config entry
|
|
290
299
|
|
|
291
300
|
```python
|
|
@@ -293,7 +302,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
293
302
|
import json
|
|
294
303
|
import pulumi_consul as consul
|
|
295
304
|
|
|
296
|
-
service_intentions = consul.ConfigEntry("
|
|
305
|
+
service_intentions = consul.ConfigEntry("service_intentions",
|
|
306
|
+
name="api-service",
|
|
297
307
|
kind="service-intentions",
|
|
298
308
|
config_json=json.dumps({
|
|
299
309
|
"Sources": [
|
|
@@ -319,11 +329,13 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
319
329
|
import pulumi_consul as consul
|
|
320
330
|
|
|
321
331
|
sd = consul.ConfigEntry("sd",
|
|
332
|
+
name="fort-knox",
|
|
322
333
|
kind="service-defaults",
|
|
323
334
|
config_json=json.dumps({
|
|
324
335
|
"Protocol": "http",
|
|
325
336
|
}))
|
|
326
|
-
jwt_provider = consul.ConfigEntry("
|
|
337
|
+
jwt_provider = consul.ConfigEntry("jwt_provider",
|
|
338
|
+
name="test-provider",
|
|
327
339
|
kind="jwt-provider",
|
|
328
340
|
config_json=json.dumps({
|
|
329
341
|
"Issuer": "test-issuer",
|
|
@@ -337,9 +349,10 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
337
349
|
"HeaderName": "test-token",
|
|
338
350
|
},
|
|
339
351
|
}))
|
|
340
|
-
service_intentions = consul.ConfigEntry("
|
|
352
|
+
service_intentions = consul.ConfigEntry("service_intentions",
|
|
353
|
+
name=sd.name,
|
|
341
354
|
kind="service-intentions",
|
|
342
|
-
config_json=
|
|
355
|
+
config_json=pulumi.Output.json_dumps({
|
|
343
356
|
"Sources": [
|
|
344
357
|
{
|
|
345
358
|
"Name": "contractor-webapp",
|
|
@@ -354,7 +367,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
354
367
|
},
|
|
355
368
|
"JWT": {
|
|
356
369
|
"Providers": [{
|
|
357
|
-
"Name": name,
|
|
370
|
+
"Name": jwt_provider.name,
|
|
358
371
|
}],
|
|
359
372
|
},
|
|
360
373
|
}],
|
|
@@ -381,8 +394,9 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
381
394
|
"Type": "consul",
|
|
382
395
|
},
|
|
383
396
|
],
|
|
384
|
-
}))
|
|
397
|
+
}))
|
|
385
398
|
```
|
|
399
|
+
|
|
386
400
|
### `exported-services` config entry
|
|
387
401
|
|
|
388
402
|
```python
|
|
@@ -390,7 +404,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
390
404
|
import json
|
|
391
405
|
import pulumi_consul as consul
|
|
392
406
|
|
|
393
|
-
exported_services = consul.ConfigEntry("
|
|
407
|
+
exported_services = consul.ConfigEntry("exported_services",
|
|
408
|
+
name="test",
|
|
394
409
|
kind="exported-services",
|
|
395
410
|
config_json=json.dumps({
|
|
396
411
|
"Services": [{
|
|
@@ -402,6 +417,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
402
417
|
}],
|
|
403
418
|
}))
|
|
404
419
|
```
|
|
420
|
+
|
|
405
421
|
### `mesh` config entry
|
|
406
422
|
|
|
407
423
|
```python
|
|
@@ -410,6 +426,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
410
426
|
import pulumi_consul as consul
|
|
411
427
|
|
|
412
428
|
mesh = consul.ConfigEntry("mesh",
|
|
429
|
+
name="mesh",
|
|
413
430
|
kind="mesh",
|
|
414
431
|
partition="default",
|
|
415
432
|
config_json=json.dumps({
|
|
@@ -418,6 +435,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
418
435
|
},
|
|
419
436
|
}))
|
|
420
437
|
```
|
|
438
|
+
|
|
421
439
|
### `jwt-provider` config entry
|
|
422
440
|
|
|
423
441
|
```python
|
|
@@ -425,7 +443,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
425
443
|
import json
|
|
426
444
|
import pulumi_consul as consul
|
|
427
445
|
|
|
428
|
-
jwt_provider = consul.ConfigEntry("
|
|
446
|
+
jwt_provider = consul.ConfigEntry("jwt_provider",
|
|
447
|
+
name="provider-name",
|
|
429
448
|
kind="jwt-provider",
|
|
430
449
|
config_json=json.dumps({
|
|
431
450
|
"Issuer": "https://your.issuer.com",
|
|
@@ -444,10 +463,13 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
444
463
|
|
|
445
464
|
## Import
|
|
446
465
|
|
|
447
|
-
`consul_config_entry` can be imported using the syntax `<kind>/<name>` if the
|
|
466
|
+
`consul_config_entry` can be imported using the syntax `<kind>/<name>` if the
|
|
467
|
+
config entry is in the default partition and default namespace, or
|
|
468
|
+
`<partition>/<namespace>/<kind>/<name>` for config entries in a non-default
|
|
469
|
+
partition or namespace:
|
|
448
470
|
|
|
449
471
|
```sh
|
|
450
|
-
|
|
472
|
+
$ pulumi import consul:index/configEntry:ConfigEntry service_splitter 816a195f-6cb1-2e8d-92af-3011ae706318
|
|
451
473
|
```
|
|
452
474
|
|
|
453
475
|
:param str resource_name: The name of the resource.
|
|
@@ -472,8 +494,9 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
472
494
|
import json
|
|
473
495
|
import pulumi_consul as consul
|
|
474
496
|
|
|
475
|
-
proxy_defaults = consul.ConfigEntry("
|
|
497
|
+
proxy_defaults = consul.ConfigEntry("proxy_defaults",
|
|
476
498
|
kind="proxy-defaults",
|
|
499
|
+
name="global",
|
|
477
500
|
config_json=json.dumps({
|
|
478
501
|
"Config": {
|
|
479
502
|
"local_connect_timeout_ms": 1000,
|
|
@@ -481,17 +504,20 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
481
504
|
},
|
|
482
505
|
}))
|
|
483
506
|
web = consul.ConfigEntry("web",
|
|
507
|
+
name="web",
|
|
484
508
|
kind="service-defaults",
|
|
485
509
|
config_json=json.dumps({
|
|
486
510
|
"Protocol": "http",
|
|
487
511
|
}))
|
|
488
512
|
admin = consul.ConfigEntry("admin",
|
|
513
|
+
name="admin",
|
|
489
514
|
kind="service-defaults",
|
|
490
515
|
config_json=json.dumps({
|
|
491
516
|
"Protocol": "http",
|
|
492
517
|
}))
|
|
493
|
-
service_resolver = consul.ConfigEntry("
|
|
518
|
+
service_resolver = consul.ConfigEntry("service_resolver",
|
|
494
519
|
kind="service-resolver",
|
|
520
|
+
name=web.name,
|
|
495
521
|
config_json=json.dumps({
|
|
496
522
|
"DefaultSubset": "v1",
|
|
497
523
|
"Subsets": {
|
|
@@ -503,8 +529,9 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
503
529
|
},
|
|
504
530
|
},
|
|
505
531
|
}))
|
|
506
|
-
service_splitter = consul.ConfigEntry("
|
|
532
|
+
service_splitter = consul.ConfigEntry("service_splitter",
|
|
507
533
|
kind="service-splitter",
|
|
534
|
+
name=service_resolver.name,
|
|
508
535
|
config_json=json.dumps({
|
|
509
536
|
"Splits": [
|
|
510
537
|
{
|
|
@@ -517,8 +544,9 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
517
544
|
},
|
|
518
545
|
],
|
|
519
546
|
}))
|
|
520
|
-
service_router = consul.ConfigEntry("
|
|
547
|
+
service_router = consul.ConfigEntry("service_router",
|
|
521
548
|
kind="service-router",
|
|
549
|
+
name="web",
|
|
522
550
|
config_json=json.dumps({
|
|
523
551
|
"Routes": [{
|
|
524
552
|
"Match": {
|
|
@@ -531,7 +559,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
531
559
|
},
|
|
532
560
|
}],
|
|
533
561
|
}))
|
|
534
|
-
ingress_gateway = consul.ConfigEntry("
|
|
562
|
+
ingress_gateway = consul.ConfigEntry("ingress_gateway",
|
|
563
|
+
name="us-east-ingress",
|
|
535
564
|
kind="ingress-gateway",
|
|
536
565
|
config_json=json.dumps({
|
|
537
566
|
"TLS": {
|
|
@@ -545,7 +574,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
545
574
|
}],
|
|
546
575
|
}],
|
|
547
576
|
}))
|
|
548
|
-
terminating_gateway = consul.ConfigEntry("
|
|
577
|
+
terminating_gateway = consul.ConfigEntry("terminating_gateway",
|
|
578
|
+
name="us-west-gateway",
|
|
549
579
|
kind="terminating-gateway",
|
|
550
580
|
config_json=json.dumps({
|
|
551
581
|
"Services": [{
|
|
@@ -553,6 +583,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
553
583
|
}],
|
|
554
584
|
}))
|
|
555
585
|
```
|
|
586
|
+
|
|
556
587
|
### `service-intentions` config entry
|
|
557
588
|
|
|
558
589
|
```python
|
|
@@ -560,7 +591,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
560
591
|
import json
|
|
561
592
|
import pulumi_consul as consul
|
|
562
593
|
|
|
563
|
-
service_intentions = consul.ConfigEntry("
|
|
594
|
+
service_intentions = consul.ConfigEntry("service_intentions",
|
|
595
|
+
name="api-service",
|
|
564
596
|
kind="service-intentions",
|
|
565
597
|
config_json=json.dumps({
|
|
566
598
|
"Sources": [
|
|
@@ -586,11 +618,13 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
586
618
|
import pulumi_consul as consul
|
|
587
619
|
|
|
588
620
|
sd = consul.ConfigEntry("sd",
|
|
621
|
+
name="fort-knox",
|
|
589
622
|
kind="service-defaults",
|
|
590
623
|
config_json=json.dumps({
|
|
591
624
|
"Protocol": "http",
|
|
592
625
|
}))
|
|
593
|
-
jwt_provider = consul.ConfigEntry("
|
|
626
|
+
jwt_provider = consul.ConfigEntry("jwt_provider",
|
|
627
|
+
name="test-provider",
|
|
594
628
|
kind="jwt-provider",
|
|
595
629
|
config_json=json.dumps({
|
|
596
630
|
"Issuer": "test-issuer",
|
|
@@ -604,9 +638,10 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
604
638
|
"HeaderName": "test-token",
|
|
605
639
|
},
|
|
606
640
|
}))
|
|
607
|
-
service_intentions = consul.ConfigEntry("
|
|
641
|
+
service_intentions = consul.ConfigEntry("service_intentions",
|
|
642
|
+
name=sd.name,
|
|
608
643
|
kind="service-intentions",
|
|
609
|
-
config_json=
|
|
644
|
+
config_json=pulumi.Output.json_dumps({
|
|
610
645
|
"Sources": [
|
|
611
646
|
{
|
|
612
647
|
"Name": "contractor-webapp",
|
|
@@ -621,7 +656,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
621
656
|
},
|
|
622
657
|
"JWT": {
|
|
623
658
|
"Providers": [{
|
|
624
|
-
"Name": name,
|
|
659
|
+
"Name": jwt_provider.name,
|
|
625
660
|
}],
|
|
626
661
|
},
|
|
627
662
|
}],
|
|
@@ -648,8 +683,9 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
648
683
|
"Type": "consul",
|
|
649
684
|
},
|
|
650
685
|
],
|
|
651
|
-
}))
|
|
686
|
+
}))
|
|
652
687
|
```
|
|
688
|
+
|
|
653
689
|
### `exported-services` config entry
|
|
654
690
|
|
|
655
691
|
```python
|
|
@@ -657,7 +693,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
657
693
|
import json
|
|
658
694
|
import pulumi_consul as consul
|
|
659
695
|
|
|
660
|
-
exported_services = consul.ConfigEntry("
|
|
696
|
+
exported_services = consul.ConfigEntry("exported_services",
|
|
697
|
+
name="test",
|
|
661
698
|
kind="exported-services",
|
|
662
699
|
config_json=json.dumps({
|
|
663
700
|
"Services": [{
|
|
@@ -669,6 +706,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
669
706
|
}],
|
|
670
707
|
}))
|
|
671
708
|
```
|
|
709
|
+
|
|
672
710
|
### `mesh` config entry
|
|
673
711
|
|
|
674
712
|
```python
|
|
@@ -677,6 +715,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
677
715
|
import pulumi_consul as consul
|
|
678
716
|
|
|
679
717
|
mesh = consul.ConfigEntry("mesh",
|
|
718
|
+
name="mesh",
|
|
680
719
|
kind="mesh",
|
|
681
720
|
partition="default",
|
|
682
721
|
config_json=json.dumps({
|
|
@@ -685,6 +724,7 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
685
724
|
},
|
|
686
725
|
}))
|
|
687
726
|
```
|
|
727
|
+
|
|
688
728
|
### `jwt-provider` config entry
|
|
689
729
|
|
|
690
730
|
```python
|
|
@@ -692,7 +732,8 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
692
732
|
import json
|
|
693
733
|
import pulumi_consul as consul
|
|
694
734
|
|
|
695
|
-
jwt_provider = consul.ConfigEntry("
|
|
735
|
+
jwt_provider = consul.ConfigEntry("jwt_provider",
|
|
736
|
+
name="provider-name",
|
|
696
737
|
kind="jwt-provider",
|
|
697
738
|
config_json=json.dumps({
|
|
698
739
|
"Issuer": "https://your.issuer.com",
|
|
@@ -711,10 +752,13 @@ class ConfigEntry(pulumi.CustomResource):
|
|
|
711
752
|
|
|
712
753
|
## Import
|
|
713
754
|
|
|
714
|
-
`consul_config_entry` can be imported using the syntax `<kind>/<name>` if the
|
|
755
|
+
`consul_config_entry` can be imported using the syntax `<kind>/<name>` if the
|
|
756
|
+
config entry is in the default partition and default namespace, or
|
|
757
|
+
`<partition>/<namespace>/<kind>/<name>` for config entries in a non-default
|
|
758
|
+
partition or namespace:
|
|
715
759
|
|
|
716
760
|
```sh
|
|
717
|
-
|
|
761
|
+
$ pulumi import consul:index/configEntry:ConfigEntry service_splitter 816a195f-6cb1-2e8d-92af-3011ae706318
|
|
718
762
|
```
|
|
719
763
|
|
|
720
764
|
:param str resource_name: The name of the resource.
|
|
@@ -45,13 +45,13 @@ class ConfigEntryServiceDefaultsArgs:
|
|
|
45
45
|
:param pulumi.Input[int] local_connect_timeout_ms: Specifies the number of milliseconds allowed for establishing connections to the local application instance before timing out.
|
|
46
46
|
:param pulumi.Input[int] local_request_timeout_ms: Specifies the timeout for HTTP requests to the local application instance.
|
|
47
47
|
:param pulumi.Input[int] max_inbound_connections: Specifies the maximum number of concurrent inbound connections to each service instance.
|
|
48
|
-
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsMeshGatewayArgs']]] mesh_gateways: Specifies the default mesh gateway mode field for
|
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsMeshGatewayArgs']]] mesh_gateways: Specifies the default mesh gateway mode field for the service.
|
|
49
49
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies a set of custom key-value pairs to add to the Consul KV store.
|
|
50
50
|
:param pulumi.Input[str] mode: Specifies a mode for how the service directs inbound and outbound traffic.
|
|
51
51
|
:param pulumi.Input[str] mutual_tls_mode: Controls whether mutual TLS is required for incoming connections to this service. This setting is only supported for services with transparent proxy enabled.
|
|
52
52
|
:param pulumi.Input[str] name: Specifies the name of the service you are setting the defaults for.
|
|
53
|
-
:param pulumi.Input[str] namespace: Specifies the namespace
|
|
54
|
-
:param pulumi.Input[str] partition: Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
53
|
+
:param pulumi.Input[str] namespace: Specifies the Consul namespace that the configuration entry applies to.
|
|
54
|
+
:param pulumi.Input[str] partition: Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
55
55
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsTransparentProxyArgs']]] transparent_proxies: Controls configurations specific to proxies in transparent mode. Refer to Transparent Proxy Mode for additional information.
|
|
56
56
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsUpstreamConfigArgs']]] upstream_configs: Controls default upstream connection settings and custom overrides for individual upstream services.
|
|
57
57
|
"""
|
|
@@ -202,7 +202,7 @@ class ConfigEntryServiceDefaultsArgs:
|
|
|
202
202
|
@pulumi.getter(name="meshGateways")
|
|
203
203
|
def mesh_gateways(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsMeshGatewayArgs']]]]:
|
|
204
204
|
"""
|
|
205
|
-
Specifies the default mesh gateway mode field for
|
|
205
|
+
Specifies the default mesh gateway mode field for the service.
|
|
206
206
|
"""
|
|
207
207
|
return pulumi.get(self, "mesh_gateways")
|
|
208
208
|
|
|
@@ -262,7 +262,7 @@ class ConfigEntryServiceDefaultsArgs:
|
|
|
262
262
|
@pulumi.getter
|
|
263
263
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
264
264
|
"""
|
|
265
|
-
Specifies the namespace
|
|
265
|
+
Specifies the Consul namespace that the configuration entry applies to.
|
|
266
266
|
"""
|
|
267
267
|
return pulumi.get(self, "namespace")
|
|
268
268
|
|
|
@@ -274,7 +274,7 @@ class ConfigEntryServiceDefaultsArgs:
|
|
|
274
274
|
@pulumi.getter
|
|
275
275
|
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
276
276
|
"""
|
|
277
|
-
Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
277
|
+
Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
278
278
|
"""
|
|
279
279
|
return pulumi.get(self, "partition")
|
|
280
280
|
|
|
@@ -338,13 +338,13 @@ class _ConfigEntryServiceDefaultsState:
|
|
|
338
338
|
:param pulumi.Input[int] local_connect_timeout_ms: Specifies the number of milliseconds allowed for establishing connections to the local application instance before timing out.
|
|
339
339
|
:param pulumi.Input[int] local_request_timeout_ms: Specifies the timeout for HTTP requests to the local application instance.
|
|
340
340
|
:param pulumi.Input[int] max_inbound_connections: Specifies the maximum number of concurrent inbound connections to each service instance.
|
|
341
|
-
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsMeshGatewayArgs']]] mesh_gateways: Specifies the default mesh gateway mode field for
|
|
341
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsMeshGatewayArgs']]] mesh_gateways: Specifies the default mesh gateway mode field for the service.
|
|
342
342
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies a set of custom key-value pairs to add to the Consul KV store.
|
|
343
343
|
:param pulumi.Input[str] mode: Specifies a mode for how the service directs inbound and outbound traffic.
|
|
344
344
|
:param pulumi.Input[str] mutual_tls_mode: Controls whether mutual TLS is required for incoming connections to this service. This setting is only supported for services with transparent proxy enabled.
|
|
345
345
|
:param pulumi.Input[str] name: Specifies the name of the service you are setting the defaults for.
|
|
346
|
-
:param pulumi.Input[str] namespace: Specifies the namespace
|
|
347
|
-
:param pulumi.Input[str] partition: Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
346
|
+
:param pulumi.Input[str] namespace: Specifies the Consul namespace that the configuration entry applies to.
|
|
347
|
+
:param pulumi.Input[str] partition: Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
348
348
|
:param pulumi.Input[str] protocol: Specifies the default protocol for the service.
|
|
349
349
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsTransparentProxyArgs']]] transparent_proxies: Controls configurations specific to proxies in transparent mode. Refer to Transparent Proxy Mode for additional information.
|
|
350
350
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsUpstreamConfigArgs']]] upstream_configs: Controls default upstream connection settings and custom overrides for individual upstream services.
|
|
@@ -486,7 +486,7 @@ class _ConfigEntryServiceDefaultsState:
|
|
|
486
486
|
@pulumi.getter(name="meshGateways")
|
|
487
487
|
def mesh_gateways(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConfigEntryServiceDefaultsMeshGatewayArgs']]]]:
|
|
488
488
|
"""
|
|
489
|
-
Specifies the default mesh gateway mode field for
|
|
489
|
+
Specifies the default mesh gateway mode field for the service.
|
|
490
490
|
"""
|
|
491
491
|
return pulumi.get(self, "mesh_gateways")
|
|
492
492
|
|
|
@@ -546,7 +546,7 @@ class _ConfigEntryServiceDefaultsState:
|
|
|
546
546
|
@pulumi.getter
|
|
547
547
|
def namespace(self) -> Optional[pulumi.Input[str]]:
|
|
548
548
|
"""
|
|
549
|
-
Specifies the namespace
|
|
549
|
+
Specifies the Consul namespace that the configuration entry applies to.
|
|
550
550
|
"""
|
|
551
551
|
return pulumi.get(self, "namespace")
|
|
552
552
|
|
|
@@ -558,7 +558,7 @@ class _ConfigEntryServiceDefaultsState:
|
|
|
558
558
|
@pulumi.getter
|
|
559
559
|
def partition(self) -> Optional[pulumi.Input[str]]:
|
|
560
560
|
"""
|
|
561
|
-
Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
561
|
+
Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
562
562
|
"""
|
|
563
563
|
return pulumi.get(self, "partition")
|
|
564
564
|
|
|
@@ -628,7 +628,7 @@ class ConfigEntryServiceDefaults(pulumi.CustomResource):
|
|
|
628
628
|
upstream_configs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsUpstreamConfigArgs']]]]] = None,
|
|
629
629
|
__props__=None):
|
|
630
630
|
"""
|
|
631
|
-
|
|
631
|
+
## Example Usage
|
|
632
632
|
|
|
633
633
|
:param str resource_name: The name of the resource.
|
|
634
634
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -640,13 +640,13 @@ class ConfigEntryServiceDefaults(pulumi.CustomResource):
|
|
|
640
640
|
:param pulumi.Input[int] local_connect_timeout_ms: Specifies the number of milliseconds allowed for establishing connections to the local application instance before timing out.
|
|
641
641
|
:param pulumi.Input[int] local_request_timeout_ms: Specifies the timeout for HTTP requests to the local application instance.
|
|
642
642
|
:param pulumi.Input[int] max_inbound_connections: Specifies the maximum number of concurrent inbound connections to each service instance.
|
|
643
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsMeshGatewayArgs']]]] mesh_gateways: Specifies the default mesh gateway mode field for
|
|
643
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsMeshGatewayArgs']]]] mesh_gateways: Specifies the default mesh gateway mode field for the service.
|
|
644
644
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies a set of custom key-value pairs to add to the Consul KV store.
|
|
645
645
|
:param pulumi.Input[str] mode: Specifies a mode for how the service directs inbound and outbound traffic.
|
|
646
646
|
:param pulumi.Input[str] mutual_tls_mode: Controls whether mutual TLS is required for incoming connections to this service. This setting is only supported for services with transparent proxy enabled.
|
|
647
647
|
:param pulumi.Input[str] name: Specifies the name of the service you are setting the defaults for.
|
|
648
|
-
:param pulumi.Input[str] namespace: Specifies the namespace
|
|
649
|
-
:param pulumi.Input[str] partition: Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
648
|
+
:param pulumi.Input[str] namespace: Specifies the Consul namespace that the configuration entry applies to.
|
|
649
|
+
:param pulumi.Input[str] partition: Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
650
650
|
:param pulumi.Input[str] protocol: Specifies the default protocol for the service.
|
|
651
651
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsTransparentProxyArgs']]]] transparent_proxies: Controls configurations specific to proxies in transparent mode. Refer to Transparent Proxy Mode for additional information.
|
|
652
652
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsUpstreamConfigArgs']]]] upstream_configs: Controls default upstream connection settings and custom overrides for individual upstream services.
|
|
@@ -658,7 +658,7 @@ class ConfigEntryServiceDefaults(pulumi.CustomResource):
|
|
|
658
658
|
args: ConfigEntryServiceDefaultsArgs,
|
|
659
659
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
660
660
|
"""
|
|
661
|
-
|
|
661
|
+
## Example Usage
|
|
662
662
|
|
|
663
663
|
:param str resource_name: The name of the resource.
|
|
664
664
|
:param ConfigEntryServiceDefaultsArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -767,13 +767,13 @@ class ConfigEntryServiceDefaults(pulumi.CustomResource):
|
|
|
767
767
|
:param pulumi.Input[int] local_connect_timeout_ms: Specifies the number of milliseconds allowed for establishing connections to the local application instance before timing out.
|
|
768
768
|
:param pulumi.Input[int] local_request_timeout_ms: Specifies the timeout for HTTP requests to the local application instance.
|
|
769
769
|
:param pulumi.Input[int] max_inbound_connections: Specifies the maximum number of concurrent inbound connections to each service instance.
|
|
770
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsMeshGatewayArgs']]]] mesh_gateways: Specifies the default mesh gateway mode field for
|
|
770
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsMeshGatewayArgs']]]] mesh_gateways: Specifies the default mesh gateway mode field for the service.
|
|
771
771
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] meta: Specifies a set of custom key-value pairs to add to the Consul KV store.
|
|
772
772
|
:param pulumi.Input[str] mode: Specifies a mode for how the service directs inbound and outbound traffic.
|
|
773
773
|
:param pulumi.Input[str] mutual_tls_mode: Controls whether mutual TLS is required for incoming connections to this service. This setting is only supported for services with transparent proxy enabled.
|
|
774
774
|
:param pulumi.Input[str] name: Specifies the name of the service you are setting the defaults for.
|
|
775
|
-
:param pulumi.Input[str] namespace: Specifies the namespace
|
|
776
|
-
:param pulumi.Input[str] partition: Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
775
|
+
:param pulumi.Input[str] namespace: Specifies the Consul namespace that the configuration entry applies to.
|
|
776
|
+
:param pulumi.Input[str] partition: Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
777
777
|
:param pulumi.Input[str] protocol: Specifies the default protocol for the service.
|
|
778
778
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsTransparentProxyArgs']]]] transparent_proxies: Controls configurations specific to proxies in transparent mode. Refer to Transparent Proxy Mode for additional information.
|
|
779
779
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ConfigEntryServiceDefaultsUpstreamConfigArgs']]]] upstream_configs: Controls default upstream connection settings and custom overrides for individual upstream services.
|
|
@@ -870,7 +870,7 @@ class ConfigEntryServiceDefaults(pulumi.CustomResource):
|
|
|
870
870
|
@pulumi.getter(name="meshGateways")
|
|
871
871
|
def mesh_gateways(self) -> pulumi.Output[Optional[Sequence['outputs.ConfigEntryServiceDefaultsMeshGateway']]]:
|
|
872
872
|
"""
|
|
873
|
-
Specifies the default mesh gateway mode field for
|
|
873
|
+
Specifies the default mesh gateway mode field for the service.
|
|
874
874
|
"""
|
|
875
875
|
return pulumi.get(self, "mesh_gateways")
|
|
876
876
|
|
|
@@ -910,7 +910,7 @@ class ConfigEntryServiceDefaults(pulumi.CustomResource):
|
|
|
910
910
|
@pulumi.getter
|
|
911
911
|
def namespace(self) -> pulumi.Output[Optional[str]]:
|
|
912
912
|
"""
|
|
913
|
-
Specifies the namespace
|
|
913
|
+
Specifies the Consul namespace that the configuration entry applies to.
|
|
914
914
|
"""
|
|
915
915
|
return pulumi.get(self, "namespace")
|
|
916
916
|
|
|
@@ -918,7 +918,7 @@ class ConfigEntryServiceDefaults(pulumi.CustomResource):
|
|
|
918
918
|
@pulumi.getter
|
|
919
919
|
def partition(self) -> pulumi.Output[Optional[str]]:
|
|
920
920
|
"""
|
|
921
|
-
Specifies the name of the name of the Consul admin partition that the configuration entry applies to.
|
|
921
|
+
Specifies the name of the name of the Consul admin partition that the configuration entry applies to. Refer to Admin Partitions for additional information.
|
|
922
922
|
"""
|
|
923
923
|
return pulumi.get(self, "partition")
|
|
924
924
|
|