-
Notifications
You must be signed in to change notification settings - Fork 2
/
outputs.tf
195 lines (181 loc) · 7.81 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# ------------------------------------
# Google Project Outputs
# ------------------------------------
output "project_name" {
description = "The Google Project name."
value = try(module.google_anyscale_project.project_name, "")
}
output "project_id" {
description = "The Google Project id."
value = try(module.google_anyscale_project.project_id, "")
}
# ------------------------------------
# VPC Resource Outputs
# ------------------------------------
output "vpc_name" {
description = "The Google VPC network name."
value = try(module.google_anyscale_vpc.vpc_name, "")
}
output "vpc_id" {
description = "The Google VPC id."
value = try(module.google_anyscale_vpc.vpc_id, "")
}
output "vpc_selflink" {
description = "The Google VPC self link."
value = try(module.google_anyscale_vpc.vpc_selflink, "")
}
output "public_subnet_name" {
description = "The Google VPC public subnet name."
value = try(module.google_anyscale_vpc.public_subnet_name, "")
}
output "public_subnet_id" {
description = "The Google VPC public subnet id."
value = try(module.google_anyscale_vpc.public_subnet_id, "")
}
output "public_subnet_cidr" {
description = "The Google VPC public subnet cidr."
value = try(module.google_anyscale_vpc.public_subnet_cidr, "")
}
output "public_subnet_region" {
description = "The Google VPC public subnet region."
value = try(module.google_anyscale_vpc.public_subnet_region, "")
}
output "private_subnet_name" {
description = "The Google VPC private subnet name."
value = try(module.google_anyscale_vpc.private_subnet_name, "")
}
output "private_subnet_id" {
description = "The Google VPC private subnet id."
value = try(module.google_anyscale_vpc.private_subnet_id, "")
}
output "private_subnet_cidr" {
description = "The Google VPC private subnet cidr."
value = try(module.google_anyscale_vpc.private_subnet_cidr, "")
}
output "private_subnet_region" {
description = "The Google VPC private subnet region."
value = try(module.google_anyscale_vpc.private_subnet_region, "")
}
# ------------------------------------
# VPC Firewall Policy Outputs
# ------------------------------------
output "vpc_firewall_policy_name" {
description = "The Google VPC firewall policy name."
value = try(module.google_anyscale_vpc_firewall_policy.vpc_firewall_policy_name, "")
}
output "vpc_firewall_id" {
description = "The Google VPC firewall policy id."
value = try(module.google_anyscale_vpc_firewall_policy.vpc_firewall_id, "")
}
output "vpc_firewall_selflink" {
description = "The Google VPC firewall policy self link."
value = try(module.google_anyscale_vpc_firewall_policy.vpc_firewall_selflink, "")
}
# ------------------------------------
# Cloud Storage Resource Outputs
# ------------------------------------
output "cloudstorage_bucket_name" {
description = "The Google Cloud Storage bucket name."
value = try(module.google_anyscale_cloudstorage.cloudstorage_bucket_name, "")
}
output "cloudstorage_bucket_selflink" {
description = "The Google Cloud Storage self link."
value = try(module.google_anyscale_cloudstorage.cloudstorage_bucket_selflink, "")
}
output "cloudstorage_bucket_url" {
description = "The Google Cloud Storage url for the bucket. Will be in the format `gs://<bucket-name>`."
value = try(module.google_anyscale_cloudstorage.cloudstorage_bucket_url, var.existing_cloudstorage_bucket_name, "")
}
# ------------------------------------
# Filestore Resource Outputs
# ------------------------------------
output "filestore_name" {
description = "The Google Filestore name."
value = try(module.google_anyscale_filestore.anyscale_filestore_name, "")
}
output "filestore_id" {
description = "The Google Filestore id."
value = try(module.google_anyscale_filestore.anyscale_filestore_id, "")
}
output "filestore_location" {
description = "The Google Filestore location."
value = try(module.google_anyscale_filestore.anyscale_filestore_location, "")
}
output "filestore_fileshare_name" {
description = "The Google Filestore fileshare name."
value = try(module.google_anyscale_filestore.anyscale_filestore_fileshare_name, "")
}
# ------------------------------------
# IAM Resource Outputs
# ------------------------------------
output "iam_anyscale_access_service_acct_id" {
description = "The Google IAM Anyscale Access Service Account ID."
value = try(module.google_anyscale_iam.iam_anyscale_access_service_acct_id, "")
}
output "iam_anyscale_access_service_acct_name" {
description = "The Google IAM Anyscale Access Service Account name."
value = try(module.google_anyscale_iam.iam_anyscale_access_service_acct_name, "")
}
output "iam_anyscale_access_service_acct_email" {
description = "The Google IAM Anyscale Access Service Account email."
value = try(module.google_anyscale_iam.iam_anyscale_access_service_acct_email, "")
}
output "iam_anyscale_access_service_acct_unique_id" {
description = "The Google IAM Anyscale Access Service Account unique id."
value = try(module.google_anyscale_iam.iam_anyscale_access_service_acct_unique_id, "")
}
output "iam_workload_identity_pool_id" {
description = "The Google IAM Anyscale Workload Identity Pool id."
value = try(module.google_anyscale_iam.iam_workload_identity_pool_id, "")
}
output "iam_workload_identity_pool_name" {
description = "The Google IAM Anyscale Workload Identity Pool name."
value = try(module.google_anyscale_iam.iam_workload_identity_pool_name, "")
}
output "iam_workload_identity_provider_id" {
description = "The Google IAM Anyscale Workload Identity Provider id."
value = try(module.google_anyscale_iam.iam_workload_identity_provider_id, "")
}
output "iam_workload_identity_provider_name" {
description = "The Google IAM Anyscale Workload Identity Provider name."
value = try(module.google_anyscale_iam.iam_workload_identity_provider_name, "")
}
output "iam_anyscale_cluster_node_service_acct_id" {
description = "The Google IAM Anyscale Cluster Node Service Account ID."
value = try(module.google_anyscale_iam.iam_anyscale_cluster_node_service_acct_id, "")
}
output "iam_anyscale_cluster_node_service_acct_name" {
description = "The Google IAM Anyscale Cluster Node Service Accpimt name."
value = try(module.google_anyscale_iam.iam_anyscale_cluster_node_service_acct_name, "")
}
output "iam_anyscale_cluster_node_service_acct_email" {
description = "The Google IAM Anyscale Cluster Node Service Account email."
value = try(module.google_anyscale_iam.iam_anyscale_cluster_node_service_acct_email, "")
}
output "iam_anyscale_cluster_node_service_acct_unique_id" {
description = "The Google IAM Anyscale Cluster Node Service Account unique id."
value = try(module.google_anyscale_iam.iam_anyscale_cluster_node_service_acct_unique_id, "")
}
# ------------------------------------
# Memorystore Resource Outputs
# ------------------------------------
output "memorystore_id" {
description = "The memorystore instance ID."
value = try(module.google_anyscale_memorystore.anyscale_memorystore_id, "")
}
output "memorystore_host" {
description = "The IP address of the instance."
value = try(module.google_anyscale_memorystore.anyscale_memorystore_host, "")
}
output "memorystore_port" {
description = "The port number of the exposed Redis endpoint."
value = try(module.google_anyscale_memorystore.anyscale_memorystore_port, "")
}
output "memorystore_region" {
description = "The region the instance lives in."
value = try(module.google_anyscale_memorystore.anyscale_memorystore_region, "")
}
output "memorystore_current_location_id" {
description = "The current zone where the Redis endpoint is placed."
value = try(module.google_anyscale_memorystore.anyscale_memorystore[0].current_location_id, "")
}