29 lines
845 B
HCL
29 lines
845 B
HCL
output "public_instance_id" {
|
|
value = aws_instance.public.id
|
|
description = "The instance ID (`i-*****************`) of the reverse proxy."
|
|
}
|
|
|
|
output "private_instance_id" {
|
|
value = aws_instance.private.id
|
|
description = "The instance ID of the Gitea instance."
|
|
}
|
|
|
|
output "runner_instance_id" {
|
|
value = aws_instance.runner.id
|
|
description = "The instance ID of the Gitea runner."
|
|
}
|
|
|
|
output "private_instance_ip" {
|
|
value = aws_instance.private.private_ip
|
|
description = "The private IP (not accessible from internet) of the Gitea instnace."
|
|
}
|
|
|
|
output "gitea_boot" {
|
|
value = {
|
|
id = aws_iam_access_key.gitea_boot_key.id
|
|
secret = aws_iam_access_key.gitea_boot_key.secret
|
|
region = var.region
|
|
}
|
|
description = "The credentials to manipulate the codebase repository boot."
|
|
sensitive = true
|
|
} |