syslog-server/terraform/outputs.tf
Adam Moussa e17b284370
feat(infra): migrate syslog-server to HCP Terraform (PLAT-78) (#38)
* feat(infra): migrate syslog-server to HCP Terraform

Replace the mgmt CDK stack with a seahaven-prod HCP workspace so the
collector is owned by Terraform before UniFi cutover.

* fix(infra): keep no-logs alarm quiet until UniFi cutover

The new prod unifi-syslog group is empty until devices are re-pointed, so treat_missing_data=breaching would page site-alerts on first apply.

* fix(infra): allow scoped apply to modify SG rules in place

Authorize/Revoke plus description updates are not enough for aws_vpc_security_group_*_rule in-place changes after the bootstrap window.
2026-09-16 21:29:43 +00:00

29 lines
867 B
HCL

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
}