21855: Update URL path for RPMs
[arvados.git] / tools / salt-install / terraform / aws / services / outputs.tf
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: CC-BY-SA-3.0
4
5 output "vpc_id" {
6   value = data.terraform_remote_state.vpc.outputs.arvados_vpc_id
7 }
8 output "cluster_int_cidr" {
9   value = data.aws_vpc.arvados_vpc.cidr_block
10 }
11 output "arvados_subnet_id" {
12   value = data.terraform_remote_state.vpc.outputs.public_subnet_id
13 }
14 output "compute_subnet_id" {
15   value = data.terraform_remote_state.vpc.outputs.private_subnet_id
16 }
17
18 output "arvados_sg_id" {
19   value = data.terraform_remote_state.vpc.outputs.arvados_sg_id
20 }
21
22 output "public_ip" {
23   value = local.public_ip
24 }
25
26 output "private_ip" {
27   value = local.private_ip
28 }
29
30 output "route53_dns_ns" {
31   value = data.terraform_remote_state.vpc.outputs.route53_dns_ns
32 }
33
34 output "letsencrypt_iam_access_key_id" {
35   value = data.terraform_remote_state.vpc.outputs.letsencrypt_iam_access_key_id
36 }
37
38 output "letsencrypt_iam_secret_access_key" {
39   value = data.terraform_remote_state.vpc.outputs.letsencrypt_iam_secret_access_key
40   sensitive = true
41 }
42
43 output "cluster_name" {
44   value = data.terraform_remote_state.vpc.outputs.cluster_name
45 }
46
47 output "domain_name" {
48   value = data.terraform_remote_state.vpc.outputs.domain_name
49 }
50
51 # Debian AMI's default user
52 output "deploy_user" {
53   value = var.deploy_user
54 }
55
56 output "region_name" {
57   value = data.terraform_remote_state.vpc.outputs.region_name
58 }
59
60 output "ssl_password_secret_name" {
61   value = aws_secretsmanager_secret.ssl_password_secret.name
62 }
63
64 output "database_address" {
65   value = one(aws_db_instance.postgresql_service[*].address)
66 }
67
68 output "database_name" {
69   value = one(aws_db_instance.postgresql_service[*].db_name)
70 }
71
72 output "database_username" {
73   value = one(aws_db_instance.postgresql_service[*].username)
74 }
75
76 output "database_password" {
77   value = one(aws_db_instance.postgresql_service[*].password)
78   sensitive = true
79 }
80
81 output "database_version" {
82   value = one(aws_db_instance.postgresql_service[*].engine_version_actual)
83 }