-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
71 lines (55 loc) · 1.55 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
output "vpc_self_link" {
description = "The self-link of the VPC"
value = module.vpc.vpc_self_link
}
output "webapp_subnet_self_link" {
description = "The self-link of the webapp subnet"
value = module.vpc.webapp_subnet_self_link
}
output "db_subnet_self_link" {
description = "The self-link of the db subnet"
value = module.vpc.db_subnet_self_link
}
output "firewall_http" {
value = module.firewall.allow_http_rule
}
output "firewall_ssh" {
value = module.firewall.deny_ssh_rule
}
output "sql_instance_name" {
value = module.cloudsql.sql_instance_name
}
output "sql_database_name" {
value = module.cloudsql.sql_database_name
}
output "sql_user_name" {
value = module.cloudsql.sql_user_name
}
output "sql_user_password" {
value = module.cloudsql.sql_user_password
sensitive = true
}
output "instance_name" {
value = module.compute_instance.instance_name
}
output "instance_self_link" {
value = module.compute_instance.instance_self_link
}
output "sql_instance_connection_name" {
value = module.cloudsql.sql_instance_connection_name
}
# output "database_url_output" {
# value = module.compute_instance.database_url
# }
output "cloud_function_url" {
description = "The URL of the deployed Cloud Function"
value = module.cloudfunctions.cloud_function_url
}
output "pubsub_topic_name" {
description = "The name of the Pub/Sub topic"
value = module.pubsub.pubsub_topic_name
}
output "service_account_email" {
description = "The email of the service account"
value = module.service_account.email
}