We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ec2_configuration
1 parent a20b255 commit 67d405fCopy full SHA for 67d405f
main.tf
@@ -28,7 +28,7 @@ resource "aws_batch_compute_environment" "this" {
28
desired_vcpus = contains(["FARGATE", "FARGATE_SPOT"], compute_resources.value.type) ? null : compute_resources.value.desired_vcpus
29
30
dynamic "ec2_configuration" {
31
- for_each = !contains(["FARGATE", "FARGATE_SPOT"], compute_resources.value.type) && compute_resources.value.ec2_configuration != null ? [compute_resources.value.ec2_configuration] : []
+ for_each = !contains(["FARGATE", "FARGATE_SPOT"], compute_resources.value.type) && compute_resources.value.ec2_configuration != null ? compute_resources.value.ec2_configuration : []
32
33
content {
34
image_id_override = ec2_configuration.value.image_id_override
0 commit comments