01: infra
This commit is contained in:
1 parent
ec9bb74be0
commit
341cd05ac5
71 files changed
+2058
-1
No files matched your search
@@ -0,0 +1,57 @@
|
||||
# Outputs for HAPI Terraform infrastructure
|
||||
|
||||
output "postgres_endpoint" {
|
||||
description = "PostgreSQL endpoint for the environment"
|
||||
value = module.postgres.endpoint
|
||||
}
|
||||
|
||||
output "postgres_port" {
|
||||
description = "PostgreSQL port"
|
||||
value = module.postgres.port
|
||||
}
|
||||
|
||||
output "postgres_database" {
|
||||
description = "PostgreSQL database name"
|
||||
value = module.postgres.database
|
||||
}
|
||||
|
||||
output "postgres_username" {
|
||||
description = "PostgreSQL username"
|
||||
value = module.postgres.username
|
||||
}
|
||||
|
||||
output "postgres_password" {
|
||||
description = "PostgreSQL password (sensitive)"
|
||||
value = module.postgres.password
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
output "object_storage_endpoint" {
|
||||
description = "Object Storage endpoint"
|
||||
value = module.storage.endpoint
|
||||
}
|
||||
|
||||
output "object_storage_access_key" {
|
||||
description = "Object Storage access key"
|
||||
value = module.storage.access_key
|
||||
}
|
||||
|
||||
output "object_storage_secret_key" {
|
||||
description = "Object Storage secret key (sensitive)"
|
||||
value = module.storage.secret_key
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
output "firewall_rules" {
|
||||
description = "Firewall rules configuration"
|
||||
value = module.network.firewall_rules
|
||||
}
|
||||
|
||||
output "terraform_backend_config" {
|
||||
description = "Configuration for Terraform backend in Object Storage"
|
||||
value = {
|
||||
bucket = module.storage.state_bucket_name
|
||||
key = "terraform/${var.environment}/terraform.tfstate"
|
||||
region = var.linode_region
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user