-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathoutputs.tf
More file actions
48 lines (39 loc) · 1.27 KB
/
outputs.tf
File metadata and controls
48 lines (39 loc) · 1.27 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -----------------------------------------------------------------------------
# Outputs: TF-MOD-AWS-MYSQL-SECRET-ROTATION
# -----------------------------------------------------------------------------
output "key_arn" {
value = join("", aws_kms_key.default.*.arn)
description = "Key ARN"
}
output "key_id" {
value = join("", aws_kms_key.default.*.key_id)
description = "Key ID"
}
output "alias_arn" {
value = join("", aws_kms_alias.default.*.arn)
description = "Alias ARN"
}
output "alias_name" {
value = join("", aws_kms_alias.default.*.name)
description = "Alias name"
}
output "lambda_arn" {
description = "The ARN of the Lambda function"
value = aws_lambda_function.lambda.*.arn
}
output "lambda_ids" {
description = "The name of the VPC Lambda functions"
value = aws_lambda_function.lambda.*.function_name
}
output "role_arn" {
description = "The ARN of the IAM role created for the Lambda function"
value = aws_iam_role.lambda.*.arn
}
output "role_name" {
description = "The name of the IAM role created for the Lambda function"
value = aws_iam_role.lambda.*.name
}
output "secret_id" {
description = "Amazon Resource Name (ARN) of the secret."
value = aws_secretsmanager_secret.default.*.name
}