mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
Add import-only dev and staging state with least-privilege HCP authentication and plan safety guards.
49 lines
1.4 KiB
HCL
49 lines
1.4 KiB
HCL
output "api_url" {
|
|
description = "Public URL of the POC API"
|
|
value = "https://${var.domain_name}"
|
|
}
|
|
|
|
output "eb_application_name" {
|
|
description = "Elastic Beanstalk application name"
|
|
value = aws_elastic_beanstalk_application.api.name
|
|
}
|
|
|
|
output "eb_environment_name" {
|
|
description = "Elastic Beanstalk environment name"
|
|
value = aws_elastic_beanstalk_environment.api.name
|
|
}
|
|
|
|
output "eb_environment_id" {
|
|
description = "Elastic Beanstalk environment id (e-xxxxxxxx)"
|
|
value = aws_elastic_beanstalk_environment.api.id
|
|
}
|
|
|
|
output "eb_cname" {
|
|
description = "Elastic Beanstalk environment CNAME"
|
|
value = aws_elastic_beanstalk_environment.api.cname
|
|
}
|
|
|
|
output "rds_endpoint" {
|
|
description = "RDS SQL Server address"
|
|
value = aws_db_instance.poc.address
|
|
}
|
|
|
|
output "database_name" {
|
|
description = "Catalog to CREATE DATABASE on the RDS instance before the first app deploy"
|
|
value = var.database_name
|
|
}
|
|
|
|
output "webhook_secret_arn" {
|
|
description = "Secrets Manager ARN for the POC webhook HMAC keyset"
|
|
value = aws_secretsmanager_secret.webhook.arn
|
|
}
|
|
|
|
output "github_deploy_role_arn" {
|
|
description = "Set GitHub Environment tf-poc secret AWS_DEPLOY_ROLE_ARN to this value"
|
|
value = aws_iam_role.github_deploy.arn
|
|
}
|
|
|
|
output "acm_certificate_arn" {
|
|
description = "ACM certificate ARN for the POC hostname"
|
|
value = aws_acm_certificate.api.arn
|
|
}
|