Skip to content

Commit

Permalink
Fix collector_layer_arn output
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Apr 27, 2021
1 parent df306d8 commit abf5c2e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion java/integration-tests/aws-sdk/agent/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output "function_role_name" {
}

output "collector_layer_arn" {
value = aws_lambda_layer_version.collector_layer[0].arn
value = var.enable_collector_layer ? aws_lambda_layer_version.collector_layer[0].arn : ""
}

output "sdk_layer_arn" {
Expand Down
2 changes: 1 addition & 1 deletion java/integration-tests/aws-sdk/wrapper/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output "function_role_name" {
}

output "collector_layer_arn" {
value = aws_lambda_layer_version.collector_layer[0].arn
value = var.enable_collector_layer ? aws_lambda_layer_version.collector_layer[0].arn : ""
}

output "sdk_layer_arn" {
Expand Down
2 changes: 1 addition & 1 deletion java/integration-tests/okhttp/wrapper/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output "function_role_name" {
}

output "collector_layer_arn" {
value = aws_lambda_layer_version.collector_layer[0].arn
value = var.enable_collector_layer ? aws_lambda_layer_version.collector_layer[0].arn : ""
}

output "sdk_layer_arn" {
Expand Down
2 changes: 1 addition & 1 deletion nodejs/integration-tests/aws-sdk/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output "function_role_name" {
}

output "collector_layer_arn" {
value = aws_lambda_layer_version.collector_layer[0].arn
value = var.enable_collector_layer ? aws_lambda_layer_version.collector_layer[0].arn : ""
}

output "sdk_layer_arn" {
Expand Down
2 changes: 1 addition & 1 deletion python/integration-tests/function/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ output "function_role_name" {
}

output "collector_layer_arn" {
value = aws_lambda_layer_version.collector_layer[0].arn
value = var.enable_collector_layer ? aws_lambda_layer_version.collector_layer[0].arn : ""
}

output "sdk_layer_arn" {
Expand Down

0 comments on commit abf5c2e

Please sign in to comment.