-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
28 lines (23 loc) · 840 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
module "staging" {
source = "./modules/staging"
tags = ["sos23_staging"]
zone = var.zone
root_ssh_public_keys = var.root_ssh_public_keys
user_ssh_public_keys = var.user_ssh_public_keys
user_hashed_password = var.user_hashed_password
user_name = var.user_name
router_id = sakuracloud_internet.router.id
nightly_ip_address = local.nightly_ip_address
beta_ip_address = local.beta_ip_address
}
module "production" {
source = "./modules/production"
tags = ["sos23_production"]
zone = var.zone
root_ssh_public_keys = var.root_ssh_public_keys
user_ssh_public_keys = var.user_ssh_public_keys
user_hashed_password = var.user_hashed_password
user_name = var.user_name
router_id = sakuracloud_internet.router.id
ingress_ip_address = local.main_ip_address
}