Skip to content

Commit

Permalink
updating indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
haitchison committed Dec 19, 2023
1 parent a06f01f commit fbf5249
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ output "lambda_function_name" {

output "vpc_security_group_ids" {
description = "The VPC security groups the lambda function has been deployed into"
value = try(aws_lambda_function.this.vpc_config.security_group_ids, "")
value = try(aws_lambda_function.this.vpc_config[0].security_group_ids, "")
}

output "vpc_subnet_ids" {
description = "The vpc subnet(s) the Lambda function has been deployed into"
value = try(aws_lambda_function.this.vpc_config.subnet_ids, "")
value = try(aws_lambda_function.this.vpc_config[0].subnet_ids, "")
}

0 comments on commit fbf5249

Please sign in to comment.