Skip to content

Commit 3a07ad9

Browse files
authored
fix: Correct launch template attribute values to match variable/API definition (#43)
1 parent 7219c15 commit 3a07ad9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ resource "aws_batch_compute_environment" "this" {
4444
for_each = !contains(["FARGATE", "FARGATE_SPOT"], compute_resources.value.type) && compute_resources.value.launch_template != null ? [compute_resources.value.launch_template] : []
4545

4646
content {
47-
launch_template_id = launch_template.value.id
48-
launch_template_name = launch_template.value.name
47+
launch_template_id = launch_template.value.launch_template_id
48+
launch_template_name = launch_template.value.launch_template_name
4949
version = launch_template.value.version
5050
}
5151
}

0 commit comments

Comments
 (0)