syslog-server/terraform/outputs.tf

30 lines
867 B
Terraform
Raw Normal View History

output "instance_id" {
description = "syslog-server EC2 instance id."
value = aws_instance.this.id
}
output "public_ip" {
description = "Elastic IP — UniFi remote-syslog forwarding target."
value = aws_eip.this.public_ip
}
output "allocation_id" {
description = "Elastic IP allocation id."
value = aws_eip.this.allocation_id
}
output "log_group_name" {
description = "CloudWatch Logs group the agent ships remote syslog into."
value = aws_cloudwatch_log_group.unifi_syslog.name
}
output "hcptf_apply_role_arn" {
description = "HCP apply role ARN. Set TFC_AWS_APPLY_ROLE_ARN after the bootstrap window."
value = aws_iam_role.hcptf_apply.arn
}
output "hcptf_plan_role_arn" {
description = "HCP plan role ARN. Set TFC_AWS_PLAN_ROLE_ARN after the bootstrap window."
value = aws_iam_role.hcptf_plan.arn
}