We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56c59df commit 24183bbCopy full SHA for 24183bb
outputs.tf
@@ -1,9 +1,9 @@
1
output "lambda_function_arn" {
2
description = "The ARN of the EIP manager Lambda function"
3
- value = aws_lambda_function.this[0].arn
+ value = module.this.enabled ? aws_lambda_function.this[0].arn : ""
4
}
5
6
output "iam_role_arn" {
7
description = "The ARN of the IAM role used by the EIP manager Lambda function"
8
- value = aws_iam_role.this[0].arn
+ value = module.this.enabled ? aws_iam_role.this[0].arn : ""
9
0 commit comments