File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.88.0
3
+ rev : v1.92.2
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_docs
24
24
- ' --args=--only=terraform_unused_required_providers'
25
25
- id : terraform_validate
26
26
- repo : https://github.com/pre-commit/pre-commit-hooks
27
- rev : v4.5 .0
27
+ rev : v4.6 .0
28
28
hooks :
29
29
- id : check-merge-conflict
30
30
- id : end-of-file-fixer
Original file line number Diff line number Diff line change @@ -53,6 +53,15 @@ resource "aws_batch_compute_environment" "this" {
53
53
}
54
54
}
55
55
56
+ dynamic "eks_configuration" {
57
+ for_each = try ([each . value . eks_configuration ], [])
58
+
59
+ content {
60
+ eks_cluster_arn = eks_configuration. value . eks_cluster_arn
61
+ kubernetes_namespace = eks_configuration. value . kubernetes_namespace
62
+ }
63
+ }
64
+
56
65
# Prevent a race condition during environment deletion, otherwise the policy may be destroyed
57
66
# too soon and the compute environment will then get stuck in the `DELETING` state
58
67
depends_on = [aws_iam_role_policy_attachment . service ]
You can’t perform that action at this time.
0 commit comments