-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.tf
More file actions
29 lines (26 loc) · 1.08 KB
/
main.tf
File metadata and controls
29 lines (26 loc) · 1.08 KB
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
locals {
controlplane_image_id = "ami-05801d0a3c8e4c443" // Ubuntu Bionic 18.04
worker_image_id = "ami-05801d0a3c8e4c443" // Ubuntu Bionic 18.04
// rancher_fqdn = "${var.subdomain_rancher}.${var.hosted_zone_domain_name}"
//
// // Most of these should eventually get moved to variables, but they are staying hard coded for now for simplicity.
// ssh_user = "ubuntu"
// node_group_1_count = 1
// node_group_2_count = 1
// node_group_3_count = 1
// node_group_1_ami = "ami-05801d0a3c8e4c443" // Ubuntu Bionic 18.04
// node_group_2_ami = "ami-05801d0a3c8e4c443" // Ubuntu Bionic 18.04
// node_group_3_ami = "ami-05801d0a3c8e4c443" // Ubuntu Bionic 18.04
}
module "label" {
source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.17.0"
namespace = var.namespace
stage = var.stage
name = var.name
additional_tag_map = var.additional_tag_map
tags = {
"Repo" = "${var.repo}",
"Owner" = "${var.owner}",
"Description" = "${var.description}"
}
}