-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spins up cluster with working bgp sessions and global ipv4 with all c…
…luster controllers a backend
- Loading branch information
Joseph D. Marhee
committed
Mar 15, 2019
1 parent
91cd96d
commit 027ea8b
Showing
8 changed files
with
60 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
*.tfvars | ||
packet_key | ||
packet_key.pub | ||
3-cluster-inventory.tf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
provider "packet" { | ||
version = "1.3.2" | ||
auth_token = "${var.auth_token}" | ||
} | ||
|
||
resource "packet_reserved_ip_block" "anycast_ip" { | ||
project_id = "${var.project_id}" | ||
type = "global_ipv4" | ||
quantity = 1 | ||
facility = "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#Your Initial Cluster is defined here, subsequent clusters inventoried in 3-cluster-inventory.tf, created by Makefile | ||
module "cluster_facility" { | ||
source = "modules/cluster_pool" | ||
|
||
cluster_name = "primary" | ||
count = "${var.count}" | ||
plan_primary = "${var.plan_primary}" | ||
plan_node = "${var.plan_node}" | ||
facility = "${var.facility}" | ||
auth_token = "${var.auth_token}" | ||
project_id = "${var.project_id}" | ||
ssh_private_key_path = "${var.ssh_private_key_path}" | ||
cluster_name = "primary" | ||
count = "${var.count}" | ||
plan_primary = "${var.plan_primary}" | ||
plan_node = "${var.plan_node}" | ||
facility = "${var.facility}" | ||
auth_token = "${var.auth_token}" | ||
project_id = "${var.project_id}" | ||
ssh_private_key_path = "${var.ssh_private_key_path}" | ||
anycast_ip = "${packet_reserved_ip_block.anycast_ip.address}" | ||
} | ||
|
||
#Subsequent Clusters will be populated below this line. See README for spin-up procedure. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters