Skip to content

Commit

Permalink
fixing content blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
LumosViridi committed May 23, 2022
1 parent ec2bce6 commit d651f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ resource "aws_lambda_function" "this" {

dynamic "vpc_config" {
for_each = length(var.security_group_ids) > 0 && length(var.subnet_ids) > 0 ? [0] : []
content = {
content {
security_group_ids = var.security_group_ids
subnet_ids = var.subnet_ids
}
}

dynamic "tracing_config" {
for_each = var.lambda_tracing ? [0] : []
content = {
content {
mode = "Active"
}
}
Expand Down

0 comments on commit d651f00

Please sign in to comment.