Skip to content

Commit

Permalink
Update modules/serverless/main.tf
Browse files Browse the repository at this point in the history
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
  • Loading branch information
magreenbaum and bryantbiggs authored Aug 3, 2024
1 parent b8b5215 commit af46de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/serverless/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ resource "aws_emrserverless_application" "this" {
}

dynamic "interactive_configuration" {
for_each = [var.interactive_configuration]
for_each = length(var.interactive_configuration) > 0 ? [var.interactive_configuration] : []
content {
livy_endpoint_enabled = try(interactive_configuration.value.livy_endpoint_enabled, null)
studio_enabled = try(interactive_configuration.value.studio_enabled, null)
Expand Down

0 comments on commit af46de9

Please sign in to comment.