Skip to content

Commit

Permalink
feat: add rp bgp_auth_key field (#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
Co-authored-by: thogarty <139183873+thogarty@users.noreply.github.com>
  • Loading branch information
ocobles and thogarty authored Sep 13, 2024
1 parent 173fa68 commit 921d8be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/cloud-router-routing-protocols/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ resource "equinix_fabric_routing_protocol" "bgp" {
type = "BGP"

customer_asn = var.bgp_customer_asn
bgp_auth_key = var.bgp_auth_key != "" ? var.bgp_auth_key : null

bgp_ipv4 {
enabled = var.bgp_enabled_ipv4
Expand Down
5 changes: 5 additions & 0 deletions modules/cloud-router-routing-protocols/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ variable "bgp_customer_asn" {
type = string
default = ""
}
variable "bgp_auth_key" {
description = "BGP authorization key"
type = string
default = ""
}

0 comments on commit 921d8be

Please sign in to comment.