Skip to content

Commit 955ea77

Browse files
author
Ben Fortuna
committed
Output function name
1 parent 5ae25bd commit 955ea77

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ No requirements.
2727

2828
## Outputs
2929

30-
No output.
30+
| Name | Description |
31+
|------|-------------|
32+
| function\_name | n/a |
3133

modules/ec2-instance-cycle/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,7 @@ No provider.
1717

1818
## Outputs
1919

20-
No output.
20+
| Name | Description |
21+
|------|-------------|
22+
| function\_name | n/a |
2123

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
output "function_name" {
2+
value = module.function.function_name
3+
}

outputs.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
output "function_name" {
2+
value = aws_lambda_function.function.function_name
3+
}

0 commit comments

Comments
 (0)