@@ -452,19 +452,19 @@ resource "aws_batch_job_definition" "this" {
452
452
}
453
453
}
454
454
455
- dns_policy = eks_properties. value . pod_properties . dns_policy
456
- host_network = eks_properties. value . pod_properties . host_network
455
+ dns_policy = eks_properties. value . dns_policy
456
+ host_network = eks_properties. value . host_network
457
457
458
458
dynamic "image_pull_secret" {
459
- for_each = eks_properties. value . pod_properties . image_pull_secrets != null ? eks_properties. value . pod_properties . image_pull_secrets : []
459
+ for_each = eks_properties. value . image_pull_secrets != null ? eks_properties. value . image_pull_secrets : []
460
460
461
461
content {
462
462
name = image_pull_secret. value . name
463
463
}
464
464
}
465
465
466
466
dynamic "init_containers" {
467
- for_each = eks_properties. value . pod_properties . init_containers != null ? eks_properties. value . pod_properties . init_containers : {}
467
+ for_each = eks_properties. value . init_containers != null ? eks_properties. value . init_containers : {}
468
468
469
469
content {
470
470
args = init_containers. value . args
@@ -517,18 +517,18 @@ resource "aws_batch_job_definition" "this" {
517
517
}
518
518
519
519
dynamic "metadata" {
520
- for_each = eks_properties. value . pod_properties . metadata != null ? [eks_properties . value . pod_properties . metadata ] : []
520
+ for_each = eks_properties. value . metadata != null ? [eks_properties . value . metadata ] : []
521
521
522
522
content {
523
523
labels = metadata. value . labels
524
524
}
525
525
}
526
526
527
- service_account_name = eks_properties. value . pod_properties . service_account_name
528
- share_process_namespace = eks_properties. value . pod_properties . share_process_namespace
527
+ service_account_name = eks_properties. value . service_account_name
528
+ share_process_namespace = eks_properties. value . share_process_namespace
529
529
530
530
dynamic "volumes" {
531
- for_each = eks_properties. value . pod_properties . volumes != null ? eks_properties. value . pod_properties . volumes : {}
531
+ for_each = eks_properties. value . volumes != null ? eks_properties. value . volumes : {}
532
532
533
533
content {
534
534
dynamic "empty_dir" {
0 commit comments