-
Notifications
You must be signed in to change notification settings - Fork 19
/
main.tf
34 lines (31 loc) · 896 Bytes
/
main.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
variable "name_prefix" {}
variable "gcp_project" {}
variable "enable_services" {
default = true
}
variable "tf_state_bucket_force_destroy" {
default = false
}
module "bootstrap" {
source = "git::https://github.com/GaloyMoney/galoy-infra.git//modules/bootstrap/gcp?ref=2a35688"
# source = "../../../modules/bootstrap/gcp"
name_prefix = var.name_prefix
gcp_project = var.gcp_project
enable_services = var.enable_services
tf_state_bucket_force_destroy = var.tf_state_bucket_force_destroy
}
output "inception_sa" {
value = module.bootstrap.inception_sa
}
output "name_prefix" {
value = var.name_prefix
}
output "gcp_project" {
value = var.gcp_project
}
output "tf_state_bucket_name" {
value = module.bootstrap.tf_state_bucket_name
}
output "tf_state_bucket_location" {
value = module.bootstrap.tf_state_bucket_location
}