output "bot_id" { description = "The ID of the Lex bot" value = try(aws_lexv2models_bot.this[0].id, null) } output "bot_name" { description = "The name of the Lex bot" value = try(aws_lexv2models_bot.this[0].name, null) } output "bot_arn" { description = "The ARN of the Lex bot" value = try(aws_lexv2models_bot.this[0].arn, null) } output "bot_role_arn" { description = "The ARN of the IAM role used by the bot" value = try(aws_iam_role.lex[0].arn, null) } output "locale_id" { description = "The locale ID of the bot" value = try(aws_lexv2models_bot_locale.this[0].locale_id, null) } output "log_group_name" { description = "The name of the CloudWatch log group" value = try(aws_cloudwatch_log_group.lex[0].name, null) }