Skip to content

Commit

Permalink
refactored anycast host example (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
VishrutiBuddhadev authored Oct 30, 2024
1 parent 137e107 commit b64b24f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/resources/anycast_host.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ resource "bloxone_anycast_host" "example" {
# Adding the anycast config profile and enabling BGP routing protocol
anycast_config_refs = [
{
anycast_config_name = bloxone_anycast_config.test_onprem_hosts.name
anycast_config_name = bloxone_anycast_config.example.name
routing_protocols = ["BGP", "OSPF"]
}
]
# Adding the BGP configuration
config_bgp = {
asn = "6500"
asn_text = "6500"
holddown_secs = 180
neighbors = [
{
Expand Down
3 changes: 1 addition & 2 deletions examples/resources/bloxone_anycast_host/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ resource "bloxone_anycast_host" "example" {
# Adding the anycast config profile and enabling BGP routing protocol
anycast_config_refs = [
{
anycast_config_name = bloxone_anycast_config.test_onprem_hosts.name
anycast_config_name = bloxone_anycast_config.example.name
routing_protocols = ["BGP", "OSPF"]
}
]

# Adding the BGP configuration
config_bgp = {
asn = "6500"
asn_text = "6500"
holddown_secs = 180
neighbors = [
{
Expand Down

0 comments on commit b64b24f

Please sign in to comment.