-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
30 lines (24 loc) · 969 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
output "parameters" {
description = "SSM secret names for Jenkins to sync"
value = zipmap(var.runtime_secrets, slice(aws_ssm_parameter.secure_param.*.name, 0, length(var.runtime_secrets)))
}
output "lambda_iam_role_id" {
description = "Lambda's IAM role ID. You can attach additional policies to this role to utilize other AWS services not handled by the API module"
value = aws_iam_role.lambda_execution_role.id
}
output "api_url" {
description = "The API URL"
value = aws_apigatewayv2_api.http_api.api_endpoint
}
output "kms_arn" {
description = "AWS KMS key ID used to encrypt secrets, in case you wish to use it with other services."
value = aws_kms_key.key.arn
}
output "parameters_arn" {
description = "ARN for SSM secret names"
value = aws_ssm_parameter.secure_param[*].arn
}
output "security_group" {
description = "Security group for Lambda in VPC"
value = aws_security_group.api_rules[*].id
}