kontena / pharos-cluster

Pharos - The Kubernetes Distribution
https://k8spharos.dev/
Apache License 2.0
311 stars 43 forks source link

Don't attempt to create packet_bgp_session unless bgp_address_pool is defined #1518

Closed scottrobertson closed 4 years ago

scottrobertson commented 4 years ago

If you don't do this, you get:

Error: BGP is not enabled
  on main.tf line 84, in resource "packet_bgp_session" "pharos_bgb_session":
  84: resource "packet_bgp_session" "pharos_bgb_session" {

https://github.com/kontena/pharos-cluster/pull/1517#discussion_r357983835