components/terraform/polly/outputs.tf
856 B - मूल फ़ाइल देखें
output "lexicon_name" {
description = "The name of the custom Polly lexicon. Polly lexicons aren't supported by the AWS provider, so the resource is created via aws polly put-lexicon during apply (see main.tf)."
value = local.enabled && var.create_lexicon ? local.lexicon_name : null
}
output "output_bucket_id" {
description = "The ID of the output S3 bucket"
value = try(aws_s3_bucket.polly_output[0].id, null)
}
output "output_bucket_arn" {
description = "The ARN of the output S3 bucket"
value = try(aws_s3_bucket.polly_output[0].arn, null)
}
output "polly_role_arn" {
description = "The ARN of the IAM role for Polly"
value = try(aws_iam_role.polly[0].arn, null)
}
output "sns_topic_arn" {
description = "The ARN of the SNS topic for notifications"
value = try(aws_sns_topic.polly[0].arn, null)
}