Skip to content

Commit

Permalink
fix: removing additional_info parameters from ibm2 main.tf file
Browse files Browse the repository at this point in the history
  • Loading branch information
srushti-patl committed Nov 1, 2023
1 parent 3f4bc33 commit d82b1fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/resources/equinix_fabric_connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Optional:
- **Deprecated** `gateway` Use `router` attribute instead; (Block Set) (see [below for nested schema](#nestedblock--a_side--access_point--router))
- `router` (Block Set) Cloud Router access point information that replaces `gateway` (refers to [below for nested schema](#nestedblock--a_side--access_point--router))
- `interface` (Block Set) Virtual device interface (see [below for nested schema](#nestedblock--a_side--access_point--interface))
- `network` (Block Set) Simplified Network (see [below for nested schema](#nestedblock--a_side--access_point--network))
- `link_protocol` (Block Set) Connection link protocol (see [below for nested schema](#nestedblock--a_side--access_point--link_protocol))
- `location` (Block Set) Access point location (see [below for nested schema](#nestedblock--a_side--access_point--location))
- `peering_type` (String) Peering Type- PRIVATE,MICROSOFT,PUBLIC, MANUAL
Expand Down
6 changes: 6 additions & 0 deletions examples/fabric/v4/portConnectivity/ibm/ibm2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ At minimum, you must set below variables in `terraform.tfvars` file:
`seller_asn` - Seller ASN Number
`seller_region` - Seller Region

## Note
* You can modify the IBM side of the connection using parameters passed to additional_info field
`{"key": "Global", "value": "false"}`
`{"key": "BGP_IBM_CIDR", "value": "172.16.0.18/30"}`
`{"key": "BGP_CER_CIDR", "value": "172.16.0.19/30"}`

## IBM login

Log in to IBM portal with an account that has permission to create necessary resources.
Expand Down
2 changes: 1 addition & 1 deletion examples/fabric/v4/portConnectivity/ibm/ibm2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "equinix_fabric_connection" "ibm2" {

bandwidth = var.bandwidth

additional_info = [{key = "ASN", value = var.seller_asn }, {"key"= "Global","value" = "false"}, {"key" = "BGP_IBM_CIDR","value" = "172.16.0.18/30"},{"key" = "BGP_CER_CIDR","value" = "172.16.0.19/30"} ]
additional_info = [{key = "ASN", value = var.seller_asn }]

redundancy { priority = var.redundancy }
order {
Expand Down

0 comments on commit d82b1fd

Please sign in to comment.