-
-
Notifications
You must be signed in to change notification settings - Fork 86
/
outputs.tf
52 lines (43 loc) · 1.58 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Step Function
output "state_machine_id" {
description = "The ARN of the Step Function"
value = try(aws_sfn_state_machine.this[0].id, "")
}
output "state_machine_arn" {
description = "The ARN of the Step Function"
value = try(aws_sfn_state_machine.this[0].arn, "")
}
output "state_machine_name" {
description = "The Name of the Step Function"
value = try(aws_sfn_state_machine.this[0].name, "")
}
output "state_machine_creation_date" {
description = "The date the Step Function was created"
value = try(aws_sfn_state_machine.this[0].creation_date, "")
}
output "state_machine_status" {
description = "The current status of the Step Function"
value = try(aws_sfn_state_machine.this[0].status, "")
}
output "state_machine_version_arn" {
description = "The ARN of state machine version"
value = try(aws_sfn_state_machine.this[0].state_machine_version_arn, "")
}
# IAM Role
output "role_arn" {
description = "The ARN of the IAM role created for the Step Function"
value = try(aws_iam_role.this[0].arn, "")
}
output "role_name" {
description = "The name of the IAM role created for the Step Function"
value = try(aws_iam_role.this[0].name, "")
}
# CloudWatch
output "cloudwatch_log_group_arn" {
description = "The ARN of the CloudWatch log group created for the Step Function"
value = try(aws_cloudwatch_log_group.sfn[0].arn, "")
}
output "cloudwatch_log_group_name" {
description = "The name of the CloudWatch log group created for the Step Function"
value = try(aws_cloudwatch_log_group.sfn[0].name, "")
}