@@ -452,19 +452,19 @@ resource "aws_batch_job_definition" "this" {
452452 }
453453 }
454454
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
457457
458458 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 : []
460460
461461 content {
462462 name = image_pull_secret. value . name
463463 }
464464 }
465465
466466 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 : {}
468468
469469 content {
470470 args = init_containers. value . args
@@ -517,18 +517,18 @@ resource "aws_batch_job_definition" "this" {
517517 }
518518
519519 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 ] : []
521521
522522 content {
523523 labels = metadata. value . labels
524524 }
525525 }
526526
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
529529
530530 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 : {}
532532
533533 content {
534534 dynamic "empty_dir" {
0 commit comments