20482: Allow the site admin to create a non-public Arvados cluster.
[arvados.git] / tools / salt-install / terraform / aws / vpc / outputs.tf
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: CC-BY-SA-3.0
4
5 output "arvados_vpc_id" {
6   value = aws_vpc.arvados_vpc.id
7 }
8 output "arvados_vpc_cidr" {
9   value = aws_vpc.arvados_vpc.cidr_block
10 }
11
12 output "public_subnet_id" {
13   value = aws_subnet.public_subnet.id
14 }
15
16 output "private_subnet_id" {
17   value = aws_subnet.private_subnet.id
18 }
19
20 output "arvados_sg_id" {
21   value = aws_security_group.arvados_sg.id
22 }
23
24 output "eip_id" {
25   value = { for k, v in aws_eip.arvados_eip: k => v.id }
26 }
27
28 output "public_ip" {
29   value = local.public_ip
30 }
31
32 output "public_hosts" {
33   value = local.public_hosts
34 }
35
36 output "private_ip" {
37   value = local.private_ip
38 }
39
40 output "private_hosts" {
41   value = local.private_hosts
42 }
43
44 output "user_facing_hosts" {
45   value = var.user_facing_hosts
46 }
47
48 output "internal_service_hosts" {
49   value = var.internal_service_hosts
50 }
51
52 output "private_only" {
53   value = var.private_only
54 }
55
56 output "route53_dns_ns" {
57   value = try(local.route53_public_zone.name_servers, [])
58 }
59
60 output "letsencrypt_iam_access_key_id" {
61   value = try(local.iam_access_key_letsencrypt.id, "")
62 }
63
64 output "letsencrypt_iam_secret_access_key" {
65   value = try(local.iam_access_key_letsencrypt.secret, "")
66   sensitive = true
67 }
68
69 output "region_name" {
70   value = var.region_name
71 }
72
73 output "cluster_name" {
74   value = var.cluster_name
75 }
76
77 output "domain_name" {
78   value = var.domain_name
79 }