-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoutputs.tf
More file actions
47 lines (38 loc) · 1.76 KB
/
outputs.tf
File metadata and controls
47 lines (38 loc) · 1.76 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
output "sso_elevator_bucket_id" {
description = "The name of the SSO elevator bucket."
value = var.s3_name_of_the_existing_bucket == "" ? module.audit_bucket[0].s3_bucket_id : null
}
output "requester_api_endpoint_url" {
description = "The full URL to invoke the API. Pass this URL into the Slack App manifest as the Request URL."
value = var.create_api_gateway ? local.full_api_url : null
}
output "config_s3_bucket_name" {
description = "The name of the S3 bucket for storing configuration and cache data."
value = module.config_bucket.s3_bucket_id
}
output "config_s3_bucket_arn" {
description = "The ARN of the S3 bucket for storing configuration and cache data."
value = module.config_bucket.s3_bucket_arn
}
# Attribute Syncer Outputs
output "attribute_syncer_lambda_arn" {
description = "The ARN of the attribute syncer Lambda function."
value = var.attribute_sync_enabled ? module.attribute_syncer[0].lambda_function_arn : null
}
output "attribute_syncer_lambda_name" {
description = "The name of the attribute syncer Lambda function."
value = var.attribute_sync_enabled ? module.attribute_syncer[0].lambda_function_name : null
}
output "attribute_sync_schedule_rule_arn" {
description = "The ARN of the EventBridge rule that triggers the attribute syncer."
value = var.attribute_sync_enabled ? aws_cloudwatch_event_rule.attribute_sync_schedule[0].arn : null
}
# Alerting-related outputs
output "revoker_lambda_name" {
description = "The name of the revoker Lambda function."
value = module.access_revoker.lambda_function_name
}
output "schedule_group_name" {
description = "The name of the EventBridge Scheduler schedule group."
value = aws_scheduler_schedule_group.one_time_schedule_group.name
}