-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
856 lines (716 loc) · 25.9 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
variable "tags" {
description = "A map of tags to use on all resources"
type = map(string)
default = {}
}
# Datadog environment Variables
variable "dd_api_key" {
description = "The Datadog API key, which can be found from the APIs page (/account/settings#api). It will be stored in AWS Secrets Manager securely. If DdApiKeySecretArn is also set, this value will not be used. This value must still be set, however"
type = string
default = ""
}
variable "dd_api_key_secret_arn" {
description = "The ARN of the Secrets Manager secret storing the Datadog API key, if you already have it stored in Secrets Manager. You still need to set a dummy value for `dd_api_key` to satisfy the requirement, though that value won't be used"
type = string
default = ""
}
variable "dd_app_key" {
description = "The Datadog application key associated with the user account that created it, which can be found from the APIs page"
type = string
default = ""
}
variable "dd_site" {
description = "Define your Datadog Site to send data to. For the Datadog EU site, set to datadoghq.eu"
type = string
default = "datadoghq.com"
}
variable "kms_alias" {
description = "Alias of KMS key used to encrypt the Datadog API keys - must start with `alias/`"
type = string
}
# Log Forwarder S3 Bucket
variable "create_bucket" {
description = "Controls whether an S3 artifact bucket should be created. this is used for the zip archive as well as caching tags"
type = bool
default = true
}
variable "bucket_name" {
description = "Lambda artifact S3 bucket name"
type = string
default = ""
}
variable "bucket_attach_deny_insecure_transport_policy" {
description = "Controls if S3 bucket should have deny non-SSL transport policy attacheds"
type = bool
default = true
}
variable "bucket_encryption_settings" {
description = "S3 bucket server side encryption settings"
type = map(string)
default = {
sse_algorithm = "AES256"
}
}
# Log Forwarder S3 Objcet
variable "log_forwarder_bucket_prefix" {
description = "S3 object key prefix to prepend to zip archive name"
type = string
default = ""
}
variable "log_forwarder_s3_zip_storage_class" {
description = "Specifies the desired Storage Class for the zip object. Can be either `STANDARD`, `REDUCED_REDUNDANCY`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, or `STANDARD_IA`"
type = string
default = null
}
variable "log_forwarder_s3_zip_server_side_encryption" {
description = "Server-side encryption of the zip object in S3. Valid values are `AES256` and `aws:kms`"
type = string
default = null
}
variable "log_forwarder_s3_zip_kms_key_id" {
description = "The AWS KMS Key ARN to use for object encryption"
type = string
default = null
}
variable "log_forwarder_s3_zip_metadata" {
description = "A map of keys/values to provision metadata (will be automatically prefixed by `x-amz-meta-`"
type = map(string)
default = {}
}
variable "log_forwarder_s3_zip_tags" {
description = "A map of tags to apply to the zip archive in S3"
type = map(string)
default = {}
}
variable "log_forwarder_s3_zip_tags_only" {
description = "Set to true to not merge `var.tags` with `log_forwarder_s3_zip_tags`. Useful to avoid breaching S3 Object 10 tag limit"
type = bool
default = false
}
# Log Forwarder IAM Role
variable "create_log_forwarder_role" {
description = "Controls whether an IAM role is created for the log forwarder"
type = bool
default = true
}
variable "log_forwarder_role_arn" {
description = "IAM role arn for log forwarder lambda function to utilize"
type = string
default = null
}
variable "log_forwarder_role_name" {
description = "Log forwarder role name"
type = string
default = ""
}
variable "log_forwarder_use_role_name_prefix" {
description = "Whether to use unique name beginning with the specified `role_name` for the log forwarder role"
type = bool
default = false
}
variable "log_forwarder_role_path" {
description = "Log forwarder role path"
type = string
default = null
}
variable "log_forwarder_role_max_session_duration" {
description = "The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours"
type = number
default = null
}
variable "log_forwarder_role_permissions_boundary" {
description = "The ARN of the policy that is used to set the permissions boundary for the log forwarder role"
type = string
default = null
}
variable "log_forwarder_role_tags" {
description = "A map of tags to apply to the log forwarder role"
type = map(string)
default = {}
}
variable "create_log_forwarder_role_policy" {
description = "Controls whether an IAM role policy is created for the log forwarder"
type = bool
default = true
}
variable "log_forwarder_policy_arn" {
description = "IAM policy arn for log forwarder lambda function to utilize"
type = string
default = null
}
variable "log_forwarder_policy_name" {
description = "Log forwarder policy name"
type = string
default = ""
}
variable "log_forwarder_use_policy_name_prefix" {
description = "Whether to use unique name beginning with the specified `policy_name` for the log forwarder policy"
type = bool
default = false
}
variable "log_forwarder_policy_path" {
description = "Log forwarder policy path"
type = string
default = null
}
variable "log_forwarder_s3_log_bucket_arns" {
description = "S3 log buckets for forwarder to read and forward logs to Datadog"
type = list(string)
default = []
}
# log Forwarder Lambda Function
variable "log_forwarder_version" {
description = "Forwarder version - see https://github.com/DataDog/datadog-serverless-functions/releases"
type = string
default = "3.69.0"
}
variable "create_log_forwarder" {
description = "Controls whether log forwarder resources should be created"
type = bool
default = true
}
variable "log_forwarder_name" {
description = "Log forwarder lambda name"
type = string
default = "datadog-log-forwarder"
}
variable "log_forwarder_runtime" {
description = "Lambda function runtime"
type = string
default = "python3.9"
}
variable "log_forwarder_layers" {
description = "List of Lambda Layer Version ARNs (maximum of 5) to attach to the log forwarder lambda"
type = list(string)
default = []
}
variable "log_forwarder_memory_size" {
description = "Memory size for the log forwarder lambda function"
type = number
default = 1024
}
variable "log_forwarder_timeout" {
description = "The amount of time the log forwarder lambda has to execute in seconds"
type = number
default = 120
}
variable "log_forwarder_publish" {
description = "Whether to publish creation/change as a new Lambda Function Version"
type = bool
default = false
}
variable "log_forwarder_architectures" {
description = "Instruction set architecture for your Lambda function. Valid values are `[\"x86_64\"]` and `[\"arm64\"]`. Default is `[\"x86_64\"]`"
type = list(string)
default = ["x86_64"]
}
variable "log_forwarder_reserved_concurrent_executions" {
description = "The amount of reserved concurrent executions for the log forwarder lambda function"
type = number
default = 100
}
variable "log_forwarder_kms_key_arn" {
description = "KMS key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key"
type = string
default = null
}
variable "log_forwarder_subnet_ids" {
description = "List of subnet ids when forwarder lambda function should run in the VPC. Usually private or intra subnets"
type = list(string)
default = null
}
variable "log_forwarder_security_group_ids" {
description = "List of security group ids when forwarder lambda function should run in the VPC"
type = list(string)
default = null
}
variable "log_forwarder_environment_variables" {
description = "A map of environment variables for the log forwarder lambda function"
type = map(string)
default = {}
}
variable "log_forwarder_lambda_tags" {
description = "A map of tags to apply to the log forwarder lambda function"
type = map(string)
default = {}
}
variable "log_forwarder_tags" {
description = "A map of tags to apply to the log forwarder resources"
type = map(string)
default = {}
}
variable "log_forwarder_log_retention_days" {
description = "Log forwarder CloudWatch log group retention in days"
type = number
default = 7
}
# RDS Enhanced Monitoring Forwarder IAM Role
variable "create_rds_em_forwarder_role" {
description = "Controls whether an IAM role is created for the RDS enhanced monitoring forwarder"
type = bool
default = true
}
variable "rds_em_forwarder_role_arn" {
description = "IAM role arn for RDS enhanced monitoring forwarder lambda function to utilize"
type = string
default = null
}
variable "rds_em_forwarder_role_name" {
description = "RDS enhanced monitoring forwarder role name"
type = string
default = ""
}
variable "rds_em_forwarder_use_role_name_prefix" {
description = "Whether to use unique name beginning with the specified `rds_em_forwarder_role_name` for the RDS enhanced monitoring forwarder role"
type = bool
default = false
}
variable "rds_em_forwarder_role_path" {
description = "RDS enhanced monitoring forwarder role path"
type = string
default = null
}
variable "rds_em_forwarder_role_max_session_duration" {
description = "The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours"
type = number
default = null
}
variable "rds_em_forwarder_role_permissions_boundary" {
description = "The ARN of the policy that is used to set the permissions boundary for the RDS enhanced monitoring forwarder role"
type = string
default = null
}
variable "rds_em_forwarder_role_tags" {
description = "A map of tags to apply to the RDS enhanced monitoring forwarder role"
type = map(string)
default = {}
}
variable "create_rds_em_forwarder_role_policy" {
description = "Controls whether an IAM role policy is created for the RDS enhanced monitoring forwarder"
type = bool
default = true
}
variable "rds_em_forwarder_policy_arn" {
description = "IAM policy arn for RDS enhanced monitoring forwarder lambda function to utilize"
type = string
default = null
}
variable "rds_em_forwarder_policy_name" {
description = "RDS enhanced monitoring forwarder policy name"
type = string
default = ""
}
variable "rds_em_forwarder_use_policy_name_prefix" {
description = "Whether to use unique name beginning with the specified `rds_em_forwarder_policy_name` for the RDS enhanced monitoring forwarder role"
type = bool
default = false
}
variable "rds_em_forwarder_policy_path" {
description = "RDS enhanced monitoring forwarder policy path"
type = string
default = null
}
# RDS Enhanced Monitoring Lambda Function
variable "rds_em_forwarder_version" {
description = "RDS enhanced monitoring lambda version - see https://github.com/DataDog/datadog-serverless-functions/releases"
type = string
default = "3.69.0"
}
variable "create_rds_em_forwarder" {
description = "Controls whether RDS enhanced monitoring forwarder resources should be created"
type = bool
default = true
}
variable "rds_em_forwarder_name" {
description = "RDS enhanced monitoring forwarder lambda name"
type = string
default = "datadog-rds-enhanced-monitoring-forwarder"
}
variable "rds_em_forwarder_runtime" {
description = "Lambda function runtime"
type = string
default = "python3.9"
}
variable "rds_em_forwarder_layers" {
description = "List of Lambda Layer Version ARNs (maximum of 5) to attach to the RDS enhanced monitoring forwarder lambda"
type = list(string)
default = []
}
variable "rds_em_forwarder_memory_size" {
description = "Memory size for the RDS enhanced monitoring forwarder lambda function"
type = number
default = 256
}
variable "rds_em_forwarder_timeout" {
description = "The amount of time the RDS enhanced monitoring forwarder lambda has to execute in seconds"
type = number
default = 10
}
variable "rds_em_forwarder_publish" {
description = "Whether to publish creation/change as a new fambda function Version"
type = bool
default = false
}
variable "rds_em_forwarder_architectures" {
description = "Instruction set architecture for your Lambda function. Valid values are `[\"x86_64\"]` and `[\"arm64\"]`. Default is `[\"x86_64\"]`"
type = list(string)
default = ["x86_64"]
}
variable "rds_em_forwarder_reserved_concurrent_executions" {
description = "The amount of reserved concurrent executions for the RDS enhanced monitoring forwarder lambda function"
type = number
default = 10
}
variable "rds_em_forwarder_kms_key_arn" {
description = "KMS key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key"
type = string
default = null
}
variable "rds_em_forwarder_subnet_ids" {
description = "List of subnet ids when forwarder lambda function should run in the VPC. Usually private or intra subnets"
type = list(string)
default = null
}
variable "rds_em_forwarder_security_group_ids" {
description = "List of security group ids when forwarder lambda function should run in the VPC"
type = list(string)
default = null
}
variable "rds_em_forwarder_environment_variables" {
description = "A map of environment variables for the RDS enhanced monitoring forwarder lambda function"
type = map(string)
default = {}
}
variable "rds_em_forwarder_lambda_tags" {
description = "A map of tags to apply to the RDS enhanced monitoring forwarder lambda function"
type = map(string)
default = {}
}
variable "rds_em_forwarder_tags" {
description = "A map of tags to apply to the RDS enhanced monitoring forwarder resources"
type = map(string)
default = {}
}
variable "rds_em_forwarder_log_retention_days" {
description = "RDS enhanced monitoring forwarder CloudWatch log group retention in days"
type = number
default = 7
}
# VPC Flow Log Forwarder IAM Role
variable "create_vpc_fl_forwarder_role" {
description = "Controls whether an IAM role is created for the VPC flow log forwarder"
type = bool
default = true
}
variable "vpc_fl_forwarder_role_arn" {
description = "IAM role arn for VPC flow log forwarder lambda function to utilize"
type = string
default = null
}
variable "vpc_fl_forwarder_role_name" {
description = "VPC flow log forwarder role name"
type = string
default = ""
}
variable "vpc_fl_forwarder_use_role_name_prefix" {
description = "Whether to use unique name beginning with the specified `vpc_fl_forwarder_role_name` for the VPC flow log forwarder role"
type = bool
default = false
}
variable "vpc_fl_forwarder_role_path" {
description = "VPC flow log forwarder role path"
type = string
default = null
}
variable "vpc_fl_forwarder_role_max_session_duration" {
description = "The maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours"
type = number
default = null
}
variable "vpc_fl_forwarder_role_permissions_boundary" {
description = "The ARN of the policy that is used to set the permissions boundary for the VPC flow log forwarder role"
type = string
default = null
}
variable "vpc_fl_forwarder_role_tags" {
description = "A map of tags to apply to the VPC flow log forwarder role"
type = map(string)
default = {}
}
variable "create_vpc_fl_forwarder_role_policy" {
description = "Controls whether an IAM role policy is created for the VPC flow log forwarder"
type = bool
default = true
}
variable "vpc_fl_forwarder_policy_arn" {
description = "IAM policy arn for VPC flow log forwarder lambda function to utilize"
type = string
default = null
}
variable "vpc_fl_forwarder_policy_name" {
description = "VPC flow log forwarder policy name"
type = string
default = ""
}
variable "vpc_fl_forwarder_use_policy_name_prefix" {
description = "Whether to use unique name beginning with the specified `vpc_fl_forwarder_policy_name` for the VPC flow log forwarder role"
type = bool
default = false
}
variable "vpc_fl_forwarder_policy_path" {
description = "VPC flow log forwarder policy path"
type = string
default = null
}
variable "vpc_fl_forwarder_s3_log_bucket_arns" {
description = "S3 log buckets for VPC flow log forwarder to read and forward to Datadog"
type = list(string)
default = []
}
variable "vpc_fl_forwarder_read_cloudwatch_logs" {
description = "Whether the VPC flow log forwarder will read CloudWatch log groups for VPC flow logs"
type = bool
default = false
}
# VPC Flow Log Forwarder Lambda Function
variable "vpc_fl_forwarder_version" {
description = "VPC flow log lambda version - see https://github.com/DataDog/datadog-serverless-functions/releases"
type = string
default = "3.69.0"
}
variable "create_vpc_fl_forwarder" {
description = "Controls whether VPC flow log forwarder resources should be created"
type = bool
default = true
}
variable "vpc_fl_forwarder_name" {
description = "VPC flow log forwarder lambda name"
type = string
default = "datadog-vpc-flow-log-forwarder"
}
variable "vpc_fl_forwarder_runtime" {
description = "Lambda function runtime"
type = string
default = "python3.9"
}
variable "vpc_fl_forwarder_layers" {
description = "List of Lambda Layer Version ARNs (maximum of 5) to attach to the VPC flow log forwarder lambda"
type = list(string)
default = []
}
variable "vpc_fl_forwarder_memory_size" {
description = "Memory size for the VPC flow log forwarder lambda function"
type = number
default = 256
}
variable "vpc_fl_forwarder_timeout" {
description = "The amount of time the VPC flow log forwarder lambda has to execute in seconds"
type = number
default = 10
}
variable "vpc_fl_forwarder_publish" {
description = "Whether to publish creation/change as a new fambda function Version"
type = bool
default = false
}
variable "vpc_fl_forwarder_architectures" {
description = "Instruction set architecture for your Lambda function. Valid values are `[\"x86_64\"]` and `[\"arm64\"]`. Default is `[\"x86_64\"]`"
type = list(string)
default = ["x86_64"]
}
variable "vpc_fl_forwarder_reserved_concurrent_executions" {
description = "The amount of reserved concurrent executions for the VPC flow log forwarder lambda function"
type = number
default = 10
}
variable "vpc_fl_forwarder_kms_key_arn" {
description = "KMS key that is used to encrypt environment variables. If this configuration is not provided when environment variables are in use, AWS Lambda uses a default service key"
type = string
default = null
}
variable "vpc_fl_forwarder_subnet_ids" {
description = "List of subnet ids when forwarder lambda function should run in the VPC. Usually private or intra subnets"
type = list(string)
default = null
}
variable "vpc_fl_forwarder_security_group_ids" {
description = "List of security group ids when forwarder lambda function should run in the VPC"
type = list(string)
default = null
}
variable "vpc_fl_forwarder_environment_variables" {
description = "A map of environment variables for the VPC flow log forwarder lambda function"
type = map(string)
default = {}
}
variable "vpc_fl_forwarder_lambda_tags" {
description = "A map of tags to apply to the VPC flow log forwarder lambda function"
type = map(string)
default = {}
}
variable "vpc_fl_forwarder_tags" {
description = "A map of tags to apply to the VPC flow log forwarder resources"
type = map(string)
default = {}
}
variable "vpc_fl_forwarder_log_retention_days" {
description = "VPC flow log forwarder CloudWatch log group retention in days"
type = number
default = 7
}
# PrivateLink / VPC Endpoints
variable "vpc_id" {
description = "ID of VPC to provision endpoints within"
type = string
default = null
}
variable "create_metrics_vpce" {
description = "Controls whether a metrics VPC endpoint should be created"
type = bool
default = false
}
variable "metrics_vpce_subnet_ids" {
description = "IDs of subnets to associate with metrics endpoint"
type = list(string)
default = []
}
variable "metrics_vpce_security_group_ids" {
description = "IDs of security groups to attach to metrics endpoint"
type = list(string)
default = []
}
variable "metrics_vpce_policy" {
description = "Policy to attach to the metrics endpoint that controls access to the service. Defaults to full access"
type = any
default = null
}
variable "metrics_vpce_tags" {
description = "A map of tags to apply to the metrics endpoint"
type = map(string)
default = {}
}
variable "create_agent_vpce" {
description = "Controls whether an agent endpoint should be created"
type = bool
default = false
}
variable "agent_vpce_subnet_ids" {
description = "IDs of subnets to associate with agent endpoint"
type = list(string)
default = []
}
variable "agent_vpce_security_group_ids" {
description = "IDs of security groups to attach to agent endpoint"
type = list(string)
default = []
}
variable "agent_vpce_policy" {
description = "Policy to attach to the agent endpoint that controls access to the service. Defaults to full access"
type = any
default = null
}
variable "agent_vpce_tags" {
description = "A map of tags to apply to the Datadog agent endpoint"
type = map(string)
default = {}
}
variable "create_log_forwarder_vpce" {
description = "Controls whether a log forwarder endpoint should be created"
type = bool
default = false
}
variable "log_forwarder_vpce_subnet_ids" {
description = "IDs of subnets to associate with log forwarder endpoint"
type = list(string)
default = []
}
variable "log_forwarder_vpce_security_group_ids" {
description = "IDs of security groups to attach to log forwarder endpoint"
type = list(string)
default = []
}
variable "log_forwarder_vpce_policy" {
description = "Policy to attach to the log forwarder endpoint that controls access to the service. Defaults to full access"
type = any
default = null
}
variable "log_forwarder_vpce_tags" {
description = "A map of tags to apply to the log forwarder endpoint"
type = map(string)
default = {}
}
variable "create_api_vpce" {
description = "Controls whether a API endpoint should be created"
type = bool
default = false
}
variable "api_vpce_subnet_ids" {
description = "IDs of subnets to associate with API endpoint"
type = list(string)
default = []
}
variable "api_vpce_security_group_ids" {
description = "IDs of security groups to attach to API endpoint"
type = list(string)
default = []
}
variable "api_vpce_policy" {
description = "Policy to attach to the API endpoint that controls access to the service. Defaults to full access"
type = any
default = null
}
variable "api_vpce_tags" {
description = "A map of tags to apply to the API endpoint"
type = map(string)
default = {}
}
variable "create_processes_vpce" {
description = "Controls whether a processes endpoint should be created"
type = bool
default = false
}
variable "processes_vpce_subnet_ids" {
description = "IDs of subnets to associate with processes endpoint"
type = list(string)
default = []
}
variable "processes_vpce_security_group_ids" {
description = "IDs of security groups to attach to processes endpoint"
type = list(string)
default = []
}
variable "processes_vpce_policy" {
description = "Policy to attach to the processes endpoint that controls access to the service. Defaults to full access"
type = any
default = null
}
variable "processes_vpce_tags" {
description = "A map of tags to apply to the processes endpoint"
type = map(string)
default = {}
}
variable "create_traces_vpce" {
description = "Controls whether a traces endpoint should be created"
type = bool
default = false
}
variable "traces_vpce_subnet_ids" {
description = "IDs of subnets to associate with traces endpoint"
type = list(string)
default = []
}
variable "traces_vpce_security_group_ids" {
description = "IDs of security groups to attach to traces endpoint"
type = list(string)
default = []
}
variable "traces_vpce_policy" {
description = "Policy to attach to the traces endpoint that controls access to the service. Defaults to full access"
type = any
default = null
}
variable "traces_vpce_tags" {
description = "A map of tags to apply to the traces endpoint"
type = map(string)
default = {}
}