Skip to content

Commit 7e9677d

Browse files
committed
feat: Add output for exposed parameters
1 parent 39e58f2 commit 7e9677d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

outputs.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ output "lambda_execution_role" {
1919
output "apig_arn" {
2020
value = aws_apigatewayv2_api.service_apig.arn
2121
}
22+
output "exposed_params" {
23+
value = var.expose_outputs_to_parameters && var.parameter_prefix != "" ? [
24+
aws_ssm_parameter.endpoint[0].name,
25+
aws_ssm_parameter.lambda[0].name,
26+
aws_ssm_parameter.apig_endpoint[0].name,
27+
aws_ssm_parameter.apig_arn[0].name
28+
] : []
29+
}

0 commit comments

Comments
 (0)